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