expression_load_local Class Reference

#include <local.h>

Inheritance diagram for expression_load_local:

expression_load expression List of all members.

Public Member Functions

virtual ~expression_load_local ()
 expression_load_local (const location &locn, const type::pointer &type, unsigned offset, translator_compile *cntxt)
void traversal (int pprec)
void logical_traversal (int pprec, label::pointer &true_branch, label::pointer &false_branch, bool fall_through_preference)

Private Member Functions

 expression_load_local ()
 expression_load_local (const expression_load_local &)
expression_load_localoperator= (const expression_load_local &)

Private Attributes

translator_compilecode
unsigned offset

Detailed Description

The expression_load_local class is used to represent loading the contents of a local variable onto the stack.

Definition at line 32 of file local.h.


Constructor & Destructor Documentation

virtual expression_load_local::~expression_load_local (  )  [virtual]

The destructor.

expression_load_local::expression_load_local ( const location locn,
const type::pointer type,
unsigned  offset,
translator_compile cntxt 
)

The constructor.

expression_load_local::expression_load_local (  )  [private]

The default constructor. Do not use.

expression_load_local::expression_load_local ( const expression_load_local  )  [private]

The copy constructor. Do not use.


Member Function Documentation

void expression_load_local::traversal ( int  pprec  )  [virtual]

The traversal method may be used to traverse each of the declaractions in the list.

Parameters:
pprec The precedence of the parent expression node.

Implements expression.

void expression_load_local::logical_traversal ( int  pprec,
label::pointer true_branch,
label::pointer false_branch,
bool  fall_through_preference 
)

expression_load_local& expression_load_local::operator= ( const expression_load_local  )  [private]

The assignment operator. Do not use.


Member Data Documentation

translator_compile& expression_load_local::code [private]

The code instance variable is used to remember where to send our generated code.

Definition at line 59 of file local.h.

unsigned expression_load_local::offset [private]

The offset instance variable is used to remember the word offset into the local scope.

Definition at line 65 of file local.h.


The documentation for this class was generated from the following file:
Generated on Sun Feb 25 01:27:12 2007 for UCSDp-SystemCrossCompiler by  doxygen 1.5.1