lestes::lang::cplus::sem::ss_expr2destination Class Reference

Visitor for determination destination of sideeffect expression. Used for origin computation. More...

#include <ss_ss2pi_base.g.hh>

Inheritance diagram for lestes::lang::cplus::sem::ss_expr2destination:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_expressiondestination_get () const
 The method destination_get returns the value of the field ss_expr2destination::destination.
void destination_set (const ptr< ss_expression > &)
 The method destination_set sets the field ss_expr2destination::destination to the given value.
virtual void default_destination (ptr< ::lestes::lang::cplus::sem::ss_expression >)
virtual void visit_ss_funcall (ptr< ::lestes::lang::cplus::sem::ss_funcall >)
virtual void visit_ss_assign (ptr< ::lestes::lang::cplus::sem::ss_assign >)
virtual void visit_ss_vol_get (ptr< ::lestes::lang::cplus::sem::ss_vol_get >)
ptr< ss_expressionget_destination (const ptr< ::lestes::lang::cplus::sem::ss_expression > &)
 "visit-return" method
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Static Public Member Functions

static ptr< ss_expr2destinationcreate (ptr< ss_expression > a__ss_expr2destination__destination)
 First generated factory method for class ss_expr2destination.
static ptr< ss_expr2destinationcreate ()
 Second generated factory method for class ss_expr2destination.

Protected Member Functions

 ss_expr2destination (ptr< ss_expression > a__ss_expr2destination__destination)
 Generated constructor for class ss_expr2destination.
virtual void gc_mark ()
 Marking routine for class ss_expr2destination.

Private Attributes

srp< ss_expressiondestination
 Field for storing result.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Visitor for determination destination of sideeffect expression. Used for origin computation.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_expr2destination::ss_expr2destination ( ptr< ss_expression a__ss_expr2destination__destination  )  [protected]

Generated constructor for class ss_expr2destination.

Generated constructor for class ss_expr2destination.

Author:
lsg


Member Function Documentation

ptr< ss_expression > lestes::lang::cplus::sem::ss_expr2destination::destination_get (  )  const

The method destination_get returns the value of the field ss_expr2destination::destination.

Returns:
The value of ss_expr2destination::destination.
Author:
lsg

void lestes::lang::cplus::sem::ss_expr2destination::destination_set ( const ptr< ss_expression > &  x  ) 

The method destination_set sets the field ss_expr2destination::destination to the given value.

Parameters:
[in] x The new value to set ss_expr2destination::destination to.
Author:
lsg

void lestes::lang::cplus::sem::ss_expr2destination::default_destination ( ptr< ::lestes::lang::cplus::sem::ss_expression  )  [virtual]

We should not ask for another expressions.

Implements lestes::lang::cplus::sem::ss_expr2destination_base.

void lestes::lang::cplus::sem::ss_expr2destination::visit_ss_funcall ( ptr< ::lestes::lang::cplus::sem::ss_funcall  )  [virtual]

There is no destination for funcall.

Reimplemented from lestes::lang::cplus::sem::ss_expr2destination_base.

void lestes::lang::cplus::sem::ss_expr2destination::visit_ss_assign ( ptr< ::lestes::lang::cplus::sem::ss_assign x  )  [virtual]

Destination for assignment is left operand.

Reimplemented from lestes::lang::cplus::sem::ss_expr2destination_base.

void lestes::lang::cplus::sem::ss_expr2destination::visit_ss_vol_get ( ptr< ::lestes::lang::cplus::sem::ss_vol_get x  )  [virtual]

Destination for volatile access is accessed variable itself.

Reimplemented from lestes::lang::cplus::sem::ss_expr2destination_base.

ptr< ss_expr2destination > lestes::lang::cplus::sem::ss_expr2destination::create ( ptr< ss_expression a__ss_expr2destination__destination  )  [static]

First generated factory method for class ss_expr2destination.

This factory method for class ss_expr2destination takes values of all fields as arguments.

Author:
lsg

ptr< ss_expr2destination > lestes::lang::cplus::sem::ss_expr2destination::create ( void   )  [static]

Second generated factory method for class ss_expr2destination.

This factory method for class ss_expr2destination uses initializers.

Author:
lsg

ptr< ss_expression > lestes::lang::cplus::sem::ss_expr2destination::get_destination ( const ptr< ::lestes::lang::cplus::sem::ss_expression > &   ) 

"visit-return" method

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_expr2destination::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::ss_expr2destination_base.

ptr< object::field_list_list > lestes::lang::cplus::sem::ss_expr2destination::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::ss_expr2destination_base.

void lestes::lang::cplus::sem::ss_expr2destination::gc_mark ( void   )  [protected, virtual]

Marking routine for class ss_expr2destination.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::lang::cplus::sem::ss_expr2destination_base.


Member Data Documentation

srp< ss_expression > lestes::lang::cplus::sem::ss_expr2destination::destination [private]

Field for storing result.

In case of sideeffect expression without destination(funcall) is set to NULL.

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_expr2destination::reflection = reflection [static, private]

Reimplemented from lestes::lang::cplus::sem::ss_expr2destination_base.


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:48:14 2007 for lestes by doxygen 1.5.1-20070107