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, match
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and
public String expand()
public Node getChild()
public boolean isToken(int tokenKind)
public boolean isNode(Node node)
public boolean isWhiteSpace()
isWhiteSpace
in class TextElement
public boolean isSpaceOrTab()
isSpaceOrTab
in class TextElement
public boolean isNewline()
isNewline
in class TextElement
public boolean isComment()
isComment
in class TextElement
public boolean isSeparator()
isSeparator
in class TextElement
public boolean isIdentifier()
isIdentifier
in class TextElement
public boolean isKeyword()
isKeyword
in class TextElement
public boolean isPrimitive()
isPrimitive
in class TextElement
public boolean isLiteral()
isLiteral
in class TextElement
public boolean isChildOfClass(Class<? extends Node> nodeClass)
TextElement
isChildOfClass
in class TextElement
public void accept(LexicalPreservingVisitor visitor)
Copyright © 2007–2024. All rights reserved.