Package net.jangaroo.jooc.ast
Class DoStatement
-
- All Implemented Interfaces:
AstNode
public class DoStatement extends ConditionalLoopStatement
- Author:
- Andreas Gawecki
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
-
-
Field Summary
-
Fields inherited from class net.jangaroo.jooc.ast.NodeImplBase
usesInstanceThis
-
-
Constructor Summary
Constructors Constructor Description DoStatement(JooSymbol symDo, Statement statement, JooSymbol symWhile, ParenthesizedExpr cond, JooSymbol symSemicolon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidanalyzeLoopFooter()protected voidanalyzeLoopHeader()JooSymbolgetSymSemicolon()JooSymbolgetSymWhile()voidvisit(AstVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.ast.ConditionalLoopStatement
getChildren, getOptCond, scope
-
Methods inherited from class net.jangaroo.jooc.ast.LoopStatement
analyze, getBody, setBody
-
Methods inherited from class net.jangaroo.jooc.ast.KeywordStatement
getSymbol, getSymKeyword
-
Methods inherited from class net.jangaroo.jooc.ast.Directive
isClassMember, isStatic, setClassMember
-
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, isAssignmentLHS, makeChildren, notifyInstanceThisUsed, propagateInstanceThisUsed, scope, usesInstanceThis, withNewDeclarationScope, withNewLabelScope
-
-
-
-
Constructor Detail
-
DoStatement
public DoStatement(JooSymbol symDo, Statement statement, JooSymbol symWhile, ParenthesizedExpr cond, JooSymbol symSemicolon)
-
-
Method Detail
-
visit
public void visit(AstVisitor visitor) throws IOException
- Throws:
IOException
-
analyzeLoopHeader
protected void analyzeLoopHeader()
- Overrides:
analyzeLoopHeaderin classConditionalLoopStatement
-
analyzeLoopFooter
protected void analyzeLoopFooter()
- Overrides:
analyzeLoopFooterin classLoopStatement
-
getSymWhile
public JooSymbol getSymWhile()
-
getSymSemicolon
public JooSymbol getSymSemicolon()
-
-