public class CsmToken extends Object implements CsmElement
| Modifier and Type | Class and Description |
|---|---|
static interface |
CsmToken.TokenContentCalculator |
| Constructor and Description |
|---|
CsmToken(int tokenType) |
CsmToken(int tokenType,
CsmToken.TokenContentCalculator tokenContentCalculator) |
CsmToken(int tokenType,
String content) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getContent(Node node) |
int |
getTokenType() |
int |
hashCode() |
boolean |
isNewLine() |
boolean |
isWhiteSpace() |
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, none, orphanCommentsBeforeThis, orphanCommentsEnding, semicolon, sequence, space, string, string, stringToken, token, token, unindentpublic CsmToken(int tokenType)
public CsmToken(int tokenType,
String content)
public CsmToken(int tokenType,
CsmToken.TokenContentCalculator tokenContentCalculator)
public int getTokenType()
public void prettyPrint(Node node, SourcePrinter printer)
prettyPrint in interface CsmElementpublic boolean isWhiteSpace()
public boolean isNewLine()
Copyright © 2007–2019. All rights reserved.