public class CsmToken extends Object implements CsmElement
| Constructor and Description |
|---|
CsmToken(int tokenType) |
CsmToken(int tokenType,
String content) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getContent() |
int |
getTokenType() |
int |
hashCode() |
boolean |
isCorrespondingElement(TextElement textElement) |
boolean |
isNewLine() |
boolean |
isWhiteSpace() |
boolean |
isWhiteSpaceNotEol() |
void |
prettyPrint(Node node,
SourcePrinter printer) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitattribute, block, charToken, child, comma, comment, conditional, conditional, conditional, indent, list, list, list, list, newline, newline, none, orphanCommentsBeforeThis, orphanCommentsEnding, semicolon, sequence, space, string, string, stringToken, textBlockToken, token, unindentpublic CsmToken(int tokenType)
public CsmToken(int tokenType,
String content)
public int getTokenType()
public String getContent()
public void prettyPrint(Node node, SourcePrinter printer)
prettyPrint in interface CsmElementpublic boolean isWhiteSpace()
public boolean isWhiteSpaceNotEol()
public boolean isNewLine()
public boolean isCorrespondingElement(TextElement textElement)
isCorrespondingElement in interface CsmElementCopyright © 2007–2024. All rights reserved.