Class CsmAttribute
java.lang.Object
com.github.javaparser.printer.concretesyntaxmodel.CsmAttribute
- All Implemented Interfaces:
CsmElement
-
Field Summary
Fields -
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) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.javaparser.printer.concretesyntaxmodel.CsmElement
isCorrespondingElement
-
Field Details
-
property
-
-
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
-
toString
-