Class CsmToken
java.lang.Object
com.github.javaparser.printer.concretesyntaxmodel.CsmToken
- All Implemented Interfaces:
CsmElement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintinthashCode()booleanisCorrespondingElement(TextElement textElement) booleanbooleanbooleanvoidprettyPrint(Node node, SourcePrinter printer) toString()
-
Field Details
-
tokenType
private final int tokenType -
-
-
Constructor Details
-
CsmToken
public CsmToken(int tokenType) -
CsmToken
-
-
Method Details
-
getTokenType
public int getTokenType() -
getContent
-
prettyPrint
- Specified by:
prettyPrintin interfaceCsmElement
-
toString
-
equals
-
hashCode
public int hashCode() -
isWhiteSpace
public boolean isWhiteSpace() -
isWhiteSpaceNotEol
public boolean isWhiteSpaceNotEol() -
isNewLine
public boolean isNewLine() -
isCorrespondingElement
- Specified by:
isCorrespondingElementin interfaceCsmElement
-