| |
|
| de.uka.ilkd.key.java.statement.BranchImp de.uka.ilkd.key.java.statement.Else
Constructor Summary | |
public | Else(ExtList children) Constructor for the transformation of COMPOST ASTs to KeY. | public | Else(Statement body) Constructor for the transformation of COMPOST ASTs to KeY. |
Else | public Else(ExtList children)(Code) | | Constructor for the transformation of COMPOST ASTs to KeY.
Parameters: children - the children of this AST element as KeY classes.May contain: a Body (as body of Else), Comments |
Else | public Else(Statement body)(Code) | | Constructor for the transformation of COMPOST ASTs to KeY.
Parameters: body - Statement that is the body of the else part |
getBody | public Statement getBody()(Code) | | The body may be empty (null), to define a fall-through.
Attaching an
EmptyStatement would create a single ";".
|
getChildAt | public ProgramElement getChildAt(int index)(Code) | | Returns the child at the specified index in this node's "virtual"
child array
Parameters: index - an index into this node's "virtual" child array the program element at the given position exception: ArrayIndexOutOfBoundsException - if index is outof bounds |
getChildCount | public int getChildCount()(Code) | | Returns the number of children of this node.
an int giving the number of children of this node |
getStatementCount | public int getStatementCount()(Code) | | Get the number of statements in this container.
the number of statements. |
visit | public void visit(Visitor v)(Code) | | calls the corresponding method of a visitor in order to
perform some action/transformation on this element
Parameters: v - the Visitor |
|
|
|