ADD
public Instruction ADD()
- ADD in interface Type
DIV
public Instruction DIV()
- DIV in interface Type
GE
public BranchInstruction GE(boolean tozero)
- GE in interface Type
GT
public BranchInstruction GT(boolean tozero)
- GT in interface Type
LE
public BranchInstruction LE(boolean tozero)
- LE in interface Type
LOAD
public Instruction LOAD(int slot)
- LOAD in interface Type
LT
public BranchInstruction LT(boolean tozero)
- LT in interface Type
MUL
public Instruction MUL()
- MUL in interface Type
NEG
public Instruction NEG()
- NEG in interface Type
REM
public Instruction REM()
- REM in interface Type
STORE
public Instruction STORE(int slot)
- STORE in interface Type
SUB
public Instruction SUB()
- SUB 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
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz) Translates an integer into the Java type denoted by clazz.
Expects an integer on the stack and pushes a number of the appropriate
type after coercion.
- translateTo in interface Type
translateTo
public void 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.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type) Expects an integer on the stack and pushes a real.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type) Expects an integer on the stack and pushes a boxed integer.
Boxed integers are represented by an instance of
java.lang.Integer.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type) Expects an integer on the stack and pushes its string value by calling
Integer.toString(int i).
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type) Translates an integer into an object of internal type type.
- translateTo in interface Type
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateToDesynthesized
public FlowList translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type) Expects an integer 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