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, wait
attribute, 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, unindent
public 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 CsmElement
public boolean isWhiteSpace()
public boolean isWhiteSpaceNotEol()
public boolean isNewLine()
public boolean isCorrespondingElement(TextElement textElement)
isCorrespondingElement
in interface CsmElement
Copyright © 2007–2024. All rights reserved.