lestes::lang::cplus::sem::ss_sp Class Reference

Class representing sequence point. More...

#include <ss_misc.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_sppsp_get () const
 The method psp_get returns the value of the field ss_sp::psp.
void psp_set (const ptr< ss_sp > &)
 The method psp_set sets the field ss_sp::psp to the given value.
ptr< ss_spnsp_get () const
 The method nsp_get returns the value of the field ss_sp::nsp.
void nsp_set (const ptr< ss_sp > &)
 The method nsp_set sets the field ss_sp::nsp to the given value.
ptr< ::lestes::std::list<
srp< ss_se > > > 
pse_get () const
 The method pse_get returns the value of the field ss_sp::pse.
void pse_set (const ptr< ::lestes::std::list< srp< ss_se > > > &)
 The method pse_set sets the field ss_sp::pse to the given value.
ptr< ::lestes::std::list<
srp< ss_se > > > 
nse_get () const
 The method nse_get returns the value of the field ss_sp::nse.
void nse_set (const ptr< ::lestes::std::list< srp< ss_se > > > &)
 The method nse_set sets the field ss_sp::nse to the given value.
ptr< ::lestes::backend_v2::intercode::pi_sppi_spe_get () const
 The method pi_spe_get returns the value of the field ss_sp::pi_spe.
void pi_spe_set (const ptr< ::lestes::backend_v2::intercode::pi_sp > &)
 The method pi_spe_set sets the field ss_sp::pi_spe to the given value.
ulint level_get () const
 The method level_get returns the value of the field ss_sp::level.
void level_set (ulint)
 The method level_set sets the field ss_sp::level to the given value.
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_spcreate (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_sp > a__ss_sp__psp, ptr< ss_sp > a__ss_sp__nsp, ptr< ::lestes::std::list< srp< ss_se > > > a__ss_sp__pse, ptr< ::lestes::std::list< srp< ss_se > > > a__ss_sp__nse, ptr< ::lestes::backend_v2::intercode::pi_sp > a__ss_sp__pi_spe, ulint a__ss_sp__level)
 First generated factory method for class ss_sp.
static ptr< ss_spcreate (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_sp > a__ss_sp__psp, ptr< ss_sp > a__ss_sp__nsp, ulint a__ss_sp__level)
 Second generated factory method for class ss_sp.

Protected Member Functions

 ss_sp (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_sp > a__ss_sp__psp, ptr< ss_sp > a__ss_sp__nsp, ptr< ::lestes::std::list< srp< ss_se > > > a__ss_sp__pse, ptr< ::lestes::std::list< srp< ss_se > > > a__ss_sp__nse, ptr< ::lestes::backend_v2::intercode::pi_sp > a__ss_sp__pi_spe, ulint a__ss_sp__level)
 Generated constructor for class ss_sp.
virtual void gc_mark ()
 Marking routine for class ss_sp.

Private Attributes

srp< ss_sppsp
srp< ss_spnsp
srp< ::lestes::std::list<
srp< ss_se > > > 
pse
 Previous side effects.
srp< ::lestes::std::list<
srp< ss_se > > > 
nse
 Next side effects.
srp< ::lestes::backend_v2::intercode::pi_sppi_spe
 Equivalent pi sequence point.
ulint level
 Level of sequence point.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class representing sequence point.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_sp::ss_sp ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_sp a__ss_sp__psp,
ptr< ss_sp a__ss_sp__nsp,
ptr< ::lestes::std::list< srp< ss_se > > >  a__ss_sp__pse,
ptr< ::lestes::std::list< srp< ss_se > > >  a__ss_sp__nse,
ptr< ::lestes::backend_v2::intercode::pi_sp a__ss_sp__pi_spe,
ulint  a__ss_sp__level 
) [protected]

Generated constructor for class ss_sp.

Generated constructor for class ss_sp.

Author:
lsg


Member Function Documentation

ptr< ss_sp > lestes::lang::cplus::sem::ss_sp::psp_get (  )  const

The method psp_get returns the value of the field ss_sp::psp.

Returns:
The value of ss_sp::psp.
Author:
lsg

void lestes::lang::cplus::sem::ss_sp::psp_set ( const ptr< ss_sp > &  x  ) 

The method psp_set sets the field ss_sp::psp to the given value.

Parameters:
[in] x The new value to set ss_sp::psp to.
Author:
lsg

ptr< ss_sp > lestes::lang::cplus::sem::ss_sp::nsp_get (  )  const

The method nsp_get returns the value of the field ss_sp::nsp.

Returns:
The value of ss_sp::nsp.
Author:
lsg

void lestes::lang::cplus::sem::ss_sp::nsp_set ( const ptr< ss_sp > &  x  ) 

The method nsp_set sets the field ss_sp::nsp to the given value.

Parameters:
[in] x The new value to set ss_sp::nsp to.
Author:
lsg

ptr<::lestes::std::list< srp< ss_se > > > lestes::lang::cplus::sem::ss_sp::pse_get (  )  const

The method pse_get returns the value of the field ss_sp::pse.

Returns:
The value of ss_sp::pse.
Author:
lsg

void lestes::lang::cplus::sem::ss_sp::pse_set ( const ptr< ::lestes::std::list< srp< ss_se > > > &  x  ) 

The method pse_set sets the field ss_sp::pse to the given value.

Parameters:
[in] x The new value to set ss_sp::pse to.
Author:
lsg

ptr<::lestes::std::list< srp< ss_se > > > lestes::lang::cplus::sem::ss_sp::nse_get (  )  const

The method nse_get returns the value of the field ss_sp::nse.

Returns:
The value of ss_sp::nse.
Author:
lsg

void lestes::lang::cplus::sem::ss_sp::nse_set ( const ptr< ::lestes::std::list< srp< ss_se > > > &  x  ) 

The method nse_set sets the field ss_sp::nse to the given value.

Parameters:
[in] x The new value to set ss_sp::nse to.
Author:
lsg

ptr<::lestes::backend_v2::intercode::pi_sp > lestes::lang::cplus::sem::ss_sp::pi_spe_get (  )  const

The method pi_spe_get returns the value of the field ss_sp::pi_spe.

Returns:
The value of ss_sp::pi_spe.
Author:
lsg

void lestes::lang::cplus::sem::ss_sp::pi_spe_set ( const ptr< ::lestes::backend_v2::intercode::pi_sp > &  x  ) 

The method pi_spe_set sets the field ss_sp::pi_spe to the given value.

Parameters:
[in] x The new value to set ss_sp::pi_spe to.
Author:
lsg

ulint lestes::lang::cplus::sem::ss_sp::level_get (  )  const

The method level_get returns the value of the field ss_sp::level.

Returns:
The value of ss_sp::level.
Author:
lsg

void lestes::lang::cplus::sem::ss_sp::level_set ( ulint  x  ) 

The method level_set sets the field ss_sp::level to the given value.

Parameters:
[in] x The new value to set ss_sp::level to.
Author:
lsg

ptr< ss_sp > lestes::lang::cplus::sem::ss_sp::create ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_sp a__ss_sp__psp,
ptr< ss_sp a__ss_sp__nsp,
ptr< ::lestes::std::list< srp< ss_se > > >  a__ss_sp__pse,
ptr< ::lestes::std::list< srp< ss_se > > >  a__ss_sp__nse,
ptr< ::lestes::backend_v2::intercode::pi_sp a__ss_sp__pi_spe,
ulint  a__ss_sp__level 
) [static]

First generated factory method for class ss_sp.

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

Author:
lsg

ptr< ss_sp > lestes::lang::cplus::sem::ss_sp::create ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_sp a__ss_sp__psp,
ptr< ss_sp a__ss_sp__nsp,
ulint  a__ss_sp__level 
) [static]

Second generated factory method for class ss_sp.

This factory method for class ss_sp uses initializers.

Author:
lsg

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

for purposes of dumping

Reimplemented from lestes::intercode::ss_base_with_location.

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

for purposes of dumping

Reimplemented from lestes::intercode::ss_base_with_location.

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

Marking routine for class ss_sp.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::intercode::ss_base_with_location.


Member Data Documentation

srp< ss_sp > lestes::lang::cplus::sem::ss_sp::psp [private]

srp< ss_sp > lestes::lang::cplus::sem::ss_sp::nsp [private]

srp< ::lestes::std::list< srp< ss_se > > > lestes::lang::cplus::sem::ss_sp::pse [private]

Previous side effects.

srp< ::lestes::std::list< srp< ss_se > > > lestes::lang::cplus::sem::ss_sp::nse [private]

Next side effects.

srp< ::lestes::backend_v2::intercode::pi_sp > lestes::lang::cplus::sem::ss_sp::pi_spe [private]

Equivalent pi sequence point.

Use special getter ss_sp2pi_sp, which constructs neighbours if needed. Used when constructing pseudoinstructions. When no equivalent pi_sp exists yet, pi_sp is set to NULL. TODO: reformulate pi_sp construction via maps.

ulint lestes::lang::cplus::sem::ss_sp::level [private]

Level of sequence point.

It is set during construction of semantic structures. Its value is determined by topology of structures and it is passed to pi_level during ss2pi construction.

Rationale: in ss constructing phase is easy to determine level value. For details see documentation "Level of a sequence point".

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

Reimplemented from lestes::intercode::ss_base_with_location.


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