| Modifier and Type | Field and Description |
|---|---|
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type | |
| public static final Type |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Instruction | |
| public Instruction | |
| public int | |
| public Instruction | |
| public Instruction | |
| public BranchInstruction | |
| public String | |
| public BranchInstruction | |
| public abstract boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public BranchInstruction | |
| public Instruction | |
| public BranchInstruction | |
| public Instruction | |
| public Instruction | |
| public static Type | |
| public static Type | |
| public Instruction | |
| public Instruction | |
| public Instruction | |
| public Instruction | |
| public abstract Type | |
| public abstract String | |
| public abstract String | |
| public void | translateBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
| public void | translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz)
Translates an external (Java) type denoted by |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Translates an object of this type to an object of type
|
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz)
Translates an object of this type to the external (Java) type denoted
by |
| public FlowList | translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Translates object of this type to an object of type |
| public FlowList | translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Translates an object of this type to an non-synthesized boolean. |
| public void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
| Attribute | back to summary |
|---|---|
| public static final Type Attribute | |
| Boolean | back to summary |
|---|---|
| public static final Type Boolean | |
| Comment | back to summary |
|---|---|
| public static final Type Comment | |
| Element | back to summary |
|---|---|
| public static final Type Element | |
| Int | back to summary |
|---|---|
| public static final Type Int | |
| Node | back to summary |
|---|---|
| public static final Type Node | |
| NodeSet | back to summary |
|---|---|
| public static final Type NodeSet | |
| Object | back to summary |
|---|---|
| public static final Type Object | |
| ObjectString | back to summary |
|---|---|
| public static final Type ObjectString | |
| Processing_Instruction | back to summary |
|---|---|
| public static final Type Processing_Instruction | |
| Real | back to summary |
|---|---|
| public static final Type Real | |
| Reference | back to summary |
|---|---|
| public static final Type Reference | |
| ResultTree | back to summary |
|---|---|
| public static final Type ResultTree | |
| Root | back to summary |
|---|---|
| public static final Type Root | |
| String | back to summary |
|---|---|
| public static final Type String | |
| Text | back to summary |
|---|---|
| public static final Type Text | |
| Void | back to summary |
|---|---|
| public static final Type Void | |
| Type | back to summary |
|---|---|
| public Type() | |
| ADD | back to summary |
|---|---|
| public Instruction ADD() | |
| CMP | back to summary |
|---|---|
| public Instruction CMP(boolean less) | |
| distanceTo | back to summary |
|---|---|
| public int distanceTo(Type type) Returns the distance between two types. This measure is used to select overloaded functions/operators. This method is typically redefined by the subclasses. | |
| DIV | back to summary |
|---|---|
| public Instruction DIV() | |
| DUP | back to summary |
|---|---|
| public Instruction DUP() | |
| GE | back to summary |
|---|---|
| public BranchInstruction GE(boolean tozero) | |
| getClassName | back to summary |
|---|---|
| public String getClassName() Returns the class name of an internal type's external representation. | |
| GT | back to summary |
|---|---|
| public BranchInstruction GT(boolean tozero) | |
| identicalTo | back to summary |
|---|---|
| public abstract boolean identicalTo(Type other) Returns true if this and other are identical types. | |
| implementedAsMethod | back to summary |
|---|---|
| public boolean implementedAsMethod() Returns true if this type has no object representaion. Redefined in ResultTreeType. | |
| isNumber | back to summary |
|---|---|
| public boolean isNumber() Returns true if this type is a numeric type. Redefined in NumberType. | |
| isSimple | back to summary |
|---|---|
| public boolean isSimple() Returns true if this type is a simple type. Redefined in NumberType, BooleanType and StringType. | |
| LE | back to summary |
|---|---|
| public BranchInstruction LE(boolean tozero) | |
| LOAD | back to summary |
|---|---|
| public Instruction LOAD(int slot) | |
| LT | back to summary |
|---|---|
| public BranchInstruction LT(boolean tozero) | |
| MUL | back to summary |
|---|---|
| public Instruction MUL() | |
| NEG | back to summary |
|---|---|
| public Instruction NEG() | |
| newObjectType | back to summary |
|---|---|
| public static Type newObjectType(String javaClassName) Factory method to instantiate object types. Returns a pre-defined instance for "java.lang.Object" and "java.lang.String". | |
| newObjectType | back to summary |
|---|---|
| public static Type newObjectType(Class<?> clazz) Factory method to instantiate object types. Returns a pre-defined instance for java.lang.Object.class and java.lang.String.class. | |
| POP | back to summary |
|---|---|
| public Instruction POP() | |
| REM | back to summary |
|---|---|
| public Instruction REM() | |
| STORE | back to summary |
|---|---|
| public Instruction STORE(int slot) | |
| SUB | back to summary |
|---|---|
| public Instruction SUB() | |
| toJCType | back to summary |
|---|---|
| public abstract Type toJCType() | |
| toSignature | back to summary |
|---|---|
| public abstract String toSignature() Returns the signature of an internal type's external representation. | |
| toString | back to summary |
|---|---|
| public abstract String toString() Overrides java. Returns a string representation of this type. | |
| translateBox | back to summary |
|---|---|
| public void translateBox(ClassGenerator classGen, MethodGenerator methodGen) Translates an object of this type to its boxed representation. | |
| translateFrom | back to summary |
|---|---|
| public void translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Translates an external (Java) type denoted by | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type) Translates an object of this type to an object of type
| |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Translates an object of this type to the external (Java) type denoted
by | |
| translateToDesynthesized | back to summary |
|---|---|
| public FlowList translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, Type type) Translates object of this type to an object of type | |
| translateToDesynthesized | back to summary |
|---|---|
| public FlowList translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type) Translates an object of this type to an non-synthesized boolean. It does not push a 0 or a 1 but instead returns branchhandle list to be appended to the false list. | |
| translateUnBox | back to summary |
|---|---|
| public void translateUnBox(ClassGenerator classGen, MethodGenerator methodGen) Translates an object of this type to its unboxed representation. | |