pt.compiler.parser.ast.stmt
Class ForeachStmt
java.lang.Object
pt.compiler.parser.ast.Node
pt.compiler.parser.ast.stmt.Statement
pt.compiler.parser.ast.stmt.ForeachStmt
public final class ForeachStmt
- extends Statement
- Author:
- Julio Vilmar Gesser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ForeachStmt
public ForeachStmt(int line,
int column,
VariableDeclarationExpr var,
Expression iterable,
Statement body)
getVariable
public VariableDeclarationExpr getVariable()
getIterable
public Expression getIterable()
getBody
public Statement getBody()
accept
public <A> void accept(VoidVisitor<A> v,
A arg)
- Overrides:
accept
in class Node
accept
public <R,A> R accept(GenericVisitor<R,A> v,
A arg)
- Overrides:
accept
in class Node