Class CsmAttribute
java.lang.Object
com.github.javaparser.printer.concretesyntaxmodel.CsmAttribute
- All Implemented Interfaces:
CsmElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetTokenType(Node node, String text, String tokenText)Obtain the token type corresponding to the specific value of the attribute.voidprettyPrint(Node node, SourcePrinter printer)
-
Constructor Details
-
CsmAttribute
-
-
Method Details
-
getProperty
-
prettyPrint
- Specified by:
prettyPrintin interfaceCsmElement
-
getTokenType
Obtain the token type corresponding to the specific value of the attribute. For example, to the attribute "Operator" different token could correspond like PLUS or MINUS.- Parameters:
tokenText- Operator's token text
-