AST_NODE_USED_FLAGS, flags, NULLCHILD_ITERATOR| Constructor and Description |
|---|
TextNode() |
TextNode(java.lang.String text) |
TextNode(java.lang.String text,
TextLocation startLocation,
TextLocation endLocation) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
TextLocation |
getEndLocation() |
NodeType |
getNodeType() |
TextLocation |
getStartLocation() |
java.lang.String |
getText() |
boolean |
matches(INode other,
Match match) |
void |
setEndLocation(TextLocation endLocation) |
void |
setStartLocation(TextLocation startLocation) |
void |
setText(java.lang.String text) |
addChild, clone, contains, contains, copyUserDataFrom, forPattern, freezeCore, getAncestors, getAncestors, getAncestorsAndSelf, getChildByRole, getChildren, getChildrenByRole, getDescendants, getDescendantsAndSelf, getFirstChild, getLastChild, getNextNode, getNextSibling, getNextSibling, getParent, getParent, getPreviousNode, getPreviousSibling, getPreviousSibling, getRegion, getRole, getText, getUserData, hasChildren, insertChildAfter, insertChildBefore, insertChildrenAfter, insertChildrenBefore, isAncestorOf, isDescendantOf, isInside, isInside, isLoop, isNull, isReference, isUnconditionalBranch, match, matches, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic TextNode()
public TextNode(java.lang.String text)
public TextNode(java.lang.String text,
TextLocation startLocation,
TextLocation endLocation)
public final void setText(java.lang.String text)
public final TextLocation getStartLocation()
getStartLocation in class AstNodepublic final void setStartLocation(TextLocation startLocation)
public final TextLocation getEndLocation()
getEndLocation in class AstNodepublic final void setEndLocation(TextLocation endLocation)
public <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class AstNodepublic NodeType getNodeType()
getNodeType in class AstNode