|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xsltc.compiler.util.Type | +--org.apache.xalan.xsltc.compiler.util.ReferenceType
Fields inherited from class org.apache.xalan.xsltc.compiler.util.Type |
Attribute,
Boolean,
Comment,
Element,
Int,
Node,
NodeSet,
Object,
Processing_Instruction,
Real,
Reference,
ResultTree,
Root,
String,
Text,
Void |
Method Summary | |
boolean |
identicalTo(Type other)
|
org.apache.bcel.generic.Instruction |
LOAD(int slot)
|
org.apache.bcel.generic.Instruction |
STORE(int slot)
|
org.apache.bcel.generic.Type |
toJCType()
|
java.lang.String |
toSignature()
|
java.lang.String |
toString()
|
void |
translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external Java type into a reference. |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a reference to an object of internal type type . |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates a reference into the Java type denoted by clazz . |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type)
Casts a reference into a NodeIterator. |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeType type)
Casts a reference into a Node. |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type)
Subsume reference into ObjectType. |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Translates a reference into an object of internal type type . |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ResultTreeType type)
Casts a reference into a ResultTree. |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates reference into object of internal type type . |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a reference to an object of internal type type . |
FlowList |
translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Expects a reference on the stack and translates it to a non-synthesized boolean. |
void |
translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
Methods inherited from class org.apache.xalan.xsltc.compiler.util.Type |
ADD,
CMP,
distanceTo,
DIV,
DUP,
GE,
getClassName,
GT,
implementedAsMethod,
isNumber,
isSimple,
LE,
LT,
MUL,
NEG,
newObjectType,
newObjectType,
POP,
REM,
SUB,
translateToDesynthesized |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public java.lang.String toString()
public boolean identicalTo(Type other)
public java.lang.String toSignature()
public org.apache.bcel.generic.Type toJCType()
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
type
.
The translation to int is undefined since references
are always converted to reals in arithmetic expressions.Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
type
.Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type)
type
.Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
type
.Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeSetType type)
Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeType type)
Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ResultTreeType type)
Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ObjectType type)
Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, java.lang.Class clazz)
clazz
.public void translateFrom(ClassGenerator classGen, MethodGenerator methodGen, java.lang.Class clazz)
public FlowList translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Type.translateToDesynthesized(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateBox(ClassGenerator classGen, MethodGenerator methodGen)
public void translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
public org.apache.bcel.generic.Instruction LOAD(int slot)
public org.apache.bcel.generic.Instruction STORE(int slot)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |