public abstract class ExpressionJumpStatement extends JumpStatement implements ExpressionContainer
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
expression
Expression.
|
| Constructor and Description |
|---|
ExpressionJumpStatement()
Expression jump statement.
|
ExpressionJumpStatement(Expression expr)
Expression jump statement.
|
ExpressionJumpStatement(ExtList children)
Expression jump statement.
|
| Modifier and Type | Method and Description |
|---|---|
ProgramElement |
getChildAt(int index)
Returns the child at the specified index in this node's "virtual"
child array
|
int |
getChildCount()
Returns the number of children of this node.
|
Expression |
getExpression()
Get expression.
|
Expression |
getExpressionAt(int index)
Return the expression at the specified index in this node's
"virtual" expression array.
|
int |
getExpressionCount()
Get the number of expressions in this container.
|
compatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildrengetComments, hashCode, prettyPrint, prettyPrintMain, reuseSignaturegetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComments, matchequalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPosition, prettyPrint, visitprotected final Expression expression
public ExpressionJumpStatement(ExtList children)
public ExpressionJumpStatement()
public ExpressionJumpStatement(Expression expr)
expr - an Expression used to jumppublic int getExpressionCount()
getExpressionCount in interface ExpressionContainerpublic Expression getExpressionAt(int index)
getExpressionAt in interface ExpressionContainerindex - an index for an expression.java.lang.ArrayIndexOutOfBoundsException - if index is out
of bounds.public Expression getExpression()
public int getChildCount()
getChildCount in interface NonTerminalProgramElementpublic ProgramElement getChildAt(int index)
getChildAt in interface NonTerminalProgramElementindex - an index into this node's "virtual" child arrayjava.lang.ArrayIndexOutOfBoundsException - if index is out
of bounds