|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xsltc.compiler.SyntaxTreeNode
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(java.lang.String uri,
java.lang.String prefix,
java.lang.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(org.apache.xalan.xsltc.compiler.SymbolTable stable)
Type check the children of this node. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int UNKNOWN_STYLESHEET_NODE_ID
Constructor Detail |
public SyntaxTreeNode()
public SyntaxTreeNode(int line)
line
- Source file line number referencepublic SyntaxTreeNode(java.lang.String uri, java.lang.String prefix, java.lang.String local)
uri
- The element's namespace URIprefix
- The element's namespace prefixlocal
- The element's local nameMethod Detail |
public final int getLineNumber()
public final Parser getParser()
public Stylesheet getStylesheet()
public void parseContents(Parser parser)
parser
- reference to the XSLT parserpublic abstract Type typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable) throws TypeCheckError
stable
- The compiler/parser's symbol tablepublic abstract void translate(ClassGenerator classGen, MethodGenerator methodGen)
classGen
- BCEL Java class generatormethodGen
- BCEL Java method generatorpublic void display(int indent)
indent
- Indentation level for syntax tree levels.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |