LOAD
public Instruction LOAD(int slot)
- LOAD in interface Type
STORE
public Instruction STORE(int slot)
- STORE in interface Type
identicalTo
public boolean identicalTo(Type other)
Returns true if this and other are identical types.
- identicalTo in interface Type
toJCType
public org.apache.bcel.generic.Type toJCType()
- toJCType in interface Type
toSignature
public String toSignature()
Returns the signature of an internal type's external representation.
- toSignature in interface Type
toString
public String toString()
Returns a string representation of this type.
- toString in interface Type
translateFrom
public void translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates an external Java type into a reference. Only conversion
allowed is from java.lang.Object.
- translateFrom in interface Type
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a reference to an object of internal type type
.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeType type)
Casts a reference into a Node.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Translates a reference into an object of internal type type
.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates reference into object of internal type type
.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a reference to an object of internal type type
.
The translation to int is undefined since references
are always converted to reals in arithmetic expressions.
- translateTo in interface Type
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateToDesynthesized
public FlowList translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Expects a reference on the stack and translates it to a non-synthesized
boolean. It does not push a 0 or a 1 but instead returns branchhandle
list to be appended to the false list.
- translateToDesynthesized in interface Type
org.apache.xalan.xsltc.compiler.util.Type.translateToDesynthesized