public class CatchAllStatement extends JavaNonTerminalProgramElement implements Statement, NonTerminalProgramElement, StatementContainer
| Modifier and Type | Field and Description | 
|---|---|
private StatementBlock | 
body  | 
private LocationVariable | 
param  | 
| Constructor and Description | 
|---|
CatchAllStatement(ExtList children)  | 
CatchAllStatement(StatementBlock body,
                 LocationVariable param)  | 
| Modifier and Type | Method and Description | 
|---|---|
Statement | 
getBody()  | 
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. 
 | 
LocationVariable | 
getParam()  | 
Statement | 
getStatementAt(int i)  | 
int | 
getStatementCount()
Get the number of statements in this container. 
 | 
void | 
prettyPrint(PrettyPrinter p)
Pretty printing the source element. 
 | 
void | 
visit(Visitor v)
calls the corresponding method of a visitor in order to
 perform some action/transformation on this element 
 | 
compatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildrengetComments, hashCode, 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, getStartPositionprivate StatementBlock body
private LocationVariable param
public CatchAllStatement(StatementBlock body, LocationVariable param)
public CatchAllStatement(ExtList children)
public Statement getBody()
public LocationVariable getParam()
public int getChildCount()
getChildCount in interface NonTerminalProgramElementpublic Statement getStatementAt(int i)
getStatementAt in interface StatementContainerpublic int getStatementCount()
StatementContainergetStatementCount in interface StatementContainerpublic ProgramElement getChildAt(int index)
getChildAt in interface NonTerminalProgramElementindex - an index into this node's "virtual" child arrayjava.lang.ArrayIndexOutOfBoundsException - if index is out
                 of boundspublic void visit(Visitor v)
visit in interface SourceElementv - the Visitorpublic void prettyPrint(PrettyPrinter p) throws java.io.IOException
JavaSourceElementprettyPrint in interface SourceElementprettyPrint in class JavaProgramElementp - a pretty printer.java.io.IOException - occasionally thrown.