#include <ucfun.h>
Collaboration diagram for Uc_function:

Definition at line 40 of file ucfun.h.
| Uc_function::Uc_function | ( | Uc_function_symbol * | p | ) |
Definition at line 52 of file ucfun.cc.
References Uc_location::yyerror().
Here is the call graph for this function:

| void Uc_function::set_intrinsics | ( | Intrinsic_type | ty | ) | [static] |
| void Uc_function::set_statement | ( | Uc_statement * | s | ) | [inline] |
| void Uc_function::adjust_reloffset | ( | int | diff | ) | [inline] |
| int Uc_function::get_reloffset | ( | ) | const [inline] |
| void Uc_function::push_scope | ( | ) | [inline] |
Definition at line 84 of file ucfun.h.
References Uc_scope::add_scope(), and cur_scope.
Referenced by yyparse().
Here is the call graph for this function:

| void Uc_function::pop_scope | ( | ) | [inline] |
Definition at line 86 of file ucfun.h.
References cur_scope, and Uc_scope::get_parent().
Referenced by yyparse().
Here is the call graph for this function:

| Uc_symbol* Uc_function::search | ( | char * | nm | ) | [inline] |
Definition at line 90 of file ucfun.h.
References cur_scope, and Uc_scope::search().
Here is the call graph for this function:

| Uc_symbol* Uc_function::search_up | ( | char * | nm | ) | [inline] |
Definition at line 92 of file ucfun.h.
References cur_scope, globals, Uc_scope::search(), and Uc_scope::search_up().
Referenced by yyparse().
Here is the call graph for this function:

| static Uc_intrinsic_symbol* Uc_function::get_intrinsic | ( | int | i | ) | [inline, static] |
Definition at line 97 of file ucfun.h.
References intrinsics.
Referenced by get_add_answer(), get_pop_answers(), get_push_answers(), get_remove_answer(), get_remove_face(), get_show_face(), and yyparse().
| static Uc_intrinsic_symbol* Uc_function::get_add_answer | ( | ) | [inline, static] |
Definition at line 99 of file ucfun.h.
References add_answer, and get_intrinsic().
Referenced by yyparse().
Here is the call graph for this function:

| static Uc_intrinsic_symbol* Uc_function::get_remove_answer | ( | ) | [inline, static] |
Definition at line 101 of file ucfun.h.
References get_intrinsic(), and remove_answer.
Referenced by yyparse().
Here is the call graph for this function:

| static Uc_intrinsic_symbol* Uc_function::get_push_answers | ( | ) | [inline, static] |
Definition at line 103 of file ucfun.h.
References get_intrinsic(), and push_answers.
Here is the call graph for this function:

| static Uc_intrinsic_symbol* Uc_function::get_pop_answers | ( | ) | [inline, static] |
Definition at line 105 of file ucfun.h.
References get_intrinsic(), and pop_answers.
Here is the call graph for this function:

| static Uc_intrinsic_symbol* Uc_function::get_show_face | ( | ) | [inline, static] |
Definition at line 107 of file ucfun.h.
References get_intrinsic(), and show_face.
Referenced by yyparse().
Here is the call graph for this function:

| static Uc_intrinsic_symbol* Uc_function::get_remove_face | ( | ) | [inline, static] |
Definition at line 109 of file ucfun.h.
References get_intrinsic(), and remove_face.
Referenced by yyparse().
Here is the call graph for this function:

| bool Uc_function::is_dup | ( | Uc_scope * | scope, | |
| char * | nm | |||
| ) | [static] |
Definition at line 101 of file ucfun.cc.
References Uc_scope::search(), and Uc_location::yyerror().
Here is the call graph for this function:

| Uc_var_symbol * Uc_function::add_symbol | ( | char * | nm | ) |
Definition at line 139 of file ucfun.cc.
Referenced by Uc_arrayloop_statement::finish(), Uc_expression::need_var(), and yyparse().
| void Uc_function::add_static | ( | char * | nm | ) |
| int Uc_function::add_function_symbol | ( | Uc_function_symbol * | fun | ) | [inline] |
Definition at line 115 of file ucfun.h.
References Uc_scope::add_function_symbol(), and cur_scope.
Referenced by yyparse().
Here is the call graph for this function:

| static int Uc_function::add_global_function_symbol | ( | Uc_function_symbol * | fun | ) | [inline, static] |
Definition at line 117 of file ucfun.h.
References Uc_scope::add_function_symbol(), and globals.
Referenced by yyparse().
Here is the call graph for this function:

| Uc_symbol * Uc_function::add_string_symbol | ( | char * | nm, | |
| char * | text | |||
| ) |
| Uc_symbol * Uc_function::add_int_const_symbol | ( | char * | nm, | |
| int | value | |||
| ) |
| Uc_symbol * Uc_function::add_global_int_const_symbol | ( | char * | nm, | |
| int | val | |||
| ) | [static] |
| void Uc_function::add_global_static | ( | char * | nm | ) | [static] |
| int Uc_function::add_string | ( | char * | text | ) |
| int Uc_function::find_string_prefix | ( | Uc_location & | loc, | |
| const char * | text | |||
| ) |
Definition at line 280 of file ucfun.cc.
References Uc_location::error(), and len.
Referenced by Uc_string_prefix_expression::get_string_offset().
Here is the call graph for this function:

| void Uc_function::add_label | ( | Uc_label * | l | ) | [inline] |
Definition at line 128 of file ucfun.h.
References Uc_label::get_name(), and labels.
Referenced by yyparse().
Here is the call graph for this function:

| Uc_label * Uc_function::search_label | ( | char * | nm | ) |
| void Uc_function::start_breakable | ( | Uc_statement * | s | ) |
| void Uc_function::end_breakable | ( | Uc_statement * | s, | |
| vector< char > & | stmt_code | |||
| ) |
| void Uc_function::add_break | ( | int | op_offset | ) |
Definition at line 360 of file ucfun.cc.
References Uc_location::yyerror().
Here is the call graph for this function:

| int Uc_function::link | ( | Uc_function_symbol * | fun | ) |
Definition at line 378 of file ucfun.cc.
References offset.
Referenced by Uc_function_symbol::gen_call().
| void Uc_function::link_labels | ( | std::vector< char > & | code | ) |
| void Uc_function::gen | ( | std::ostream & | out | ) |
Uc_scope Uc_function::globals [static, private] |
vector< Uc_intrinsic_symbol * > Uc_function::intrinsics [static, private] |
int Uc_function::add_answer [static, private] |
int Uc_function::remove_answer [static, private] |
int Uc_function::push_answers [static, private] |
int Uc_function::pop_answers [static, private] |
int Uc_function::show_face [static, private] |
int Uc_function::remove_face [static, private] |
int Uc_function::num_global_statics [static, private] |
Uc_scope Uc_function::top [private] |
Uc_function_symbol* Uc_function::proto [private] |
Uc_scope* Uc_function::cur_scope [private] |
Definition at line 51 of file ucfun.h.
Referenced by add_function_symbol(), pop_scope(), push_scope(), search(), and search_up().
int Uc_function::num_parms [private] |
int Uc_function::num_locals [private] |
int Uc_function::num_statics [private] |
vector<Uc_statement *> Uc_function::breakables [private] |
vector<int> Uc_function::breaks [private] |
std::vector<Uc_function_symbol *> Uc_function::links [private] |
std::map<std::string, Uc_label *> Uc_function::labels [private] |
char* Uc_function::text_data [private] |
int Uc_function::text_data_size [private] |
std::map<std::string, int> Uc_function::text_map [private] |
Uc_statement* Uc_function::statement [private] |
int Uc_function::reloffset [private] |
1.5.1