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 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()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.javaparser.printer.concretesyntaxmodel.CsmElement
isCorrespondingElement
-
Field Details
-
property
-
-
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
-