net.jangaroo.jooc.ast
Class ConditionalLoopStatement

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
All Implemented Interfaces:
AstNode, CodeGenerator
Direct Known Subclasses:
DoStatement, ForStatement, WhileStatement

public abstract class ConditionalLoopStatement
extends LoopStatement

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
ConditionalLoopStatement(JooSymbol symLoop, Expr optCond, Statement body)
           
 
Method Summary
protected  void analyzeLoopHeader()
           
 Expr getOptCond()
           
 void scope(Scope scope)
           
 
Methods inherited from class net.jangaroo.jooc.ast.LoopStatement
analyze, analyzeLoopFooter, 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
 
Methods inherited from interface net.jangaroo.jooc.ast.AstNode
visit
 

Constructor Detail

ConditionalLoopStatement

public ConditionalLoopStatement(JooSymbol symLoop,
                                Expr optCond,
                                Statement body)
Method Detail

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

getOptCond

public Expr getOptCond()


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