Class CsmAttribute
java.lang.Object
com.github.javaparser.printer.concretesyntaxmodel.CsmAttribute
- All Implemented Interfaces:
CsmElement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getTokenType(Node node, String text, String tokenText)
Obtain the token type corresponding to the specific value of the attribute.void
prettyPrint(Node node, SourcePrinter printer)
toString()
-
Constructor Details
-
CsmAttribute
-
-
Method Details
-
getProperty
-
prettyPrint
- Specified by:
prettyPrint
in 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
-
toString
-