public abstract class Statement extends AstNode
| Modifier and Type | Field and Description |
|---|---|
static Statement |
NULL |
AST_NODE_USED_FLAGS, flagsCHILD_ITERATOR| Modifier | Constructor and Description |
|---|---|
protected |
Statement(int offset) |
| Modifier and Type | Method and Description |
|---|---|
Statement |
clone() |
static Statement |
forPattern(Pattern pattern) |
Statement |
getNextStatement() |
NodeType |
getNodeType() |
int |
getOffset()
Returns the bytecode offset for 'this' expression, as computed by the Java compiler.
|
Statement |
getPreviousStatement() |
boolean |
isEmbeddable() |
acceptVisitor, addChild, contains, contains, copyUserDataFrom, freezeCore, getAncestors, getAncestors, getAncestorsAndSelf, getChildByRole, getChildren, getChildrenByRole, getDescendants, getDescendantsAndSelf, getEndLocation, getFirstChild, getLastChild, getNextNode, getNextSibling, getNextSibling, getParent, getParent, getPreviousNode, getPreviousSibling, getPreviousSibling, getRegion, getRole, getStartLocation, getText, getText, getUserData, hasChildren, insertChildAfter, insertChildBefore, insertChildrenAfter, insertChildrenBefore, isAncestorOf, isDescendantOf, isInside, isInside, isLoop, isNull, isReference, isUnconditionalBranch, match, matches, matches, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic static final Statement NULL
public NodeType getNodeType()
getNodeType in class AstNodepublic boolean isEmbeddable()
public final Statement getNextStatement()
public final Statement getPreviousStatement()
public int getOffset()