org.apache.xalan.xsltc.compiler.util
public final class NodeType extends Type
Method Summary | |
---|---|
String | getClassName()
Returns the class name of an internal type's external representation. |
int | getType() |
int | hashCode() |
boolean | identicalTo(Type other) |
Instruction | LOAD(int slot) |
Instruction | STORE(int slot) |
Type | toJCType() |
String | toSignature() |
String | toString() |
void | translateBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Translates a node into an object of internal type type .
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Expects a node on the stack and pushes its string value.
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Translates a node into a synthesized boolean.
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type)
Expects a node on the stack and pushes a real.
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeSetType type)
Expects a node on the stack and pushes a singleton node-set. |
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ObjectType type)
Subsume Node into ObjectType.
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type)
Expects a node on the stack and pushes a boxed node. |
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates a node into the Java type denoted by clazz .
|
FlowList | translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Translates a node into a non-synthesized boolean. |
void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
type
.
The translation to int is undefined since nodes are always converted
to reals in arithmetic expressions.
See Also: Type
See Also: Type
See Also: Type
See Also: Type
See Also: Type
See Also: Type
org.apache.xalan.xsltc.dom.Node
.
See Also: Type
clazz
.
Expects a node on the stack and pushes an object of the appropriate
type after coercion.See Also: Type