net.jangaroo.jooc
Interface Scope
- All Known Implementing Classes:
- DeclarationScope, LabelScope, ScopeImplBase
public interface Scope
getDefiningNode
AstNode getDefiningNode()
getParentScope
Scope getParentScope()
addImport
void addImport(ImportDirective importDirective)
declareIde
IdeDeclaration declareIde(IdeDeclaration decl)
lookupLabel
LabeledStatement lookupLabel(Ide ide)
lookupDeclaration
IdeDeclaration lookupDeclaration(Ide ide)
isDeclared
boolean isDeclared(Ide ide)
createAuxVar
Ide createAuxVar(Scope lookupScope)
getCurrentLoop
LoopStatement getCurrentLoop()
getCurrentLoopOrSwitch
Statement getCurrentLoopOrSwitch()
getCompilationUnit
CompilationUnit getCompilationUnit()
getPackageDeclaration
PackageDeclaration getPackageDeclaration()
getClassDeclaration
ClassDeclaration getClassDeclaration()
getMethodDeclaration
FunctionDeclaration getMethodDeclaration()
getFunctionExpr
FunctionExpr getFunctionExpr()
isPackage
boolean isPackage(String fullyQualifiedName)
findFreeAuxVar
Ide findFreeAuxVar()
getPackageDeclarationScope
DeclarationScope getPackageDeclarationScope()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.