org.apache.xalan.xsltc.compiler.util
public final class BooleanType extends Type
| Method Summary | |
|---|---|
| BranchInstruction | GE(boolean tozero) |
| BranchInstruction | GT(boolean tozero) |
| boolean | identicalTo(Type other) |
| boolean | isSimple() |
| BranchInstruction | LE(boolean tozero) |
| Instruction | LOAD(int slot) |
| BranchInstruction | LT(boolean tozero) |
| Instruction | STORE(int slot) |
| Type | toJCType() |
| String | toSignature() |
| String | toString() |
| void | translateBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
| void | translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates an external (Java) boolean into internal boolean. |
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Translates a real into an object of internal type type. |
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Expects a boolean on the stack and pushes a string. |
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type)
Expects a boolean on the stack and pushes a real. |
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type)
Expects a boolean on the stack and pushes a boxed boolean.
|
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates an internal boolean into an external (Java) boolean. |
| void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
type. The
translation to int is undefined since booleans are always converted to
reals in arithmetic expressions.
See Also: Type
See Also: Type
See Also: Type
java.lang.Boolean.
See Also: Type