Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

j2s_Utils Class Reference

Miscellaneous useful routines for SUIF constructs. More...

#include <j2s_utils.h>

List of all members.

Static Public Methods

IntegerType* long_type ()
IntegerType* int_type ()
IntegerType* char_type ()
IntegerType* size_t_type ()
VoidType* void_type ()
BooleanType* boolean_type ()
DataType* comparison_type ()
QualifiedType* qualify_type ( DataType* dtype )
PointerType* pointer_to (Type* referenced_type)
PointerType* void_pointer ()
PointerType* char_pointer ()
PointerType* char_pointer_pointer ()
PointerType* int_pointer ()
DataType* get_open_array (DataType* basetype)
ArrayType* get_array ( unsigned length, DataType* basetype )
ArrayType* get_char_array ( unsigned length )
PointerType* get_pointer_to_open_array (DataType* basetype)
GroupType* build_StructType ( const LString& name, bool completeness= true )
GroupType* build_incomplete_StructType ( const LString& name )
void add_field ( GroupType* gtype, const LString& name, DataType *dtype, IInteger offset= IInteger() )
void set_fields_are_complete ( GroupType* gtype )
IInteger pointer_size ()
IInteger byte_size (Type* t)
IInteger to_bit_size (IInteger byte_size)
IInteger to_bit_size (int byte_size)
int procedure_alignment ()
String build_string (char* str_suffix, int number_prefix)
FileSetBlock* get_file_set_block ()
SymbolTable* get_file_set_symbol_table ()
SymbolTable* get_external_symbol_table ()
void insert_symbol ( SymbolTable*, Symbol* sym )
void add_symbol ( SymbolTable*, Symbol* sym )
VariableSymbol* add_variable_symbol ( SymbolTable* symtab, DataType* dtype, const LString& name = emptyString )
Symbol* find_symbol ( SymbolTable* symtab, const LString& name )
VariableSymbol* get_variable_symbol ( SymbolTable* symtab, const LString& name, DataType* dtype )
void insert_global_external_symbol ( Symbol* sym )
void add_global_external_symbol ( Symbol* sym )
Symbol* find_global_external_symbol ( const LString& name )
VariableSymbol* lookup_global_external_variable ( const LString& name )
VariableSymbol* insert_global_external_variable (DataType* var_type, const LString& var_name)
void insert_global_external_procedure ( ProcedureType* ptype, const LString& name )
ProcedureSymbol* get_global_external_procedure ( ProcedureType* ptype, const LString& name )
ProcedureSymbol* find_global_external_procedure (const LString& name )
VariableSymbol* add_global_external_variable ( DataType* dtype, const LString& name = emptyString )
VariableSymbol* get_global_external_variable ( DataType* symbol_type, const LString& name = emptyString )
void add_file_set_sto ( SymbolTableObject* sto )
void add_file_set_symbol ( Symbol* sym )
Symbol* find_file_set_symbol ( const LString& name )
void insert_file_set_symbol ( Symbol* sym )
void insert_file_set_procedure (ProcedureType* ptype, const LString& name)
ProcedureSymbol* find_file_set_procedure (const LString& name)
ProcedureSymbol* get_file_set_procedure (ProcedureType* ptype, const LString& name)
VariableSymbol* get_file_set_variable_symbol ( const LString& name, DataType* symbol_type )
FileBlock* add_file_to_fsb ( FileSetBlock *fsb, String infile, String outfile = emptyString )
void add_variable_def (FileBlock* fb, VariableDefinition* vdef)
VariableDefinition* add_variable_def ( DefinitionBlock* dblock, VariableSymbol* vsym, ValueBlock* vblock = NULL, bool is_static = false )
ParameterSymbol* add_formal_parameter (ProcedureDefinition* pdef, const LString& parameter_name, DataType* parameter_type)
void add_procedure_def (FileBlock* fb, ProcedureDefinition* pdef)
void add_procedure_def (FileBlock* fb, jhl_Method* method, j2s_OSUIFObjLayout* ol, ProcedureDefinition* pdef)
SymbolAddressExpression* build_SymbolAddressExpression (Symbol* sym, bool adr_taken= false)
Expression* build_load_array_reference_instr (VariableSymbol* vsym, IInteger index)
Expression* build_load_array_reference_instr (Expression* address_op, IInteger index)
Expression* build_load_array_elem_instr (VariableSymbol* vsym, IInteger index)
Expression* build_load_array_elem_instr (Expression* address_op, IInteger index)
Expression* build_load_field_reference_instr (VariableSymbol* vsym, FieldSymbol* fsym)
Expression* build_load_field_reference_instr (Expression* address_op, FieldSymbol* fsym)
Expression* build_load_field_instr (VariableSymbol* vsym, FieldSymbol* fsym)
Expression* build_load_field_instr (Expression* address_op, FieldSymbol* fsym)
Expression* build_field_access_array_reference_instr (VariableSymbol* gtype_vsym, FieldSymbol* fsym, IInteger index)
Expression* build_field_access_array_reference_instr (Expression* gtype_address_op, FieldSymbol* fsym, IInteger index)
Expression* build_field_access_array_reference_instr (Expression* gtype_address_op, FieldSymbol* fsym, Expression* index_op)
IntConstant* build_IntConstant ( IInteger i_cnst, DataType* dtype )
IntConstant* build_IntConstant ( IInteger i_cnst )
IntConstant* build_zero_IntConstant ( DataType* dtype )
IntConstant* build_zero_IntConstant ()
IntConstant* build_null_instr (DataType* dtype)
IntConstant* build_null_instr ()
FloatConstant* build_FloatConstant ( String value, DataType* dtype )
FloatConstant* build_zero_FloatConstant ( DataType* dtype )
Constantbuild_zero_Constant ( DataType* dtype )
CallExpression* build_CallExpression ( Expression* callee_address, DataType* result_type = NULL )
CallExpression* build_CallExpression ( Expression* callee_address, DataType* result_type, Expression* arg_0 )
CallExpression* build_CallExpression ( Expression* callee_address, DataType* result_type, Expression* arg_0, Expression* arg_1 )
CallExpression* build_CallExpression ( Expression* callee_address, DataType* result_type, Expression* arg_0, Expression* arg_1, Expression* arg_2 )
CallExpression* build_CallExpression ( ProcedureSymbol* psym )
CallExpression* build_CallExpression ( ProcedureSymbol* psym, Expression* arg_0 )
CallExpression* build_CallExpression ( ProcedureSymbol* psym, Expression* arg_0, Expression* arg_1 )
CallExpression* build_CallExpression ( ProcedureSymbol* psym, Expression* arg_0, Expression* arg_1, Expression* arg_2 )
CallExpression* append_argument ( CallExpression* cinstr, Expression* new_arg )
CallExpression* prepend_argument ( CallExpression* cinstr, Expression* new_arg )
CallExpression* replace_argument ( CallExpression* cinstr, int pos, Expression* expr )
Expression* build_LoadExpression ( Expression* expr )
Expression* build_treat_as_instr ( DataType* new_type, Expression* instr )
Expression* build_treat_as_instr ( VariableSymbol* vsym, Expression* s_op )
Expression* build_convert_instr ( DataType* new_type, Expression* instr )
Expression* build_convert_instr ( VariableSymbol* vsym, Expression* s_op )
Expression* build_pointer_convert_instr ( DataType* new_type, Expression* s_op )
Expression* build_convert_to_unsigned ( DataType* signed_type, Expression* s_op )
Expression* build_convert_to_unsigned ( VariableSymbol* vsym, Expression* s_op )
Expression* build_negate_UnaryExpression ( Expression* expr )
Expression* build_logical_not_UnaryExpression ( Expression* expr )
BinaryExpression* build_BinaryExpression ( LString binary_instr, Expression* s_op1, Expression* s_op2, DataType* result_type= comparison_type() )
BinaryExpression* build_is_less_than_instr (Expression* s_op1, Expression* s_op2)
BinaryExpression* build_is_less_than_zero_instr (Expression* s_op)
BinaryExpression* build_divide_instr (NumericType* the_type, Constant* c1, Constant* c2)
BinaryExpression* build_fp_divide_instr (FloatingPointType* the_type, String c1, String c2)
Expression* build_NaN_op ( FloatingPointType* the_type )
Expression* build_plusInfinity_op ( FloatingPointType* the_type )
Expression* build_minusInfinity_op ( FloatingPointType* the_type )
ByteSizeOfExpression* build_ByteSizeOfExpression ( Type* type )
BranchStatement* build_branch_if_true ( Expression* decision_op, CodeLabelSymbol* target_label )
BranchStatement* build_branch_if_false ( Expression* decision_op, CodeLabelSymbol* target_label )
BranchStatement* build_branch_if_equal ( Expression* cmp1_op, Expression* cmp2_op, CodeLabelSymbol* target_label )
Statement* build_EvalStatement ( Expression* instr )
void append_eval_stmt (StatementList* slist, Expression* instr)
Statement* build_StoreVariableStatement ( Expression* src, VariableSymbol* dst )
CallStatement* build_CallStatement ( Expression* callee_address, VariableSymbol* dest = NULL )
CallStatement* build_CallStatement ( Expression* callee_address, VariableSymbol* dest, Expression* arg_0 )
CallStatement* build_CallStatement ( ProcedureSymbol* psym, VariableSymbol* dest = NULL )
CallStatement* build_CallStatement ( ProcedureSymbol* psym, VariableSymbol* dest, Expression* arg_0 )
ExpressionValueBlock* build_long_cvb (long value)
ExpressionValueBlock* build_long_cvb (IInteger value)
ExpressionValueBlock* build_int_cvb (int value)
ExpressionValueBlock* build_int_cvb (IInteger value)
ExpressionValueBlock* build_char_cvb (char value)
ExpressionValueBlock* build_NULL_cvb ()
ExpressionValueBlock* build_NULL_cvb (Type* basetype)
void append_long_cvb (MultiValueBlock* mvb, long value)
void append_long_cvb (MultiValueBlock* mvb, IInteger value)
void append_int_cvb (MultiValueBlock* mvb, int value)
void append_int_cvb (MultiValueBlock* mvb, IInteger value)
void append_NULL_cvb (MultiValueBlock*mvb)
void append_NULL_cvb (MultiValueBlock*mvb, Type* basetype)
void append_instr_evb ( MultiValueBlock* mvb, Expression* src_op )
ExpressionValueBlock* build_SymbolAddressExpression_evb ( Symbol* vsym, bool adr_taken )
void append_load_address_instr_evb ( MultiValueBlock* mvb, Symbol* vsym, bool adr_taken )
ExpressionValueBlock* build_ByteSizeOfExpression_evb ( Type* type )
ProcedureDefinition* build_procedure_definition_skeleton (jhl_Method* method, j2s_OSUIFObjLayout* ol)
CProcedureType* append_parameter ( CProcedureType* ptype, DataType* new_parameter )
CProcedureType* prepend_parameter ( CProcedureType* ptype, DataType* new_parameter )
void append_eh_parameter ( list<QualifiedType *>& argument_list )
CProcedureType* append_except_obj_parameter (ProcedureType* bptype)
void insert_group_type_sizes (GroupType* gtype)
void check_group_type_size (GroupType* gtype, int size)
bool void_result_type ( CProcedureType* ptype )
void set_complete ( ClassType* ctype )
void set_methods_are_complete ( ClassType* ctype )
StaticFieldSymbol* add_StaticFieldSymbol ( ClassType* ctype, const LString& name, DataType* dtype )
StaticMethodSymbol* add_StaticMethodSymbol ( ClassType* ctype, const LString& name, StaticMethodType* mtype )
InstanceFieldSymbol* add_InstanceFieldSymbol ( ClassType* ctype, const LString& name, DataType* dtype )
InstanceMethodSymbol* add_InstanceMethodSymbol ( ClassType* ctype, const LString& name, InstanceMethodType* mtype )
JavaClass* add_JavaClass ( SymbolTable* symtab, const LString& name, bool incomplete = true )
JavaInterface* add_JavaInterface ( SymbolTable* symtab, const LString& name, bool incomplete = true )
JavaArray* add_JavaArray ( SymbolTable* symtab, DataType* element_type, const LString& name, bool incomplete = true )
void add_java_attributes ( jhl_AccessFlags* flags, Symbol* sym )
void add_java_attributes (jhl_Method* method, Symbol* sym)
void add_java_attributes (jhl_Field* field, Symbol* sym)
void add_java_attributes (jhl_Unit* unit, ClassType* ctype)


Detailed Description

Miscellaneous useful routines for SUIF constructs.

This class is not instantiable and contains only static methods.


Member Function Documentation

InstanceFieldSymbol * j2s_Utils::add_InstanceFieldSymbol ( ClassType * ctype,
const LString & name,
DataType * dtype) [static]

InstanceMethodSymbol * j2s_Utils::add_InstanceMethodSymbol ( ClassType * ctype,
const LString & name,
InstanceMethodType * mtype) [static]

JavaArray * j2s_Utils::add_JavaArray ( SymbolTable * symtab,
DataType * element_type,
const LString & name,
bool incomplete = true) [static]

JavaClass * j2s_Utils::add_JavaClass ( SymbolTable * symtab,
const LString & name,
bool incomplete = true) [static]

JavaInterface * j2s_Utils::add_JavaInterface ( SymbolTable * symtab,
const LString & name,
bool incomplete = true) [static]

StaticFieldSymbol * j2s_Utils::add_StaticFieldSymbol ( ClassType * ctype,
const LString & name,
DataType * dtype) [static]

StaticMethodSymbol * j2s_Utils::add_StaticMethodSymbol ( ClassType * ctype,
const LString & name,
StaticMethodType * mtype) [static]

void j2s_Utils::add_field ( GroupType * gtype,
const LString & name,
DataType * dtype,
IInteger offset = IInteger()) [static]

void j2s_Utils::add_file_set_sto ( SymbolTableObject * sto) [static]

void j2s_Utils::add_file_set_symbol ( Symbol * sym) [static]

FileBlock * j2s_Utils::add_file_to_fsb ( FileSetBlock * fsb,
String file_name,
String output_file_name = emptyString) [static]

ParameterSymbol * j2s_Utils::add_formal_parameter ( ProcedureDefinition * pdef,
const LString & name,
DataType * parameter_type) [static]

void j2s_Utils::add_global_external_symbol ( Symbol * sym) [static]

VariableSymbol * j2s_Utils::add_global_external_variable ( DataType * dtype,
const LString & name = emptyString) [static]

void j2s_Utils::add_java_attributes ( jhl_Unit * unit,
ClassType * ctype) [static]

void j2s_Utils::add_java_attributes ( jhl_Field * field,
Symbol * sym) [static]

void j2s_Utils::add_java_attributes ( jhl_Method * method,
Symbol * sym) [static]

void j2s_Utils::add_java_attributes ( jhl_AccessFlags * flags,
Symbol * sym) [static]

void j2s_Utils::add_procedure_def ( FileBlock * fb,
jhl_Method * method,
j2s_OSUIFObjLayout * ol,
ProcedureDefinition * pdef) [static]

void j2s_Utils::add_procedure_def ( FileBlock * fb,
ProcedureDefinition * pdef) [static]

void j2s_Utils::add_symbol ( SymbolTable * symtab,
Symbol * sym) [static]

VariableDefinition * j2s_Utils::add_variable_def ( DefinitionBlock * dblock,
VariableSymbol * vsym,
ValueBlock * vblock = NULL,
bool is_static = false) [static]

void j2s_Utils::add_variable_def ( FileBlock * fb,
VariableDefinition * vdef) [static]

VariableSymbol * j2s_Utils::add_variable_symbol ( SymbolTable * symtab,
DataType * dtype,
const LString & name = emptyString) [static]

void j2s_Utils::append_NULL_cvb ( MultiValueBlock * mvb,
Type * basetype) [static]

void j2s_Utils::append_NULL_cvb ( MultiValueBlock * mvb) [static]

CallExpression * j2s_Utils::append_argument ( CallExpression * cexpr,
Expression * new_arg) [static]

void j2s_Utils::append_eh_parameter ( list<QualifiedType *>& argument_list) [static]

void j2s_Utils::append_eval_stmt ( StatementList * slist,
Expression * instr) [static]

CProcedureType * j2s_Utils::append_except_obj_parameter ( ProcedureType * ptype) [static]

void j2s_Utils::append_instr_evb ( MultiValueBlock * mvb,
Expression * src_op) [static]

void j2s_Utils::append_int_cvb ( MultiValueBlock * mvb,
IInteger value) [static]

void j2s_Utils::append_int_cvb ( MultiValueBlock * mvb,
int value) [static]

void j2s_Utils::append_load_address_instr_evb ( MultiValueBlock * mvb,
Symbol * vsym,
bool adr_taken) [static]

void j2s_Utils::append_long_cvb ( MultiValueBlock * mvb,
IInteger value) [static]

void j2s_Utils::append_long_cvb ( MultiValueBlock * mvb,
long value) [static]

CProcedureType * j2s_Utils::append_parameter ( CProcedureType * bptype,
DataType * new_parameter) [static]

BooleanType * j2s_Utils::boolean_type () [static]

BinaryExpression * j2s_Utils::build_BinaryExpression ( LString binary_instr,
Expression * s_op1,
Expression * s_op2,
DataType * result_type = comparison_type()) [static]

ByteSizeOfExpression * j2s_Utils::build_ByteSizeOfExpression ( Type * type) [static]

ExpressionValueBlock * j2s_Utils::build_ByteSizeOfExpression_evb ( Type * type) [static]

CallExpression * j2s_Utils::build_CallExpression ( ProcedureSymbol * psym,
Expression * arg_0,
Expression * arg_1,
Expression * arg_2) [static]

CallExpression * j2s_Utils::build_CallExpression ( ProcedureSymbol * psym,
Expression * arg_0,
Expression * arg_1) [static]

CallExpression * j2s_Utils::build_CallExpression ( ProcedureSymbol * psym,
Expression * arg_0) [static]

CallExpression * j2s_Utils::build_CallExpression ( ProcedureSymbol * psym) [static]

CallExpression * j2s_Utils::build_CallExpression ( Expression * callee_address,
DataType * result_type,
Expression * arg_0,
Expression * arg_1,
Expression * arg_2) [static]

CallExpression * j2s_Utils::build_CallExpression ( Expression * callee_address,
DataType * result_type,
Expression * arg_0,
Expression * arg_1) [static]

CallExpression * j2s_Utils::build_CallExpression ( Expression * callee_address,
DataType * result_type,
Expression * arg_0) [static]

CallExpression * j2s_Utils::build_CallExpression ( Expression * callee_address,
DataType * result_type = NULL) [static]

CallStatement * j2s_Utils::build_CallStatement ( ProcedureSymbol * psym,
VariableSymbol * dest,
Expression * arg_0) [static]

CallStatement * j2s_Utils::build_CallStatement ( ProcedureSymbol * psym,
VariableSymbol * dest = NULL) [static]

CallStatement * j2s_Utils::build_CallStatement ( Expression * callee_address,
VariableSymbol * dest,
Expression * arg_0) [static]

CallStatement * j2s_Utils::build_CallStatement ( Expression * callee_address,
VariableSymbol * dest = NULL) [static]

Statement * j2s_Utils::build_EvalStatement ( Expression * instr) [static]

FloatConstant * j2s_Utils::build_FloatConstant ( String value,
DataType * dtype) [static]

IntConstant * j2s_Utils::build_IntConstant ( IInteger i_cnst) [static]

IntConstant * j2s_Utils::build_IntConstant ( IInteger i_cnst,
DataType * dtype) [static]

Expression * j2s_Utils::build_LoadExpression ( Expression * expr) [static]

ExpressionValueBlock * j2s_Utils::build_NULL_cvb ( Type * basetype) [static]

ExpressionValueBlock * j2s_Utils::build_NULL_cvb () [static]

Expression * j2s_Utils::build_NaN_op ( FloatingPointType * the_type) [static]

Statement * j2s_Utils::build_StoreVariableStatement ( Expression * source,
VariableSymbol * destination) [static]

GroupType * j2s_Utils::build_StructType ( const LString & name,
bool completeness = true) [static]

SymbolAddressExpression * j2s_Utils::build_SymbolAddressExpression ( Symbol * sym,
bool adr_taken = false) [static]

ExpressionValueBlock * j2s_Utils::build_SymbolAddressExpression_evb ( Symbol * vsym,
bool adr_taken) [static]

BranchStatement * j2s_Utils::build_branch_if_equal ( Expression * cmp1_op,
Expression * cmp2_op,
CodeLabelSymbol * target_label) [static]

BranchStatement * j2s_Utils::build_branch_if_false ( Expression * decision_op,
CodeLabelSymbol * target_label) [static]

BranchStatement * j2s_Utils::build_branch_if_true ( Expression * decision_op,
CodeLabelSymbol * target_label) [static]

ExpressionValueBlock * j2s_Utils::build_char_cvb ( char value) [static]

Expression * j2s_Utils::build_convert_instr ( VariableSymbol * vsym,
Expression * s_op) [static]

Expression * j2s_Utils::build_convert_instr ( DataType * new_type,
Expression * s_op) [static]

Expression * j2s_Utils::build_convert_to_unsigned ( VariableSymbol * vsym,
Expression * s_op) [static]

Expression * j2s_Utils::build_convert_to_unsigned ( DataType * signed_type,
Expression * s_op) [static]

BinaryExpression * j2s_Utils::build_divide_instr ( NumericType * the_type,
Constant * c1,
Constant * c2) [static]

Expression * j2s_Utils::build_field_access_array_reference_instr ( Expression * gtype_address_op,
FieldSymbol * fsym,
Expression * index_op) [static]

Expression * j2s_Utils::build_field_access_array_reference_instr ( Expression * gtype_address_op,
FieldSymbol * fsym,
IInteger index) [static]

Expression * j2s_Utils::build_field_access_array_reference_instr ( VariableSymbol * gtype_vsym,
FieldSymbol * fsym,
IInteger index) [static]

BinaryExpression * j2s_Utils::build_fp_divide_instr ( FloatingPointType * the_type,
String c1,
String c2) [static]

GroupType * j2s_Utils::build_incomplete_StructType ( const LString & name) [static]

ExpressionValueBlock * j2s_Utils::build_int_cvb ( IInteger value) [static]

ExpressionValueBlock * j2s_Utils::build_int_cvb ( int value) [static]

BinaryExpression * j2s_Utils::build_is_less_than_instr ( Expression * s_op1,
Expression * s_op2) [static]

BinaryExpression * j2s_Utils::build_is_less_than_zero_instr ( Expression * s_op) [static]

Expression * j2s_Utils::build_load_array_elem_instr ( Expression * address_op,
IInteger index) [static]

Expression * j2s_Utils::build_load_array_elem_instr ( VariableSymbol * vsym,
IInteger index) [static]

Expression * j2s_Utils::build_load_array_reference_instr ( Expression * address_op,
IInteger index) [static]

Expression * j2s_Utils::build_load_array_reference_instr ( VariableSymbol * vsym,
IInteger index) [static]

Expression * j2s_Utils::build_load_field_instr ( Expression * address_op,
FieldSymbol * fsym) [static]

Expression * j2s_Utils::build_load_field_instr ( VariableSymbol * vsym,
FieldSymbol * fsym) [static]

Expression * j2s_Utils::build_load_field_reference_instr ( Expression * address_op,
FieldSymbol * fsym) [static]

Expression * j2s_Utils::build_load_field_reference_instr ( VariableSymbol * vsym,
FieldSymbol * fsym) [static]

Expression * j2s_Utils::build_logical_not_UnaryExpression ( Expression * expr) [static]

ExpressionValueBlock * j2s_Utils::build_long_cvb ( IInteger value) [static]

ExpressionValueBlock * j2s_Utils::build_long_cvb ( long value) [static]

Expression * j2s_Utils::build_minusInfinity_op ( FloatingPointType * the_type) [static]

Expression * j2s_Utils::build_negate_UnaryExpression ( Expression * expr) [static]

IntConstant * j2s_Utils::build_null_instr () [static]

IntConstant * j2s_Utils::build_null_instr ( DataType * dtype) [static]

Expression * j2s_Utils::build_plusInfinity_op ( FloatingPointType * the_type) [static]

Expression * j2s_Utils::build_pointer_convert_instr ( DataType * new_type,
Expression * s_op) [static]

ProcedureDefinition * j2s_Utils::build_procedure_definition_skeleton ( jhl_Method * method,
j2s_OSUIFObjLayout * ol) [static]

String j2s_Utils::build_string ( char * str,
int no) [static]

Expression * j2s_Utils::build_treat_as_instr ( VariableSymbol * vsym,
Expression * s_op) [static]

Expression * j2s_Utils::build_treat_as_instr ( DataType * new_type,
Expression * s_op) [static]

Constant * j2s_Utils::build_zero_Constant ( DataType * dtype) [static]

FloatConstant * j2s_Utils::build_zero_FloatConstant ( DataType * dtype) [static]

IntConstant * j2s_Utils::build_zero_IntConstant () [static]

IntConstant * j2s_Utils::build_zero_IntConstant ( DataType * dtype) [static]

IInteger j2s_Utils::byte_size ( Type * t) [static]

PointerType * j2s_Utils::char_pointer () [static]

PointerType * j2s_Utils::char_pointer_pointer () [static]

IntegerType * j2s_Utils::char_type () [static]

void j2s_Utils::check_group_type_size ( GroupType * gtype,
int size) [static]

DataType * j2s_Utils::comparison_type () [static]

ProcedureSymbol * j2s_Utils::find_file_set_procedure ( const LString & pname) [static]

Symbol * j2s_Utils::find_file_set_symbol ( const LString & name) [static]

ProcedureSymbol * j2s_Utils::find_global_external_procedure ( const LString & pname) [static]

Symbol * j2s_Utils::find_global_external_symbol ( const LString & symbol_name) [static]

Symbol * j2s_Utils::find_symbol ( SymbolTable * symtab,
const LString & name) [static]

ArrayType * j2s_Utils::get_array ( unsigned length,
DataType * basetype) [static]

ArrayType * j2s_Utils::get_char_array ( unsigned length) [static]

SymbolTable * j2s_Utils::get_external_symbol_table () [static]

FileSetBlock * j2s_Utils::get_file_set_block ( void) [static]

ProcedureSymbol * j2s_Utils::get_file_set_procedure ( ProcedureType * ptype,
const LString & name) [static]

SymbolTable * j2s_Utils::get_file_set_symbol_table () [static]

VariableSymbol * j2s_Utils::get_file_set_variable_symbol ( const LString & name,
DataType * symbol_type) [static]

ProcedureSymbol * j2s_Utils::get_global_external_procedure ( ProcedureType * ptype,
const LString & name) [static]

VariableSymbol * j2s_Utils::get_global_external_variable ( DataType * symbol_type,
const LString & symbol_name = emptyString) [static]

DataType * j2s_Utils::get_open_array ( DataType * basetype) [static]

PointerType * j2s_Utils::get_pointer_to_open_array ( DataType * basetype) [static]

VariableSymbol * j2s_Utils::get_variable_symbol ( SymbolTable * symtab,
const LString & symbol_name,
DataType * symbol_type) [static]

void j2s_Utils::insert_file_set_procedure ( ProcedureType * type,
const LString & name) [static]

void j2s_Utils::insert_file_set_symbol ( Symbol * sym) [static]

void j2s_Utils::insert_global_external_procedure ( ProcedureType * ptype,
const LString & name) [static]

void j2s_Utils::insert_global_external_symbol ( Symbol * sym) [static]

VariableSymbol * j2s_Utils::insert_global_external_variable ( DataType * var_type,
const LString & name) [static]

void j2s_Utils::insert_group_type_sizes ( GroupType * gtype) [static]

void j2s_Utils::insert_symbol ( SymbolTable * symtab,
Symbol * sym) [static]

PointerType * j2s_Utils::int_pointer () [static]

IntegerType * j2s_Utils::int_type () [static]

IntegerType * j2s_Utils::long_type () [static]

VariableSymbol * j2s_Utils::lookup_global_external_variable ( const LString & symbol_name) [static]

IInteger j2s_Utils::pointer_size () [static]

PointerType * j2s_Utils::pointer_to ( Type * type) [static]

CallExpression * j2s_Utils::prepend_argument ( CallExpression * cexpr,
Expression * new_arg) [static]

CProcedureType * j2s_Utils::prepend_parameter ( CProcedureType * ptype,
DataType * new_parameter) [static]

int j2s_Utils::procedure_alignment () [static]

QualifiedType * j2s_Utils::qualify_type ( DataType * dtype) [static]

CallExpression * j2s_Utils::replace_argument ( CallExpression * cexpr,
int pos,
Expression * expr) [static]

void j2s_Utils::set_complete ( ClassType * ctype) [static]

void j2s_Utils::set_fields_are_complete ( GroupType * gtype) [static]

void j2s_Utils::set_methods_are_complete ( ClassType * ctype) [static]

IntegerType * j2s_Utils::size_t_type () [static]

IInteger j2s_Utils::to_bit_size ( int byte_size) [static]

IInteger j2s_Utils::to_bit_size ( IInteger byte_size) [static]

PointerType * j2s_Utils::void_pointer () [static]

bool j2s_Utils::void_result_type ( CProcedureType * ptype) [static]

VoidType * j2s_Utils::void_type () [static]


The documentation for this class was generated from the following files:
Generated at Mon Jul 31 13:43:34 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000