net.jangaroo.jooc.ast
Class ForInStatement
java.lang.Object
net.jangaroo.jooc.ast.NodeImplBase
net.jangaroo.jooc.ast.Directive
net.jangaroo.jooc.ast.Statement
net.jangaroo.jooc.ast.KeywordStatement
net.jangaroo.jooc.ast.LoopStatement
net.jangaroo.jooc.ast.ForInStatement
- All Implemented Interfaces:
- AstNode
public class ForInStatement
- extends LoopStatement
- Author:
- Andreas Gawecki, Frank Wienberg
|
Constructor Summary |
ForInStatement(JooSymbol symFor,
JooSymbol symEach,
JooSymbol lParen,
Expr lValue,
JooSymbol symIn,
Expr expr,
JooSymbol rParen,
Statement body)
|
ForInStatement(JooSymbol symFor,
JooSymbol symEach,
JooSymbol lParen,
VariableDeclaration decl,
JooSymbol symIn,
Expr expr,
JooSymbol rParen,
Statement body)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForInStatement
public ForInStatement(JooSymbol symFor,
JooSymbol symEach,
JooSymbol lParen,
VariableDeclaration decl,
JooSymbol symIn,
Expr expr,
JooSymbol rParen,
Statement body)
ForInStatement
public ForInStatement(JooSymbol symFor,
JooSymbol symEach,
JooSymbol lParen,
Expr lValue,
JooSymbol symIn,
Expr expr,
JooSymbol rParen,
Statement body)
getChildren
public List<? extends AstNode> getChildren()
- Specified by:
getChildren in interface AstNode- Overrides:
getChildren in class LoopStatement
getSymEach
public JooSymbol getSymEach()
getLParen
public JooSymbol getLParen()
getDecl
public VariableDeclaration getDecl()
getLValue
public Expr getLValue()
getSymIn
public JooSymbol getSymIn()
getExpr
public Expr getExpr()
getRParen
public JooSymbol getRParen()
getAuxIde
public Ide getAuxIde()
visit
public void visit(AstVisitor visitor)
throws IOException
- Throws:
IOException
scope
public void scope(Scope scope)
- Specified by:
scope in interface AstNode- Overrides:
scope in class LoopStatement
analyzeLoopHeader
protected void analyzeLoopHeader()
- Specified by:
analyzeLoopHeader in class LoopStatement
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.