net.jangaroo.jooc.ast
Class ForStatement
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.ConditionalLoopStatement
net.jangaroo.jooc.ast.ForStatement
- All Implemented Interfaces:
- AstNode
public class ForStatement
- extends ConditionalLoopStatement
- Author:
- Andreas Gawecki
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForStatement
public ForStatement(JooSymbol symFor,
JooSymbol lParen,
ForInitializer forInit,
JooSymbol symSemicolon1,
Expr optCond,
JooSymbol symSemicolon2,
Expr optStep,
JooSymbol rParen,
Statement body)
getChildren
public List<? extends AstNode> getChildren()
- Specified by:
getChildren in interface AstNode- Overrides:
getChildren in class ConditionalLoopStatement
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 ConditionalLoopStatement
analyzeLoopHeader
protected void analyzeLoopHeader()
- Overrides:
analyzeLoopHeader in class ConditionalLoopStatement
getLParen
public JooSymbol getLParen()
getForInit
public ForInitializer getForInit()
getSymSemicolon1
public JooSymbol getSymSemicolon1()
getSymSemicolon2
public JooSymbol getSymSemicolon2()
getOptStep
public Expr getOptStep()
getRParen
public JooSymbol getRParen()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.