net.jangaroo.jooc
Interface Scope

All Known Implementing Classes:
LabelScope, ScopeImplBase

public interface Scope


Method Summary
 void addImport(ImportDirective importDirective)
           
 Ide createAuxVar()
           
 IdeDeclaration declareIde(IdeDeclaration decl)
           
 ClassDeclaration getClassDeclaration()
           
 CompilationUnit getCompilationUnit()
           
 net.jangaroo.jooc.LoopStatement getCurrentLoop()
           
 net.jangaroo.jooc.Statement getCurrentLoopOrSwitch()
           
 net.jangaroo.jooc.AstNode getDefiningNode()
           
 net.jangaroo.jooc.FunctionExpr getFunctionExpr()
           
 FunctionDeclaration getMethodDeclaration()
           
 PackageDeclaration getPackageDeclaration()
           
 Scope getParentScope()
           
 boolean isDeclared(Ide ide)
           
 boolean isPackage(java.lang.String fullyQualifiedName)
           
 IdeDeclaration lookupDeclaration(Ide ide)
           
 net.jangaroo.jooc.LabeledStatement lookupLabel(Ide ide)
           
 

Method Detail

getDefiningNode

net.jangaroo.jooc.AstNode getDefiningNode()

getParentScope

Scope getParentScope()

addImport

void addImport(ImportDirective importDirective)

declareIde

IdeDeclaration declareIde(IdeDeclaration decl)

lookupLabel

net.jangaroo.jooc.LabeledStatement lookupLabel(Ide ide)

lookupDeclaration

IdeDeclaration lookupDeclaration(Ide ide)

isDeclared

boolean isDeclared(Ide ide)

createAuxVar

Ide createAuxVar()

getCurrentLoop

net.jangaroo.jooc.LoopStatement getCurrentLoop()

getCurrentLoopOrSwitch

net.jangaroo.jooc.Statement getCurrentLoopOrSwitch()

getCompilationUnit

CompilationUnit getCompilationUnit()

getPackageDeclaration

PackageDeclaration getPackageDeclaration()

getClassDeclaration

ClassDeclaration getClassDeclaration()

getMethodDeclaration

FunctionDeclaration getMethodDeclaration()

getFunctionExpr

net.jangaroo.jooc.FunctionExpr getFunctionExpr()

isPackage

boolean isPackage(java.lang.String fullyQualifiedName)


Copyright © 2002-2010 CoreMedia AG. All Rights Reserved.