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()
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)
Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.