org.aspectj.compiler.base.ast
Class ScopeWalker
java.lang.Object
org.aspectj.compiler.base.CompilerObject
org.aspectj.compiler.base.ast.Walker
org.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)
|
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 |
scope
public org.aspectj.compiler.base.cst.Scope scope
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)
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()