#include <ucsym.h>
Inheritance diagram for Uc_function_symbol:
Public Types | |
typedef std::map< int, Uc_symbol * > | Sym_nums |
Public Member Functions | |
Uc_function_symbol (char *nm, int num, std::vector< char * > &p) | |
const std::vector< char * > & | get_parms () |
int | get_usecode_num () |
int | get_num_parms () |
virtual int | gen_call (vector< char > &out, Uc_function *fun, bool orig, Uc_expression *item, Uc_array_expression *parms, bool retvalue) |
Private Attributes | |
std::vector< char * > | parms |
int | usecode_num |
Static Private Attributes | |
static int | last_num |
static Sym_nums | nums_used |
Definition at line 171 of file ucsym.h.
typedef std::map<int, Uc_symbol *> Uc_function_symbol::Sym_nums |
Uc_function_symbol::Uc_function_symbol | ( | char * | nm, | |
int | num, | |||
std::vector< char * > & | p | |||
) |
Definition at line 271 of file ucsym.cc.
References Uc_location::yyerror().
Here is the call graph for this function:
const std::vector<char *>& Uc_function_symbol::get_parms | ( | ) | [inline] |
int Uc_function_symbol::get_usecode_num | ( | ) | [inline] |
Definition at line 187 of file ucsym.h.
References usecode_num.
Referenced by Uc_scope::add_function_symbol().
int Uc_function_symbol::get_num_parms | ( | ) | [inline] |
Definition at line 189 of file ucsym.h.
References parms.
Referenced by Uc_scope::add_function_symbol().
int Uc_function_symbol::gen_call | ( | vector< char > & | out, | |
Uc_function * | fun, | |||
bool | orig, | |||
Uc_expression * | item, | |||
Uc_array_expression * | parms, | |||
bool | retvalue | |||
) | [virtual] |
Reimplemented from Uc_symbol.
Definition at line 299 of file ucsym.cc.
References Uc_expression::gen_value(), Uc_item_expression::gen_value(), Uc_array_expression::get_exprs(), Uc_function::link(), UC_CALL, UC_CALLE, UC_CALLO, and Write2().
Here is the call graph for this function:
int Uc_function_symbol::last_num [static, private] |
Uc_function_symbol::Sym_nums Uc_function_symbol::nums_used [static, private] |
std::vector<char *> Uc_function_symbol::parms [private] |
int Uc_function_symbol::usecode_num [private] |