Class CsmToken
java.lang.Object
com.github.javaparser.printer.concretesyntaxmodel.CsmToken
- All Implemented Interfaces:
CsmElement
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private CsmToken.TokenContentCalculator
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionCsmToken
(int tokenType) CsmToken
(int tokenType, CsmToken.TokenContentCalculator tokenContentCalculator) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getContent
(Node node) int
int
hashCode()
boolean
boolean
boolean
void
prettyPrint
(Node node, SourcePrinter printer) toString()
-
Field Details
-
tokenType
private final int tokenType -
-
tokenContentCalculator
-
-
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() -
isWhiteSpaceNotEol
public boolean isWhiteSpaceNotEol() -
isNewLine
public boolean isNewLine()
-