Uc_function_symbol Class Reference

#include <ucsym.h>

Inheritance diagram for Uc_function_symbol:

Inheritance graph
[legend]
Collaboration diagram for Uc_function_symbol:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 171 of file ucsym.h.


Member Typedef Documentation

typedef std::map<int, Uc_symbol *> Uc_function_symbol::Sym_nums

Definition at line 177 of file ucsym.h.


Constructor & Destructor Documentation

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:


Member Function Documentation

const std::vector<char *>& Uc_function_symbol::get_parms (  )  [inline]

Definition at line 185 of file ucsym.h.

References parms.

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:


Member Data Documentation

int Uc_function_symbol::last_num [static, private]

Definition at line 173 of file ucsym.h.

Uc_function_symbol::Sym_nums Uc_function_symbol::nums_used [static, private]

Definition at line 179 of file ucsym.h.

std::vector<char *> Uc_function_symbol::parms [private]

Definition at line 181 of file ucsym.h.

Referenced by get_num_parms(), and get_parms().

int Uc_function_symbol::usecode_num [private]

Definition at line 182 of file ucsym.h.

Referenced by get_usecode_num().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:04:42 2007 for ExultEngine by  doxygen 1.5.1