public class LoopInit extends JavaNonTerminalProgramElement implements StatementContainer, ILoopInit
| Modifier and Type | Field and Description | 
|---|---|
(package private) ImmutableArray<LoopInitializer> | 
inits  | 
| Constructor and Description | 
|---|
LoopInit(ExtList ups,
        PositionInfo pos)  | 
LoopInit(ImmutableArray<LoopInitializer> exprarr)  | 
LoopInit(LoopInitializer[] exprarr)  | 
| 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. 
 | 
ImmutableArray<LoopInitializer> | 
getInits()  | 
Statement | 
getStatementAt(int index)  | 
int | 
getStatementCount()
Get the number of statements in this container. 
 | 
int | 
size()  | 
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, 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, prettyPrintImmutableArray<LoopInitializer> inits
public LoopInit(ImmutableArray<LoopInitializer> exprarr)
public LoopInit(LoopInitializer[] exprarr)
public LoopInit(ExtList ups, PositionInfo pos)
public int getStatementCount()
getStatementCount in interface StatementContainerpublic Statement getStatementAt(int index)
getStatementAt in interface StatementContainerpublic ImmutableArray<LoopInitializer> getInits()
public void visit(Visitor v)
SourceElementvisit in interface SourceElementv - the Visitorpublic int getChildCount()
NonTerminalProgramElementgetChildCount in interface NonTerminalProgramElementpublic ProgramElement getChildAt(int index)
NonTerminalProgramElementgetChildAt in interface NonTerminalProgramElementindex - an index into this node's "virtual" child array