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 |
isWhiteSpace() |
void |
prettyPrint(Node node,
SourcePrinter printer) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitattribute, block, charToken, child, comma, comment, 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()
Copyright © 2007–2017. All rights reserved.