#include <ucsym.h>
Inheritance diagram for Uc_symbol:
Public Member Functions | |
Uc_symbol (char *nm) | |
const char * | get_name () |
virtual int | gen_value (vector< char > &out) |
virtual int | gen_assign (vector< char > &out) |
virtual int | gen_call (vector< char > &out, Uc_function *fun, bool orig, Uc_expression *item, Uc_array_expression *parms, bool retvalue) |
virtual int | get_string_offset () |
virtual Uc_expression * | create_expression () |
Protected Attributes | |
std::string | name |
Friends | |
class | Uc_scope |
Definition at line 53 of file ucsym.h.
const char* Uc_symbol::get_name | ( | ) | [inline] |
Definition at line 61 of file ucsym.h.
References name.
Referenced by Uc_scope::add_function_symbol().
int Uc_symbol::gen_value | ( | vector< char > & | out | ) | [virtual] |
Reimplemented in Uc_var_symbol, Uc_static_var_symbol, Uc_const_int_symbol, and Uc_string_symbol.
int Uc_symbol::gen_assign | ( | vector< char > & | out | ) | [virtual] |
int Uc_symbol::gen_call | ( | vector< char > & | out, | |
Uc_function * | fun, | |||
bool | orig, | |||
Uc_expression * | item, | |||
Uc_array_expression * | parms, | |||
bool | retvalue | |||
) | [virtual] |
Reimplemented in Uc_intrinsic_symbol, and Uc_function_symbol.
virtual int Uc_symbol::get_string_offset | ( | ) | [inline, virtual] |
Uc_expression * Uc_symbol::create_expression | ( | ) | [virtual] |
Reimplemented in Uc_var_symbol, Uc_const_int_symbol, and Uc_string_symbol.
friend class Uc_scope [friend] |
std::string Uc_symbol::name [protected] |