public class VariableScope extends Object
Constructor and Description |
---|
VariableScope() |
VariableScope(VariableScope parent) |
public VariableScope()
public VariableScope(VariableScope parent)
public boolean isReferencedLocalVariable(String name)
public boolean isReferencedClassVariable(String name)
public VariableScope getParent()
public boolean isInStaticContext()
public void setInStaticContext(boolean inStaticContext)
public void setClassScope(ClassNode node)
public ClassNode getClassScope()
public boolean isClassScope()
public boolean isRoot()
public VariableScope copy()
public void putDeclaredVariable(Variable var)
public int getReferencedLocalVariablesCount()
public void putReferencedLocalVariable(Variable var)
public void putReferencedClassVariable(Variable var)
public Map<String,Variable> getReferencedClassVariables()