org.aspectj.compiler.base.ast
Class ScopeWalker

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.Walker
          extended byorg.aspectj.compiler.base.ast.ScopeWalker

public class ScopeWalker
extends Walker


Field Summary
 org.aspectj.compiler.base.cst.Scope scope
           
 
Constructor Summary
ScopeWalker(org.aspectj.compiler.base.JavaCompiler compiler)
           
ScopeWalker(org.aspectj.compiler.base.JavaCompiler compiler, org.aspectj.compiler.base.cst.Scope initialScope)
           
 
Method Summary
 void addMethodDec(MethodDec methodDec)
           
 void addTypeDec(TypeDec typeDec)
           
 void addVarDec(VarDec varDec)
           
static void bindNames(ASTObject node, org.aspectj.compiler.base.cst.Scope topScope)
           
 void enterCU(CompilationUnit cu)
           
 org.aspectj.compiler.base.cst.Scope getScope()
           
 void popBlock()
          exit a }
 void popScope()
           
 ASTObject process(ASTObject object)
           
 void pushBlock()
          enter a {
 void pushBlockScope()
           
 void pushScope(org.aspectj.compiler.base.cst.Scope newScope)
           
 void setWalkBodies(boolean b)
           
 boolean useJavaScopes()
           
 boolean walkBodies()
           
 boolean walkSignatures()
           
 
Methods inherited from class org.aspectj.compiler.base.ast.Walker
postProcess, preProcess
 
Methods inherited from class org.aspectj.compiler.base.CompilerObject
getAST, getCompiler, getOptions, getTypeManager, getWorld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scope

public org.aspectj.compiler.base.cst.Scope scope
Constructor Detail

ScopeWalker

public ScopeWalker(org.aspectj.compiler.base.JavaCompiler compiler)

ScopeWalker

public ScopeWalker(org.aspectj.compiler.base.JavaCompiler compiler,
                   org.aspectj.compiler.base.cst.Scope initialScope)
Method Detail

bindNames

public static void bindNames(ASTObject node,
                             org.aspectj.compiler.base.cst.Scope topScope)

enterCU

public void enterCU(CompilationUnit cu)

getScope

public org.aspectj.compiler.base.cst.Scope getScope()

pushBlockScope

public void pushBlockScope()

pushScope

public void pushScope(org.aspectj.compiler.base.cst.Scope newScope)

popScope

public void popScope()

pushBlock

public void pushBlock()
enter a {


popBlock

public void popBlock()
exit a }


addVarDec

public void addVarDec(VarDec varDec)

addTypeDec

public void addTypeDec(TypeDec typeDec)

addMethodDec

public void addMethodDec(MethodDec methodDec)

process

public ASTObject process(ASTObject object)
Overrides:
process in class Walker

walkBodies

public boolean walkBodies()

setWalkBodies

public void setWalkBodies(boolean b)

walkSignatures

public boolean walkSignatures()

useJavaScopes

public boolean useJavaScopes()