public class TokenTextElement extends TextElement
| Modifier and Type | Method and Description |
|---|---|
void |
accept(LexicalPreservingVisitor visitor) |
boolean |
equals(Object o) |
String |
expand() |
String |
getText() |
JavaToken |
getToken() |
int |
getTokenKind() |
int |
hashCode() |
boolean |
isChildOfClass(Class<? extends Node> nodeClass)
Is this TextElement representing a child of the given class?
|
boolean |
isComment() |
boolean |
isIdentifier() |
boolean |
isKeyword() |
boolean |
isLiteral() |
boolean |
isNewline() |
boolean |
isPrimitive() |
boolean |
isSeparator() |
boolean |
isSpaceOrTab() |
boolean |
isWhiteSpace() |
String |
toString() |
isChild, isWhiteSpaceOrComment, matchclone, finalize, getClass, notify, notifyAll, wait, wait, waitandpublic String expand()
public String getText()
public int getTokenKind()
public JavaToken getToken()
public boolean isWhiteSpace()
isWhiteSpace in class TextElementpublic boolean isSpaceOrTab()
isSpaceOrTab in class TextElementpublic boolean isComment()
isComment in class TextElementpublic boolean isSeparator()
isSeparator in class TextElementpublic boolean isNewline()
isNewline in class TextElementpublic boolean isChildOfClass(Class<? extends Node> nodeClass)
TextElementisChildOfClass in class TextElementpublic boolean isIdentifier()
isIdentifier in class TextElementpublic boolean isKeyword()
isKeyword in class TextElementpublic boolean isLiteral()
isLiteral in class TextElementpublic boolean isPrimitive()
isPrimitive in class TextElementpublic void accept(LexicalPreservingVisitor visitor)
Copyright © 2007–2025. All rights reserved.