Public Types |
enum | type_kind {
t_int = 1,
t_long,
t_float,
t_double,
t_reference,
t_returnAddress,
t_invalid
} |
enum | ret_type_kind {
rt_int = 1,
rt_long,
rt_float,
rt_double,
rt_reference,
rt_void
} |
Public Methods |
char* | name () const |
type_kind | kind () const |
bool | is_int () const |
bool | is_long () const |
bool | is_float () const |
bool | is_double () const |
bool | is_reference () const |
bool | is_returnAddress () const |
bool | is_32bit () const |
bool | is_64bit () const |
jhl_ArrayclassOrUnitType* | reference () const |
void | set_reference (jhl_ArrayclassOrUnitType* ref) |
bool | is_invalid () const |
Static Public Methods |
jhl_Array<jhl_Unit>* | superclass_hierarchy (jhl_Unit* u) |
void | print_superclass_hierarchy (jhl_Array<jhl_Unit>* chain) |
bool | is_in_class_hierarchy (jhl_Unit* u, jhl_Array<jhl_Unit>* hierarchy) |
bool | is_subtype (jhl_Unit* subtype, jhl_Unit* supertype) |
ret_type_kind | transfer_type (jhl_FieldType* ft) |
DataType* | get_suif_type (type_kind k) |
DataType* | get_suif_type (jhl_Unit* unit, j2s_OSUIFObjLayout* ol) |
Protected Methods |
| j2s_Word (j2s_Word&) |
j2s_Word& | operator= (j2s_Word&) |
| j2s_Word () |
| j2s_Word (type_kind k, jhl_ArrayclassOrUnitType* ref) |
virtual | ~j2s_Word () |
bool | merge_references (jhl_ArrayclassOrUnitType* ref) |
bool | merge_units (jhl_Unit* ref) |
Protected Attributes |
char* | _name |
type_kind | _type_kind |
jhl_ArrayclassOrUnitType* | _reference |
Static Protected Methods |
const char* | type2str (type_kind k) |
Static Protected Attributes |
int const | hierarchy_depth_init = 5 |
const char* const | int_str_suffix = "int" |
const char* const | long_str_suffix = "long" |
const char* const | float_str_suffix = "float" |
const char* const | double_str_suffix = "double" |
const char* const | reference_str_suffix = "ref" |
const char* const | returnAddress_str_suffix = "retAdr" |