APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.compiler

pack-priv Class TopLevelElement

extends SyntaxTreeNode
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xalan.internal.xsltc.compiler.Output, com.sun.org.apache.xalan.internal.xsltc.compiler.Template, com.sun.org.apache.xalan.internal.xsltc.compiler.VariableBase, com.sun.org.apache.xalan.internal.xsltc.compiler.Whitespace, com.sun.org.apache.xalan.internal.xsltc.compiler.AttributeSet, com.sun.org.apache.xalan.internal.xsltc.compiler.DecimalFormatting, com.sun.org.apache.xalan.internal.xsltc.compiler.Import, com.sun.org.apache.xalan.internal.xsltc.compiler.Include, com.sun.org.apache.xalan.internal.xsltc.compiler.NamespaceAlias, com.sun.org.apache.xalan.internal.xsltc.compiler.Key
Imports
com.sun.org.apache.bcel.internal.generic.InstructionList, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .ErrorMsg, .MethodGenerator, .Type, .TypeCheckError, .Util, java.util.ArrayList, .List

Field Summary

Modifier and TypeField and Description
protected List<SyntaxTreeNode>
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode:
_attributes_parent_qnameDummyIndentIncrement

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
addDependency(TopLevelElement other)

Add a dependency with other top-level elements like variables, parameters or keys.

public InstructionList
compile(ClassGenerator classGen, MethodGenerator methodGen)

Translate this node into a fresh instruction list.

public void
display(int indent)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.display.

Displays the contents of this syntax tree node (to stdout).

public List<SyntaxTreeNode>
getDependencies()

Get the list of dependencies with other top-level elements like variables, parameteres or keys.

public void
translate(ClassGenerator classGen, MethodGenerator methodGen)

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.translate.

Translate this node into JVM bytecodes.

public Type
typeCheck(SymbolTable stable)

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.typeCheck.

Type check all the children of this node.

Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode:
addAttributeaddElementaddPrefixMappingcompileResultTreecontextDependentdependentContentsdisplayContentselementAtelementCountelementsgetAttributegetAttributegetAttributesgetContentsgetImportPrecedencegetLineNumbergetParentgetParsergetPrefixMappinggetQNamegetStylesheetgetSymbolTablegetTemplategetXSLTChasAttributehasContentsindentisDummylastChildlookupNamespacelookupPrefixnotTypeOfparseChildrenparseContentsremoveElementreportErrorreportWarningsetAttributessetFirstElementsetLineNumbersetParentsetParsersetPrefixMappingsetQNamesetQNametranslateContentstypeCheckContentsupdateScope

Field Detail

_dependenciesback to summary
protected List<SyntaxTreeNode> _dependencies

Constructor Detail

TopLevelElementback to summary
pack-priv TopLevelElement()

Method Detail

addDependencyback to summary
public void addDependency(TopLevelElement other)

Add a dependency with other top-level elements like variables, parameters or keys.

compileback to summary
public InstructionList compile(ClassGenerator classGen, MethodGenerator methodGen)

Translate this node into a fresh instruction list. The original instruction list is saved and restored.

displayback to summary
public void display(int indent)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.display.

Doc from com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.display.

Displays the contents of this syntax tree node (to stdout). This method is intended for debugging _only_, and should be overridden by all syntax tree node implementations.

getDependenciesback to summary
public List<SyntaxTreeNode> getDependencies()

Get the list of dependencies with other top-level elements like variables, parameteres or keys.

translateback to summary
public void translate(ClassGenerator classGen, MethodGenerator methodGen)

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.translate.

Translate this node into JVM bytecodes.

typeCheckback to summary
public Type typeCheck(SymbolTable stable) throws TypeCheckError

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.typeCheck.

Type check all the children of this node.