| Modifier and Type | Field and Description |
|---|---|
| protected Closure | _closure
A reference to the enclosing expression/instruction for which a closure is needed (Predicate, Number or Sort). |
| protected VariableBase | _variable
A reference to the associated variable. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addParentDependency()
If this variable reference is in a top-level element like another variable, param or key, add a dependency between that top-level element and the referenced variable. |
| public boolean | equals(Object obj)
Overrides java. Two variable references are deemed equal if they refer to the same variable. |
| public VariableBase | |
| public int | |
| public String | Returns: Variable reference descriptionImplements abstract com. Returns a string representation of this variable reference on the format 'variable-ref(<var-name>)'. |
| public Type | typeCheck(SymbolTable stable)
Overrides com. Type check all the children of this node. |
| _closure | back to summary |
|---|---|
| protected Closure _closure A reference to the enclosing expression/instruction for which a closure is needed (Predicate, Number or Sort). | |
| _variable | back to summary |
|---|---|
| protected VariableBase _variable A reference to the associated variable. | |
| VariableRefBase | back to summary |
|---|---|
| public VariableRefBase(VariableBase variable) | |
| VariableRefBase | back to summary |
|---|---|
| public VariableRefBase() | |
| addParentDependency | back to summary |
|---|---|
| public void addParentDependency() If this variable reference is in a top-level element like another variable, param or key, add a dependency between that top-level element and the referenced variable. For example, <xsl:variable name="x" .../> <xsl:variable name="y" select="$x + 1"/> and assuming this class represents "$x", add a reference between variable y and variable x. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Two variable references are deemed equal if they refer to the same variable.
| |
| getVariable | back to summary |
|---|---|
| public VariableBase getVariable() Returns a reference to the associated variable | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract com. Returns a string representation of this variable reference on the format 'variable-ref(<var-name>)'. | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Doc from com. Type check all the children of this node.
| |