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 TypeMethodDescriptionboolean
int
int
hashCode()
boolean
isCorrespondingElement
(TextElement textElement) boolean
boolean
boolean
void
prettyPrint
(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:
prettyPrint
in interfaceCsmElement
-
toString
-
equals
-
hashCode
public int hashCode() -
isWhiteSpace
public boolean isWhiteSpace() -
isWhiteSpaceNotEol
public boolean isWhiteSpaceNotEol() -
isNewLine
public boolean isNewLine() -
isCorrespondingElement
- Specified by:
isCorrespondingElement
in interfaceCsmElement
-