public class ForStatement extends ConditionalLoopStatement
NodeImplBase.Scoped| Constructor and Description |
|---|
ForStatement(JooSymbol symFor,
JooSymbol lParen,
ForInitializer forInit,
JooSymbol symSemicolon1,
Expr optCond,
JooSymbol symSemicolon2,
Expr optStep,
JooSymbol rParen,
Statement body) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeLoopHeader() |
List<? extends AstNode> |
getChildren() |
ForInitializer |
getForInit() |
JooSymbol |
getLParen() |
Expr |
getOptStep() |
JooSymbol |
getRParen() |
JooSymbol |
getSymSemicolon1() |
JooSymbol |
getSymSemicolon2() |
void |
scope(Scope scope) |
void |
visit(AstVisitor visitor) |
getOptCondanalyze, analyzeLoopFooter, getBody, setBodygetSymbol, getSymKeywordisClassMember, isStatic, setClassMemberanalyze, getParentNode, makeChildren, scope, withNewDeclarationScope, withNewLabelScopepublic List<? extends AstNode> getChildren()
getChildren in interface AstNodegetChildren in class ConditionalLoopStatementpublic void visit(AstVisitor visitor) throws IOException
IOExceptionpublic void scope(Scope scope)
scope in interface AstNodescope in class ConditionalLoopStatementprotected void analyzeLoopHeader()
analyzeLoopHeader in class ConditionalLoopStatementpublic JooSymbol getLParen()
public ForInitializer getForInit()
public JooSymbol getSymSemicolon1()
public JooSymbol getSymSemicolon2()
public Expr getOptStep()
public JooSymbol getRParen()
Copyright © 2002–2015 CoreMedia AG. All rights reserved.