public final class ForeachStmt extends Statement
| Constructor and Description | 
|---|
| ForeachStmt() | 
| ForeachStmt(int beginLine,
           int beginColumn,
           int endLine,
           int endColumn,
           VariableDeclarationExpr var,
           Expression iterable,
           Statement body) | 
| ForeachStmt(VariableDeclarationExpr var,
           Expression iterable,
           Statement body) | 
| Modifier and Type | Method and Description | 
|---|---|
| <R,A> R | accept(GenericVisitor<R,A> v,
      A arg)Accept method for visitor support. | 
| <A> void | accept(VoidVisitor<A> v,
      A arg)Accept method for visitor support. | 
| Statement | getBody() | 
| Expression | getIterable() | 
| VariableDeclarationExpr | getVariable() | 
| void | setBody(Statement body) | 
| void | setIterable(Expression iterable) | 
| void | setVariable(VariableDeclarationExpr var) | 
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toStringpublic ForeachStmt()
public ForeachStmt(VariableDeclarationExpr var, Expression iterable, Statement body)
public ForeachStmt(int beginLine,
                   int beginColumn,
                   int endLine,
                   int endColumn,
                   VariableDeclarationExpr var,
                   Expression iterable,
                   Statement body)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic Statement getBody()
public Expression getIterable()
public VariableDeclarationExpr getVariable()
public void setBody(Statement body)
public void setIterable(Expression iterable)
public void setVariable(VariableDeclarationExpr var)