Package | Description |
---|---|
org.apache.xalan.xsltc.compiler | |
org.apache.xalan.xsltc.compiler.util |
Modifier and Type | Method and Description |
---|---|
protected void |
SyntaxTreeNode.compileResultTree(ClassGenerator classGen,
MethodGenerator methodGen)
Utility method used by parameters and variables to store result trees
|
void |
LocationPathPattern.translate(ClassGenerator classGen,
MethodGenerator methodGen) |
abstract void |
SyntaxTreeNode.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this abstract syntax tree node into JVM bytecodes.
|
abstract void |
Pattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into JVM bytecodes.
|
void |
Template.translate(ClassGenerator classGen,
MethodGenerator methodGen) |
void |
Stylesheet.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate the stylesheet into JVM bytecodes.
|
protected void |
SyntaxTreeNode.translateContents(ClassGenerator classGen,
MethodGenerator methodGen)
Call translate() on all child syntax tree nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeSetMethodGenerator |
class |
CompareGenerator |
class |
MatchGenerator |
class |
NamedMethodGenerator
This class is used for named templates.
|
class |
RtMethodGenerator
This class is used for result trees implemented as methods.
|
class |
TestGenerator |
Modifier and Type | Method and Description |
---|---|
void |
ClassGenerator.addMethod(MethodGenerator methodGen) |
void |
NodeType.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 |
NodeSetType.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.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 |
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 |
StringType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation.
|
void |
NodeSetType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an external Java Class into an internal type.
|
void |
Type.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an external (Java) type denoted by
clazz to
an object of this type. |
void |
BooleanType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an external (Java) boolean into internal boolean.
|
void |
RealType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an external (primitive) Java type into a real.
|
void |
ObjectType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an external Java type into an Object type
|
void |
ReferenceType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an external Java type into a reference.
|
void |
VoidType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an external (primitive) Java type into a void.
|
void |
StringType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an external (primitive) Java type into a string.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a node into a synthesized boolean.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Expects an result tree on the stack and pushes a boolean.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a node-set into a synthesized boolean.
|
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 |
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 |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a reference to an object of internal type
type . |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a string into a synthesized boolean.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates a node into the Java type denoted by
clazz . |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates a result tree to a Java type denoted by
clazz . |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates a node-set into the Java type denoted by
clazz . |
void |
Type.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an object of this type to the external (Java) type denoted
by
clazz . |
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an internal boolean into an external (Java) boolean.
|
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an integer into the Java type denoted by
clazz . |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates a real into the Java type denoted by
clazz . |
void |
ObjectType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an object of this type to the external (Java) type denoted
by
clazz . |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates a reference into the Java type denoted by
clazz . |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates a internal string into an external (Java) string.
|
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
IntType type)
Expects a real on the stack and pushes a truncated integer value
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type)
Expects a node on the stack and pushes a singleton node-set.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type)
Expects a result tree on the stack and pushes a node-set (iterator).
|
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type)
Casts a reference into a NodeIterator.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeType type)
Expects a node-set on the stack and pushes a node.
|
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeType type)
Casts a reference into a Node.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type)
Subsume Node into ObjectType.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type)
Subsume result tree into ObjectType.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type)
Subsume node-set into ObjectType.
|
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type)
Subsume reference into ObjectType.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects a node on the stack and pushes a real.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects an result tree on the stack and pushes a real.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects a node-set on the stack and pushes a real.
|
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects a boolean on the stack and pushes a real.
|
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects an integer on the stack and pushes a real.
|
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Translates a reference into an object of internal type
type . |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Translates a string into a real by calling stringToReal() from the
basis library.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a node on the stack and pushes a boxed node.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a result tree on the stack and pushes a boxed result tree.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a node-set on the stack and pushes a boxed node-set.
|
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a boolean on the stack and pushes a boxed boolean.
|
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects an integer on the stack and pushes a boxed integer.
|
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a double on the stack and pushes a boxed double.
|
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a string on the stack and pushes a boxed string.
|
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ResultTreeType type)
Casts a reference into a ResultTree.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects a node on the stack and pushes its string value.
|
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects an result tree on the stack and pushes a string.
|
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates a node-set into a string.
|
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects a boolean on the stack and pushes a string.
|
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 |
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 |
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 |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates reference into object of internal type
type . |
void |
VoidType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates a void into a string by pushing the empty string ''.
|
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a node into an object of internal type
type . |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a result tree to object of internal type
type . |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a node-set into an object of internal type
type . |
void |
Type.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates an object of this type to an object of type
type . |
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,
Type type)
Translates an integer into an object of internal type
type . |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a real into an object of internal type
type . |
void |
ObjectType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a void into an 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 |
VoidType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a void into an object of internal type
type . |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a string into an object of internal type
type . |
FlowList |
NodeType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a node into a non-synthesized boolean.
|
FlowList |
ResultTreeType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a result tree into a non-synthesized boolean.
|
FlowList |
NodeSetType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a node-set 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 |
IntType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Expects an integer on the stack and translates it to 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 |
StringType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a string into a non-synthesized boolean.
|
FlowList |
Type.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates object of this type to an object of type
type . |
void |
NodeType.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 |
NodeSetType.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.
|
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 |
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 |
StringType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.