Package net.jangaroo.jooc
Interface Scope
-
- All Known Implementing Classes:
AbstractScope,DeclarationScope,LabelScope
public interface Scope
-
-
Method Summary
-
-
-
Method Detail
-
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)
-
lookupDeclaration
IdeDeclaration lookupDeclaration(Ide ide, boolean failOnAmbigousImport)
-
isDeclared
boolean isDeclared(Ide ide)
-
createAuxVar
Ide createAuxVar(String preferredName)
Preferred name must be a valid AS identifier!- See Also:
Ide.IDE_PATTERN
-
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)
-
getPackageDeclarationScope
DeclarationScope getPackageDeclarationScope()
-
getCompiler
JangarooParser getCompiler()
-
getClassDeclaration
ClassDeclaration getClassDeclaration(String qname)
-
getExpressionType
ExpressionType getExpressionType(net.jangaroo.utils.AS3Type as3Type)
-
getFunctionSignature
FunctionSignature getFunctionSignature(MethodType methodType, Parameters params, ExpressionType returnType)
-
getExpressionType
ExpressionType getExpressionType(TypeRelation typeRelation)
-
getExpressionType
ExpressionType getExpressionType(IdeDeclaration declaration)
-
-