|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xalan.xsltc.compiler.SyntaxTreeNode
public abstract class SyntaxTreeNode
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.bcel.generic.InstructionConstants |
---|
org.apache.bcel.generic.InstructionConstants.Clinit |
Field Summary |
---|
Fields inherited from interface org.apache.bcel.generic.InstructionConstants |
---|
AALOAD, AASTORE, ACONST_NULL, ALOAD_0, ALOAD_1, ALOAD_2, ARETURN, ARRAYLENGTH, ASTORE_0, ASTORE_1, ASTORE_2, ATHROW, BALOAD, BASTORE, bla, CALOAD, CASTORE, D2F, D2I, D2L, DADD, DALOAD, DASTORE, DCMPG, DCMPL, DCONST_0, DCONST_1, DDIV, DMUL, DNEG, DREM, DRETURN, DSUB, DUP, DUP_X1, DUP_X2, DUP2, DUP2_X1, DUP2_X2, F2D, F2I, F2L, FADD, FALOAD, FASTORE, FCMPG, FCMPL, FCONST_0, FCONST_1, FCONST_2, FDIV, FMUL, FNEG, FREM, FRETURN, FSUB, I2B, I2C, I2D, I2F, I2L, I2S, IADD, IALOAD, IAND, IASTORE, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, ICONST_5, ICONST_M1, IDIV, ILOAD_0, ILOAD_1, ILOAD_2, IMUL, INEG, INSTRUCTIONS, IOR, IREM, IRETURN, ISHL, ISHR, ISTORE_0, ISTORE_1, ISTORE_2, ISUB, IUSHR, IXOR, L2D, L2F, L2I, LADD, LALOAD, LAND, LASTORE, LCMP, LCONST_0, LCONST_1, LDIV, LMUL, LNEG, LOR, LREM, LRETURN, LSHL, LSHR, LSUB, LUSHR, LXOR, MONITORENTER, MONITOREXIT, NOP, POP, POP2, RETURN, SALOAD, SASTORE, SWAP, THIS |
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 |
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 table
TypeCheckError
public 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |