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
STORE
public Instruction STORE(int slot)
- STORE in interface Type
toJCType
public org.apache.bcel.generic.Type toJCType()
- toJCType in interface Type
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects a boolean on the stack and pushes a real. The value "true" is
converted to 1.0 and the value "false" to 0.0.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a boolean on the stack and pushes a boxed boolean.
Boxed booleans are represented by an instance of
java.lang.Boolean
.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects a boolean on the stack and pushes a string. If the value on the
stack is zero, then the string 'false' is pushed. Otherwise, the string
'true' is pushed.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a real into an object of internal type type
. The
translation to int is undefined since booleans are always converted to
reals in arithmetic expressions.
- translateTo in interface Type
org.apache.xalan.xsltc.compiler.util.Type.translateTo