| Modifier and Type | Field and Description |
|---|---|
| private ClassNode | |
| private Map | |
| private boolean | |
| private VariableScope | |
| private Map | |
| private Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public VariableScope | |
| public ClassNode | getClassScope()
Non-null iff this scope corresponds to a class; as opposed to a method, "if" statement, block statement, etc. |
| public Variable | |
| public Map | Returns: a map containing the declared variable referencesGets a map containing the variables declared in this scope. |
| public Iterator | Returns: an iterator for the declared variablesGets an iterator for the declared class variables. |
| public VariableScope | |
| public Variable | |
| public Map | Returns: a map containing the class variable referencesGets a map containing the class variables referenced by this scope. |
| public Iterator | Returns: an iterator for the referenced class variablesGets an iterator for the referenced class variables. |
| public Variable | |
| public int | |
| public Iterator | Returns: an iterator for the referenced local variablesGets an iterator for the referenced local variables. |
| public boolean | isClassScope()
Returns true iff this scope corresponds to a class; as opposed to a method, "if" statement, block statement, etc. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public Object | |
| public void | |
| public void |
| classScope | back to summary |
|---|---|
| private ClassNode classScope | |
| declaredVariables | back to summary |
|---|---|
| private Map<String, Variable> declaredVariables | |
| inStaticContext | back to summary |
|---|---|
| private boolean inStaticContext | |
| parent | back to summary |
|---|---|
| private VariableScope parent | |
| referencedClassVariables | back to summary |
|---|---|
| private Map<String, Variable> referencedClassVariables | |
| referencedLocalVariables | back to summary |
|---|---|
| private Map<String, Variable> referencedLocalVariables | |
| VariableScope | back to summary |
|---|---|
| public VariableScope() | |
| VariableScope | back to summary |
|---|---|
| public VariableScope(final VariableScope parent) | |
| copy | back to summary |
|---|---|
| public VariableScope copy() | |
| getClassScope | back to summary |
|---|---|
| public ClassNode getClassScope() Non-null iff this scope corresponds to a class; as opposed to a method, "if" statement, block statement, etc. | |
| getDeclaredVariable | back to summary |
|---|---|
| public Variable getDeclaredVariable(final String name) | |
| getDeclaredVariables | back to summary |
|---|---|
| public Map Gets a map containing the variables declared in this scope. This map cannot be modified. | |
| getDeclaredVariablesIterator | back to summary |
|---|---|
| public Iterator Gets an iterator for the declared class variables. The remove operation is not supported. | |
| getParent | back to summary |
|---|---|
| public VariableScope getParent() | |
| getReferencedClassVariable | back to summary |
|---|---|
| public Variable getReferencedClassVariable(final String name) | |
| getReferencedClassVariables | back to summary |
|---|---|
| public Map Gets a map containing the class variables referenced by this scope. This not can not be modified. | |
| getReferencedClassVariablesIterator | back to summary |
|---|---|
| public Iterator Gets an iterator for the referenced class variables. The remove operation is not supported. | |
| getReferencedLocalVariable | back to summary |
|---|---|
| public Variable getReferencedLocalVariable(final String name) | |
| getReferencedLocalVariablesCount | back to summary |
|---|---|
| public int getReferencedLocalVariablesCount() | |
| getReferencedLocalVariablesIterator | back to summary |
|---|---|
| public Iterator Gets an iterator for the referenced local variables. The remove operation *is* supported. | |
| isClassScope | back to summary |
|---|---|
| public boolean isClassScope() Returns true iff this scope corresponds to a class; as opposed to a method, "if" statement, block statement, etc. | |
| isInStaticContext | back to summary |
|---|---|
| public boolean isInStaticContext() | |
| isReferencedClassVariable | back to summary |
|---|---|
| public boolean isReferencedClassVariable(final String name) | |
| isReferencedLocalVariable | back to summary |
|---|---|
| public boolean isReferencedLocalVariable(final String name) | |
| isRoot | back to summary |
|---|---|
| public boolean isRoot() | |
| putDeclaredVariable | back to summary |
|---|---|
| public void putDeclaredVariable(final Variable var) | |
| putReferencedClassVariable | back to summary |
|---|---|
| public void putReferencedClassVariable(final Variable var) | |
| putReferencedLocalVariable | back to summary |
|---|---|
| public void putReferencedLocalVariable(final Variable var) | |
| removeReferencedClassVariable | back to summary |
|---|---|
| public Object removeReferencedClassVariable(final String name) | |
| setClassScope | back to summary |
|---|---|
| public void setClassScope(final ClassNode classScope) | |
| setInStaticContext | back to summary |
|---|---|
| public void setInStaticContext(final boolean inStaticContext) | |