net.jangaroo.jooc.ast
Class DoStatement

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Directive
          extended by net.jangaroo.jooc.ast.Statement
              extended by net.jangaroo.jooc.ast.KeywordStatement
                  extended by net.jangaroo.jooc.ast.LoopStatement
                      extended by net.jangaroo.jooc.ast.ConditionalLoopStatement
                          extended by net.jangaroo.jooc.ast.DoStatement
All Implemented Interfaces:
AstNode, CodeGenerator

public class DoStatement
extends ConditionalLoopStatement

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
DoStatement(JooSymbol symDo, Statement statement, JooSymbol symWhile, ParenthesizedExpr cond, JooSymbol symSemicolon)
           
 
Method Summary
protected  void analyzeLoopFooter()
           
protected  void analyzeLoopHeader()
           
 JooSymbol getSymSemicolon()
           
 JooSymbol getSymWhile()
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.ConditionalLoopStatement
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, generate, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
analyzeLoopHeader in class ConditionalLoopStatement

analyzeLoopFooter

protected void analyzeLoopFooter()
Overrides:
analyzeLoopFooter in class LoopStatement

getSymWhile

public JooSymbol getSymWhile()

getSymSemicolon

public JooSymbol getSymSemicolon()


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.