Class CsmToken
java.lang.Object
com.github.javaparser.printer.concretesyntaxmodel.CsmToken
- All Implemented Interfaces:
CsmElement
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCsmToken(int tokenType)CsmToken(int tokenType, CsmToken.TokenContentCalculator tokenContentCalculator) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetContent(Node node)intinthashCode()booleanbooleanvoidprettyPrint(Node node, SourcePrinter printer)toString()
-
Constructor Details
-
CsmToken
public CsmToken(int tokenType) -
CsmToken
-
CsmToken
-
-
Method Details
-
getTokenType
public int getTokenType() -
getContent
-
prettyPrint
- Specified by:
prettyPrintin interfaceCsmElement
-
toString
-
equals
-
hashCode
public int hashCode() -
isWhiteSpace
public boolean isWhiteSpace() -
isNewLine
public boolean isNewLine()
-