LOAD
public Instruction LOAD(int slot)
- LOAD in interface Type
STORE
public Instruction STORE(int slot)
- STORE in interface Type
getClassName
public String getClassName()
Returns the class name of an internal type's external representation.
- getClassName in interface Type
identicalTo
public boolean identicalTo(Type other)
- identicalTo in interface Type
isSimple
public boolean isSimple()
- isSimple in interface Type
toJCType
public org.apache.bcel.generic.Type toJCType()
- toJCType in interface Type
toSignature
public String toSignature()
- toSignature in interface Type
toString
public String toString()
- toString in interface Type
translateBox
public void translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation.
- translateBox in interface Type
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a string into a synthesized boolean.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Translates a string into a real by calling stringToReal() from the
basis library.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a string on the stack and pushes a boxed string.
Strings are already boxed so the translation is just a NOP.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a string into an object of internal type type
.
The translation to int is undefined since strings 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)
Translates a string into 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
translateUnBox
public void translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation.
- translateUnBox in interface Type