Package | Description |
---|---|
org.apache.xalan.xsltc.compiler | |
org.apache.xalan.xsltc.compiler.util |
Modifier and Type | Method | Description |
---|---|---|
void |
LocationPathPattern.translate(ClassGenerator classGen,
MethodGenerator methodGen) |
|
abstract void |
Pattern.translate(ClassGenerator classGen,
MethodGenerator methodGen) |
Translate this node into JVM bytecodes.
|
void |
Stylesheet.translate(ClassGenerator classGen,
MethodGenerator methodGen) |
Translate the stylesheet into JVM bytecodes.
|
abstract void |
SyntaxTreeNode.translate(ClassGenerator classGen,
MethodGenerator methodGen) |
Translate this abstract syntax tree node into JVM bytecodes.
|
void |
Template.translate(ClassGenerator classGen,
MethodGenerator methodGen) |
Modifier and Type | Class | Description |
---|---|---|
class |
FilterGenerator |
This class implements auxliary classes needed to compile
filters (predicates).
|
class |
NodeCounterGenerator |
This class implements auxiliary classes needed to compile
patterns in xsl:number.
|
class |
NodeSortRecordFactGenerator |
Generator for subclasses of NodeSortRecordFactory.
|
class |
NodeSortRecordGenerator |
Modifier and Type | Method | Description |
---|---|---|
org.apache.bcel.classfile.Method[] |
MethodGenerator.outlineChunks(ClassGenerator classGen,
int originalMethodSize) |
Breaks up the IL for this
MethodGenerator into separate
outlined methods so that no method exceeds the 64KB limit on the length
of the byte code associated with a method. |
void |
BooleanType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its boxed representation.
|
void |
IntType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its boxed representation.
|
void |
NodeSetType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its boxed representation.
|
void |
NodeType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its boxed representation.
|
void |
RealType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its boxed representation.
|
void |
ReferenceType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its boxed representation.
|
void |
ResultTreeType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its boxed representation.
|
void |
StringType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its boxed representation.
|
void |
Type.translateBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its boxed representation.
|
void |
BooleanType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an external (Java) boolean into internal boolean.
|
void |
NodeSetType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an external Java Class into an internal type.
|
void |
ObjectType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an external Java type into an Object type
|
void |
RealType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an external (primitive) Java type into a real.
|
void |
ReferenceType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an external Java type into a reference.
|
void |
StringType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an external (primitive) Java type into a string.
|
void |
Type.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an external (Java) type denoted by
clazz to
an object of this type. |
void |
VoidType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an external (primitive) Java type into a void.
|
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an internal boolean into an external (Java) boolean.
|
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type) |
Expects a boolean on the stack and pushes a real.
|
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type) |
Expects a boolean on the stack and pushes a boxed boolean.
|
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) |
Expects a boolean on the stack and pushes a string.
|
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates a real into an object of internal type
type . |
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an integer into the Java type denoted by
clazz . |
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Expects an integer on the stack and pushes a 0 if its value is 0 and
a 1 otherwise.
|
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type) |
Expects an integer on the stack and pushes a real.
|
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type) |
Expects an integer on the stack and pushes a boxed integer.
|
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) |
Expects an integer on the stack and pushes its string value by calling
Integer.toString(int i) . |
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates an integer into an object of internal type
type . |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates a node-set into the Java type denoted by
clazz . |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates a node-set into a synthesized boolean.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeType type) |
Expects a node-set on the stack and pushes a node.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type) |
Subsume node-set into ObjectType.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type) |
Expects a node-set on the stack and pushes a real.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type) |
Expects a node-set on the stack and pushes a boxed node-set.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) |
Translates a node-set into a string.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates a node-set into an object of internal type
type . |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates a node into the Java type denoted by
clazz . |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates a node into a synthesized boolean.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type) |
Expects a node on the stack and pushes a singleton node-set.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type) |
Subsume Node into ObjectType.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type) |
Expects a node on the stack and pushes a real.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type) |
Expects a node on the stack and pushes a boxed node.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) |
Expects a node on the stack and pushes its string value.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates a node into an object of internal type
type . |
void |
ObjectType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an object of this type to the external (Java) type denoted
by
clazz . |
void |
ObjectType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) |
Expects an integer on the stack and pushes its string value by calling
Integer.toString(int i) . |
void |
ObjectType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates a void into an object of internal type
type . |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates a real into the Java type denoted by
clazz . |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Expects a real on the stack and pushes a 0 if that number is 0.0 and
a 1 otherwise.
|
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
IntType type) |
Expects a real on the stack and pushes a truncated integer value
|
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type) |
Expects a double on the stack and pushes a boxed double.
|
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) |
Expects a real on the stack and pushes its string value by calling
Double.toString(double d) . |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates a real into an object of internal type
type . |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates a reference into the Java type denoted by
clazz . |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates a reference to an object of internal type
type . |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type) |
Casts a reference into a NodeIterator.
|
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeType type) |
Casts a reference into a Node.
|
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type) |
Subsume reference into ObjectType.
|
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type) |
Translates a reference into an object of internal type
type . |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ResultTreeType type) |
Casts a reference into a ResultTree.
|
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) |
Translates reference into object of internal type
type . |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates a reference to an object of internal type
type . |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates a result tree to a Java type denoted by
clazz . |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Expects an result tree on the stack and pushes a boolean.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type) |
Expects a result tree on the stack and pushes a node-set (iterator).
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type) |
Subsume result tree into ObjectType.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type) |
Expects an result tree on the stack and pushes a real.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type) |
Expects a result tree on the stack and pushes a boxed result tree.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) |
Expects an result tree on the stack and pushes a string.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates a result tree to object of internal type
type . |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates a internal string into an external (Java) string.
|
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates a string into a synthesized boolean.
|
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type) |
Translates a string into a real by calling stringToReal() from the
basis library.
|
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type) |
Expects a string on the stack and pushes a boxed string.
|
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates a string into an object of internal type
type . |
void |
Type.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz) |
Translates an object of this type to the external (Java) type denoted
by
clazz . |
void |
Type.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates an object of this type to an object of type
type . |
void |
VoidType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) |
Translates a void into a string by pushing the empty string ''.
|
void |
VoidType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates a void into an object of internal type
type . |
FlowList |
IntType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Expects an integer on the stack and translates it to a non-synthesized
boolean.
|
FlowList |
NodeSetType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates a node-set into a non-synthesized boolean.
|
FlowList |
NodeType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates a node into a non-synthesized boolean.
|
FlowList |
RealType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates a real into a non-synthesized boolean.
|
FlowList |
ReferenceType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Expects a reference on the stack and translates it to a non-synthesized
boolean.
|
FlowList |
ResultTreeType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates a result tree into a non-synthesized boolean.
|
FlowList |
StringType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates a string into a non-synthesized boolean.
|
FlowList |
Type.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) |
Translates an object of this type to an non-synthesized boolean.
|
FlowList |
Type.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) |
Translates object of this type to an object of type
type . |
void |
BooleanType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its unboxed representation.
|
void |
IntType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its unboxed representation.
|
void |
NodeSetType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its unboxed representation.
|
void |
NodeType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its unboxed representation.
|
void |
RealType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its unboxed representation.
|
void |
ReferenceType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its unboxed representation.
|
void |
ResultTreeType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its unboxed representation.
|
void |
StringType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its unboxed representation.
|
void |
Type.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen) |
Translates an object of this type to its unboxed representation.
|
Copyright © 2014 Apache XML Project. All Rights Reserved.