| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected boolean | |
| protected boolean | |
| protected Instruction | |
| protected LocalVariableGen | |
| protected QName | |
| protected List | |
| protected Expression | |
| protected Instruction | |
| protected Type | |
| protected String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | copyReferences(VariableBase var)
When a variable is overriden by another, e.g. via xsl:import, its references need to be copied or otherwise it may be compiled away as dead code. |
| public void | |
| public void | display(int indent)
Overrides com. Display variable in a full AST dump |
| public String | |
| public Expression | |
| public QName | |
| public Type | |
| public boolean | |
| public Instruction | |
| public void | |
| public void | parseContents(Parser parser)
Overrides com. Parse the contents of the <xsl:decimal-format> element. |
| public void | |
| public Instruction | |
| public String | |
| public void | translateValue(ClassGenerator classGen, MethodGenerator methodGen)
Compile the value of the variable, which is either in an expression in a 'select' attribute, or in the variable elements body |
| public void | unmapRegister(ClassGenerator classGen, MethodGenerator methodGen)
Remove the mapping of this variable to a register. |
| _escapedName | back to summary |
|---|---|
| protected String _escapedName | |
| _ignore | back to summary |
|---|---|
| protected boolean _ignore | |
| _isLocal | back to summary |
|---|---|
| protected boolean _isLocal | |
| _loadInstruction | back to summary |
|---|---|
| protected Instruction _loadInstruction | |
| _local | back to summary |
|---|---|
| protected LocalVariableGen _local | |
| _name | back to summary |
|---|---|
| protected QName _name | |
| _refs | back to summary |
|---|---|
| protected List<VariableRefBase> _refs | |
| _select | back to summary |
|---|---|
| protected Expression _select | |
| _storeInstruction | back to summary |
|---|---|
| protected Instruction _storeInstruction | |
| _type | back to summary |
|---|---|
| protected Type _type | |
| select | back to summary |
|---|---|
| protected String select | |
| VariableBase | back to summary |
|---|---|
| pack-priv VariableBase() | |
| addReference | back to summary |
|---|---|
| public void addReference(VariableRefBase vref) Add a reference to this variable. Called by VariableRef when an expression contains a reference to this variable. | |
| copyReferences | back to summary |
|---|---|
| public void copyReferences(VariableBase var) When a variable is overriden by another, e.g. via xsl:import, its references need to be copied or otherwise it may be compiled away as dead code. This method can be used for that purpose. | |
| disable | back to summary |
|---|---|
| public void disable() Disable this variable/parameter | |
| display | back to summary |
|---|---|
| public void display(int indent) Overrides com. Display variable in a full AST dump | |
| getEscapedName | back to summary |
|---|---|
| public String getEscapedName() Returns the escaped qname of the variable or parameter | |
| getExpression | back to summary |
|---|---|
| public Expression getExpression() Returns the expression from this variable's select attribute (if any) | |
| getName | back to summary |
|---|---|
| public QName getName() Returns the name of the variable or parameter as it will occur in the compiled translet. | |
| getType | back to summary |
|---|---|
| public Type getType() Returns the type of the variable | |
| isLocal | back to summary |
|---|---|
| public boolean isLocal() Returns the true if the variable is local | |
| loadInstruction | back to summary |
|---|---|
| public Instruction loadInstruction() Returns an instruction for loading the value of this variable onto the JVM stack. | |
| mapRegister | back to summary |
|---|---|
| public void mapRegister(MethodGenerator methodGen) Map this variable to a register | |
| parseContents | back to summary |
|---|---|
| public void parseContents(Parser parser) Overrides com. Parse the contents of the <xsl:decimal-format> element. | |
| setName | back to summary |
|---|---|
| public void setName(QName name) Set the name of the variable or paremeter. Escape all special chars. | |
| storeInstruction | back to summary |
|---|---|
| public Instruction storeInstruction() Returns an instruction for storing a value from the JVM stack into this variable. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Display variable as single string | |
| translateValue | back to summary |
|---|---|
| public void translateValue(ClassGenerator classGen, MethodGenerator methodGen) Compile the value of the variable, which is either in an expression in a 'select' attribute, or in the variable elements body | |
| unmapRegister | back to summary |
|---|---|
| public void unmapRegister(ClassGenerator classGen, MethodGenerator methodGen) Remove the mapping of this variable to a register. Called when we leave the AST scope of the variable's declaration | |