addVariable
public void addVariable(Variable var)
firstVar
public final Variable firstVar()
getVariable
public Variable getVariable(int index)
Return a variable the scope, by numerical index.
index
- the number of the variable
linkChild
public void linkChild(Scope parent)
Link this scope as the next child of its parent scope.
lookup
public Variable lookup(String name)
Search by name for a Variable in this Scope (only).
name
- name to search for
- the Variable, or null if not found (in this scope).
setStartPC
public void setStartPC(CodeAttr code)