| Modifier and Type | Field and Description |
|---|---|
| private boolean | _isInSimpleNamedTemplate
True if this Param is declared in a simple named template. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | display(int indent)
Overrides com. Display variable in a full AST dump |
| public void | parseContents(Parser parser)
Overrides com. Parse the contents of the <xsl:param> element. |
| public Instruction | setLoadInstruction(Instruction instruction)
Set the instruction for loading the value of this variable onto the JVM stack and returns the old instruction. |
| public Instruction | setStoreInstruction(Instruction instruction)
Set the instruction for storing a value from the stack into this variable and returns the old instruction. |
| public String | toString()
Overrides com. Display variable as single string |
| public void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translate this node into JVM bytecodes. |
| public Type | typeCheck(SymbolTable stable)
Overrides com. Type-checks the parameter. |
| _isInSimpleNamedTemplate | back to summary |
|---|---|
| private boolean _isInSimpleNamedTemplate True if this Param is declared in a simple named template. This is used to optimize codegen for parameter passing in named templates. | |
| Param | back to summary |
|---|---|
| pack-priv Param() | |
| display | back to summary |
|---|---|
| public void display(int indent) Overrides com. Display variable in a full AST dump | |
| parseContents | back to summary |
|---|---|
| public void parseContents(Parser parser) Overrides com. Parse the contents of the <xsl:param> element. This method must read the 'name' (required) and 'select' (optional) attributes. | |
| setLoadInstruction | back to summary |
|---|---|
| public Instruction setLoadInstruction(Instruction instruction) Set the instruction for loading the value of this variable onto the JVM stack and returns the old instruction. | |
| setStoreInstruction | back to summary |
|---|---|
| public Instruction setStoreInstruction(Instruction instruction) Set the instruction for storing a value from the stack into this variable and returns the old instruction. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Display variable as single string | |
| translate | back to summary |
|---|---|
| public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Doc from com. Translate this node into JVM bytecodes. | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Type-checks the parameter. The parameter type is determined by the 'select' expression (if present) or is a result tree if the parameter element has a body and no 'select' expression. | |