Uc_var_symbol Class Reference

#include <ucsym.h>

Inheritance diagram for Uc_var_symbol:

Inheritance graph
[legend]
Collaboration diagram for Uc_var_symbol:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Uc_var_symbol (char *nm, int off)
int get_offset ()
virtual int gen_value (vector< char > &out)
virtual int gen_assign (vector< char > &out)
virtual Uc_expressioncreate_expression ()

Protected Attributes

int offset

Friends

class Uc_scope

Detailed Description

Definition at line 79 of file ucsym.h.


Constructor & Destructor Documentation

Uc_var_symbol::Uc_var_symbol ( char *  nm,
int  off 
) [inline]

Definition at line 86 of file ucsym.h.


Member Function Documentation

int Uc_var_symbol::get_offset (  )  [inline]

Definition at line 88 of file ucsym.h.

References offset.

int Uc_var_symbol::gen_value ( vector< char > &  out  )  [virtual]

Reimplemented from Uc_symbol.

Reimplemented in Uc_static_var_symbol.

Definition at line 123 of file ucsym.cc.

References offset, UC_PUSH, and Write2().

Here is the call graph for this function:

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

Reimplemented from Uc_symbol.

Reimplemented in Uc_static_var_symbol.

Definition at line 107 of file ucsym.cc.

References offset, UC_POP, and Write2().

Referenced by Uc_expression::need_var().

Here is the call graph for this function:

Uc_expression * Uc_var_symbol::create_expression (  )  [virtual]

Reimplemented from Uc_symbol.

Definition at line 137 of file ucsym.cc.


Friends And Related Function Documentation

friend class Uc_scope [friend]

Reimplemented from Uc_symbol.

Definition at line 85 of file ucsym.h.


Member Data Documentation

int Uc_var_symbol::offset [protected]

Definition at line 82 of file ucsym.h.

Referenced by get_offset().


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