- getParent
Returns this node's parent node, or null if this is the root node. Note that the
relationship betwee
- getStartPosition
Returns the character index into the original source file indicating where the
source fragment corre
- getLength
Returns the length in characters of the original source file indicating where
the source fragment co
- getNodeType
Returns an integer value identifying the type of this concrete AST node. The
values are small positi
- accept
Accepts the given visitor on a visit of the current node.
- copySubtree
Returns a deep copy of the subtree of AST nodes rooted at the given node. The
resulting nodes are ow
- getRoot
Returns the root node at or above this node; returns this node if it is a root.
- toString
Returns a string representation of this node suitable for debugging purposes
only.
- getAST
Returns this node's AST. Note that the relationship between an AST node and its
owing AST does not c
- getLocationInParent
Returns the location of this node within its parent, or null if this is a root
node.
ASTNode node =
- getStructuralProperty
Returns the value of the given structural property for this node. The value
returned depends on the
- equals
The ASTNode implementation of this Object method uses object identity (==). Use
subtreeMatch to com