|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.xsltc.compiler.SyntaxTreeNode org.apache.xalan.xsltc.compiler.TopLevelElement org.apache.xalan.xsltc.compiler.VariableBase org.apache.xalan.xsltc.compiler.Param
final class Param
Field Summary | |
---|---|
private boolean |
_isInSimpleNamedTemplate
True if this Param is declared in a simple named template. |
Fields inherited from class org.apache.xalan.xsltc.compiler.VariableBase |
---|
_dependencies, _escapedName, _ignore, _isLocal, _loadInstruction, _local, _name, _refs, _select, _storeInstruction, _type, select |
Fields inherited from class org.apache.xalan.xsltc.compiler.SyntaxTreeNode |
---|
_attributes, _parent, _qname, Dummy, IndentIncrement, UNKNOWN_STYLESHEET_NODE_ID |
Constructor Summary | |
---|---|
Param()
|
Method Summary | |
---|---|
void |
display(int indent)
Display variable in a full AST dump |
void |
parseContents(Parser parser)
Parse the contents of the |
Instruction |
setLoadInstruction(Instruction instruction)
Set the instruction for loading the value of this variable onto the JVM stack and returns the old instruction. |
Instruction |
setStoreInstruction(Instruction instruction)
Set the instruction for storing a value from the stack into this variable and returns the old instruction. |
java.lang.String |
toString()
Display variable as single string |
void |
translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into JVM bytecodes. |
Type |
typeCheck(SymbolTable stable)
Type-checks the parameter. |
Methods inherited from class org.apache.xalan.xsltc.compiler.VariableBase |
---|
addReference, disable, getEscapedName, getExpression, getName, getType, isLocal, loadInstruction, mapRegister, setName, storeInstruction, translateValue, unmapRegister |
Methods inherited from class org.apache.xalan.xsltc.compiler.TopLevelElement |
---|
addDependency, compile, getDependencies |
Methods inherited from class org.apache.xalan.xsltc.compiler.SyntaxTreeNode |
---|
addAttribute, addElement, addPrefixMapping, compileResultTree, contextDependent, dependentContents, displayContents, elementAt, elementCount, elements, getAttribute, getAttribute, getAttributes, getContents, getImportPrecedence, getLineNumber, getNodeIDForStylesheetNSLookup, getParent, getParser, getPrefixMapping, getQName, getStylesheet, getSymbolTable, getTemplate, getXSLTC, hasAttribute, hasContents, indent, isDummy, lastChild, lookupNamespace, lookupPrefix, parseChildren, removeElement, reportError, reportWarning, setAttributes, setFirstElement, setLineNumber, setParent, setParser, setPrefixMapping, setQName, setQName, translateContents, typeCheckContents, updateScope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private boolean _isInSimpleNamedTemplate
Constructor Detail |
---|
Param()
Method Detail |
---|
public java.lang.String toString()
toString
in class VariableBase
public Instruction setLoadInstruction(Instruction instruction)
public Instruction setStoreInstruction(Instruction instruction)
public void display(int indent)
display
in class VariableBase
indent
- Indentation level for syntax tree levels.public void parseContents(Parser parser)
parseContents
in class VariableBase
parser
- reference to the XSLT parserpublic Type typeCheck(SymbolTable stable) throws TypeCheckError
typeCheck
in class TopLevelElement
stable
- The compiler/parser's symbol table
TypeCheckError
public void translate(ClassGenerator classGen, MethodGenerator methodGen)
TopLevelElement
translate
in class TopLevelElement
classGen
- BCEL Java class generatormethodGen
- BCEL Java method generator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |