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, wait
attribute, 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, unindent
public 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 CsmElement
public boolean isWhiteSpace()
public boolean isNewLine()
Copyright © 2007–2018. All rights reserved.