org.apache.xalan.xsltc.compiler
public abstract class SyntaxTreeNode extends Object implements Constants
Field Summary | |
---|---|
static int | UNKNOWN_STYLESHEET_NODE_ID |
Constructor Summary | |
---|---|
SyntaxTreeNode()
Creates a new SyntaxTreeNode with a 'null' QName and no source file
line number reference. | |
SyntaxTreeNode(int line)
Creates a new SyntaxTreeNode with a 'null' QName. | |
SyntaxTreeNode(String uri, String prefix, String local)
Creates a new SyntaxTreeNode with no source file line number reference. |
Method Summary | |
---|---|
void | display(int indent)
Displays the contents of this syntax tree node (to stdout).
|
int | getLineNumber()
Get the source file line number for this element. |
Parser | getParser()
Returns this node's XSLT parser. |
Stylesheet | getStylesheet()
Get the Stylesheet node that represents the |
void | parseContents(Parser parser)
Parse the contents of this syntax tree nodes (child nodes, XPath
expressions, patterns and functions). |
abstract void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Translate this abstract syntax tree node into JVM bytecodes. |
abstract Type | typeCheck(SymbolTable stable)
Type check the children of this node. |
Parameters: line Source file line number reference
Parameters: uri The element's namespace URI prefix The element's namespace prefix local The element's local name
Parameters: indent Indentation level for syntax tree levels.
Returns: The source file line number.
Returns: The XSLT parser.
Returns: The Stylesheet ancestor node of this node.
Parameters: parser reference to the XSLT parser
Parameters: classGen BCEL Java class generator methodGen BCEL Java method generator
Parameters: stable The compiler/parser's symbol table