|
||||||||||
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
class TopLevelElement
Field Summary | |
---|---|
protected java.util.Vector |
_dependencies
|
Fields inherited from class org.apache.xalan.xsltc.compiler.SyntaxTreeNode |
---|
_attributes, _parent, _qname, Dummy, IndentIncrement, UNKNOWN_STYLESHEET_NODE_ID |
Constructor Summary | |
---|---|
TopLevelElement()
|
Method Summary | |
---|---|
void |
addDependency(TopLevelElement other)
Add a dependency with other top-level elements like variables, parameters or keys. |
InstructionList |
compile(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into a fresh instruction list. |
void |
display(int indent)
Displays the contents of this syntax tree node (to stdout). |
java.util.Vector |
getDependencies()
Get the list of dependencies with other top-level elements like variables, parameteres or keys. |
void |
translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into JVM bytecodes. |
Type |
typeCheck(SymbolTable stable)
Type check all the children of this node. |
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, parseContents, 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, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector _dependencies
Constructor Detail |
---|
TopLevelElement()
Method Detail |
---|
public Type typeCheck(SymbolTable stable) throws TypeCheckError
typeCheck
in class SyntaxTreeNode
stable
- The compiler/parser's symbol table
TypeCheckError
public void translate(ClassGenerator classGen, MethodGenerator methodGen)
translate
in class SyntaxTreeNode
classGen
- BCEL Java class generatormethodGen
- BCEL Java method generatorpublic InstructionList compile(ClassGenerator classGen, MethodGenerator methodGen)
public void display(int indent)
SyntaxTreeNode
display
in class SyntaxTreeNode
indent
- Indentation level for syntax tree levels.public void addDependency(TopLevelElement other)
public java.util.Vector getDependencies()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |