public class ChildTextElement extends TextElement
| Modifier and Type | Method and Description |
|---|---|
void |
accept(LexicalPreservingVisitor visitor) |
boolean |
equals(Object o) |
String |
expand() |
Node |
getChild() |
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 |
isNode(Node node) |
boolean |
isPrimitive() |
boolean |
isSeparator() |
boolean |
isSpaceOrTab() |
boolean |
isToken(int tokenKind) |
boolean |
isWhiteSpace() |
String |
toString() |
isChild, isWhiteSpaceOrComment, matchclone, finalize, getClass, notify, notifyAll, wait, wait, waitandpublic String expand()
public Node getChild()
public boolean isToken(int tokenKind)
public boolean isNode(Node node)
public boolean isWhiteSpace()
isWhiteSpace in class TextElementpublic boolean isSpaceOrTab()
isSpaceOrTab in class TextElementpublic boolean isNewline()
isNewline in class TextElementpublic boolean isComment()
isComment in class TextElementpublic boolean isSeparator()
isSeparator in class TextElementpublic boolean isIdentifier()
isIdentifier in class TextElementpublic boolean isKeyword()
isKeyword in class TextElementpublic boolean isPrimitive()
isPrimitive in class TextElementpublic boolean isLiteral()
isLiteral in class TextElementpublic boolean isChildOfClass(Class<? extends Node> nodeClass)
TextElementisChildOfClass in class TextElementpublic void accept(LexicalPreservingVisitor visitor)
Copyright © 2007–2025. All rights reserved.