| Modifier and Type | Field and Description |
|---|---|
static Identifier |
NULL |
AST_NODE_USED_FLAGS, flagsCHILD_ITERATOR| Modifier | Constructor and Description |
|---|---|
protected |
Identifier(java.lang.String name,
TextLocation location) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
static Identifier |
create(java.lang.String name) |
static Identifier |
create(java.lang.String name,
TextLocation location) |
TextLocation |
getEndLocation() |
java.lang.String |
getName() |
NodeType |
getNodeType() |
TextLocation |
getStartLocation() |
boolean |
matches(INode other,
Match match) |
void |
setName(java.lang.String name) |
void |
setStartLocation(TextLocation startLocation) |
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, 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 static final Identifier NULL
protected Identifier(java.lang.String name,
TextLocation location)
public final java.lang.String getName()
public final void setName(java.lang.String name)
public TextLocation getStartLocation()
getStartLocation in class AstNodepublic void setStartLocation(TextLocation startLocation)
public TextLocation getEndLocation()
getEndLocation in class AstNodepublic <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class AstNodepublic NodeType getNodeType()
getNodeType in class AstNodepublic static Identifier create(java.lang.String name)
public static Identifier create(java.lang.String name, TextLocation location)