public interface Scope
| Modifier and Type | Method and Description |
|---|---|
void |
addImport(ImportDirective importDirective) |
Ide |
createAuxVar(Scope lookupScope) |
IdeDeclaration |
declareIde(IdeDeclaration decl) |
Ide |
findFreeAuxVar() |
ClassDeclaration |
getClassDeclaration() |
CompilationUnit |
getCompilationUnit() |
LoopStatement |
getCurrentLoop() |
Statement |
getCurrentLoopOrSwitch() |
AstNode |
getDefiningNode() |
FunctionExpr |
getFunctionExpr() |
FunctionDeclaration |
getMethodDeclaration() |
PackageDeclaration |
getPackageDeclaration() |
DeclarationScope |
getPackageDeclarationScope() |
Scope |
getParentScope() |
boolean |
isDeclared(Ide ide) |
boolean |
isPackage(String fullyQualifiedName) |
IdeDeclaration |
lookupDeclaration(Ide ide) |
IdeDeclaration |
lookupDeclaration(Ide ide,
boolean failOnAmbigousImport) |
LabeledStatement |
lookupLabel(Ide ide) |
AstNode getDefiningNode()
Scope getParentScope()
void addImport(ImportDirective importDirective)
IdeDeclaration declareIde(IdeDeclaration decl)
LabeledStatement lookupLabel(Ide ide)
IdeDeclaration lookupDeclaration(Ide ide)
IdeDeclaration lookupDeclaration(Ide ide, boolean failOnAmbigousImport)
boolean isDeclared(Ide ide)
LoopStatement getCurrentLoop()
Statement getCurrentLoopOrSwitch()
CompilationUnit getCompilationUnit()
PackageDeclaration getPackageDeclaration()
ClassDeclaration getClassDeclaration()
FunctionDeclaration getMethodDeclaration()
FunctionExpr getFunctionExpr()
boolean isPackage(String fullyQualifiedName)
Ide findFreeAuxVar()
DeclarationScope getPackageDeclarationScope()
Copyright © 2002–2015 CoreMedia AG. All rights reserved.