Uc_symbol Class Reference

#include <ucsym.h>

Inheritance diagram for Uc_symbol:

Inheritance graph
[legend]
Collaboration diagram for Uc_symbol:

Collaboration graph
[legend]
List of all members.

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_expressioncreate_expression ()

Protected Attributes

std::string name

Friends

class Uc_scope

Detailed Description

Definition at line 53 of file ucsym.h.


Constructor & Destructor Documentation

Uc_symbol::Uc_symbol ( char *  nm  )  [inline]

Definition at line 59 of file ucsym.h.


Member Function Documentation

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.

Definition at line 63 of file ucsym.cc.

int Uc_symbol::gen_assign ( vector< char > &  out  )  [virtual]

Reimplemented in Uc_var_symbol, and Uc_static_var_symbol.

Definition at line 49 of file ucsym.cc.

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.

Definition at line 77 of file ucsym.cc.

virtual int Uc_symbol::get_string_offset (  )  [inline, virtual]

Reimplemented in Uc_string_symbol.

Definition at line 70 of file ucsym.h.

Uc_expression * Uc_symbol::create_expression (  )  [virtual]

Reimplemented in Uc_var_symbol, Uc_const_int_symbol, and Uc_string_symbol.

Definition at line 94 of file ucsym.cc.


Friends And Related Function Documentation

friend class Uc_scope [friend]

Reimplemented in Uc_var_symbol.

Definition at line 58 of file ucsym.h.


Member Data Documentation

std::string Uc_symbol::name [protected]

Definition at line 56 of file ucsym.h.

Referenced by Uc_scope::add(), and get_name().


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