net.jangaroo.jooc
Class ScopeImplBase
java.lang.Object
net.jangaroo.jooc.ScopeImplBase
- All Implemented Interfaces:
- Scope
- Direct Known Subclasses:
- DeclarationScope, LabelScope
public abstract class ScopeImplBase
- extends Object
- implements Scope
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScopeImplBase
public ScopeImplBase(Scope parent)
getParentScope
public Scope getParentScope()
- Specified by:
getParentScope in interface Scope
addImport
public void addImport(ImportDirective importDirective)
- Specified by:
addImport in interface Scope
getDefiningNode
public AstNode getDefiningNode()
- Specified by:
getDefiningNode in interface Scope
declareIde
public IdeDeclaration declareIde(IdeDeclaration decl)
- Specified by:
declareIde in interface Scope
lookupLabel
public LabeledStatement lookupLabel(Ide ide)
- Specified by:
lookupLabel in interface Scope
lookupDeclaration
public IdeDeclaration lookupDeclaration(Ide ide)
- Specified by:
lookupDeclaration in interface Scope
isDeclared
public boolean isDeclared(Ide ide)
- Specified by:
isDeclared in interface Scope
createAuxVar
public Ide createAuxVar()
- Specified by:
createAuxVar in interface Scope
getCurrentLoop
public LoopStatement getCurrentLoop()
- Specified by:
getCurrentLoop in interface Scope
getCurrentLoopOrSwitch
public Statement getCurrentLoopOrSwitch()
- Specified by:
getCurrentLoopOrSwitch in interface Scope
getCompilationUnit
public CompilationUnit getCompilationUnit()
- Specified by:
getCompilationUnit in interface Scope
getPackageDeclaration
public PackageDeclaration getPackageDeclaration()
- Specified by:
getPackageDeclaration in interface Scope
getClassDeclaration
public ClassDeclaration getClassDeclaration()
- Specified by:
getClassDeclaration in interface Scope
getMethodDeclaration
public FunctionDeclaration getMethodDeclaration()
- Specified by:
getMethodDeclaration in interface Scope
getFunctionExpr
public FunctionExpr getFunctionExpr()
- Specified by:
getFunctionExpr in interface Scope
isPackage
public boolean isPackage(String fullyQualifiedName)
- Specified by:
isPackage in interface Scope
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.