net.jangaroo.jooc.ast
Class LabelScope

java.lang.Object
  extended by net.jangaroo.jooc.ScopeImplBase
      extended by net.jangaroo.jooc.ast.LabelScope
All Implemented Interfaces:
Scope

public class LabelScope
extends ScopeImplBase


Constructor Summary
LabelScope(Statement statement, Scope parent)
           
 
Method Summary
 LoopStatement getCurrentLoop()
           
 Statement getCurrentLoopOrSwitch()
           
 LabeledStatement lookupLabel(Ide ide)
           
 
Methods inherited from class net.jangaroo.jooc.ScopeImplBase
addImport, createAuxVar, declareIde, findFreeAuxVar, getClassDeclaration, getCompilationUnit, getDefiningNode, getFunctionExpr, getMethodDeclaration, getPackageDeclaration, getPackageDeclarationScope, getParentScope, isDeclared, isPackage, lookupDeclaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelScope

public LabelScope(Statement statement,
                  Scope parent)
Method Detail

lookupLabel

public LabeledStatement lookupLabel(Ide ide)
Specified by:
lookupLabel in interface Scope
Overrides:
lookupLabel in class ScopeImplBase

getCurrentLoop

public LoopStatement getCurrentLoop()
Specified by:
getCurrentLoop in interface Scope
Overrides:
getCurrentLoop in class ScopeImplBase

getCurrentLoopOrSwitch

public Statement getCurrentLoopOrSwitch()
Specified by:
getCurrentLoopOrSwitch in interface Scope
Overrides:
getCurrentLoopOrSwitch in class ScopeImplBase


Copyright © 2002–2014 CoreMedia AG. All rights reserved.