lestes::lang::cplus::sem::sa_expression_converter Class Reference

Visitor to transform AS expressions to SS and convert them to given type. More...

#include <sa_statements.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_spalpha_get () const
 The method alpha_get returns the value of the field sa_expression_converter::alpha.
void alpha_set (const ptr< ss_sp > &)
 The method alpha_set sets the field sa_expression_converter::alpha to the given value.
ptr< ss_spbeta_get () const
 The method beta_get returns the value of the field sa_expression_converter::beta.
void beta_set (const ptr< ss_sp > &)
 The method beta_set sets the field sa_expression_converter::beta to the given value.
ptr< ::lestes::std::list<
srp< ss_sp > > > 
sps_get () const
 The method sps_get returns the value of the field sa_expression_converter::sps.
void sps_set (const ptr< ::lestes::std::list< srp< ss_sp > > > &)
 The method sps_set sets the field sa_expression_converter::sps to the given value.
ptr< ss_typetype_get () const
 The method type_get returns the value of the field sa_expression_converter::type.
void type_set (const ptr< ss_type > &)
 The method type_set sets the field sa_expression_converter::type to the given value.
ptr< ss_expressionresult_get () const
 The method result_get returns the value of the field sa_expression_converter::result.
void result_set (const ptr< ss_expression > &)
 The method result_set sets the field sa_expression_converter::result to the given value.
virtual void visit_as_empty_expression (ptr< ::lestes::lang::cplus::sem::as_empty_expression >)
virtual void convert (ptr< ::lestes::lang::cplus::sem::as_expression >)
ptr< ss_expressionprocess (const ptr< ::lestes::lang::cplus::sem::as_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< sa_expression_convertercreate (ptr< ss_sp > a__sa_expression_converter__alpha, ptr< ss_sp > a__sa_expression_converter__beta, ptr< ::lestes::std::list< srp< ss_sp > > > a__sa_expression_converter__sps, ptr< ss_type > a__sa_expression_converter__type, ptr< ss_expression > a__sa_expression_converter__result)
 First generated factory method for class sa_expression_converter.
static ptr< sa_expression_convertercreate (ptr< ss_sp > a__sa_expression_converter__alpha, ptr< ss_sp > a__sa_expression_converter__beta, ptr< ::lestes::std::list< srp< ss_sp > > > a__sa_expression_converter__sps)
 Second generated factory method for class sa_expression_converter.

Protected Member Functions

 sa_expression_converter (ptr< ss_sp > a__sa_expression_converter__alpha, ptr< ss_sp > a__sa_expression_converter__beta, ptr< ::lestes::std::list< srp< ss_sp > > > a__sa_expression_converter__sps, ptr< ss_type > a__sa_expression_converter__type, ptr< ss_expression > a__sa_expression_converter__result)
 Generated constructor for class sa_expression_converter.
virtual void gc_mark ()
 Marking routine for class sa_expression_converter.

Private Attributes

srp< ss_spalpha
srp< ss_spbeta
srp< ::lestes::std::list<
srp< ss_sp > > > 
sps
srp< ss_typetype
srp< ss_expressionresult

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Visitor to transform AS expressions to SS and convert them to given type.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::sa_expression_converter::sa_expression_converter ( ptr< ss_sp a__sa_expression_converter__alpha,
ptr< ss_sp a__sa_expression_converter__beta,
ptr< ::lestes::std::list< srp< ss_sp > > >  a__sa_expression_converter__sps,
ptr< ss_type a__sa_expression_converter__type,
ptr< ss_expression a__sa_expression_converter__result 
) [protected]

Generated constructor for class sa_expression_converter.

Generated constructor for class sa_expression_converter.

Author:
lsg


Member Function Documentation

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

The method alpha_get returns the value of the field sa_expression_converter::alpha.

Returns:
The value of sa_expression_converter::alpha.
Author:
lsg

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

The method alpha_set sets the field sa_expression_converter::alpha to the given value.

Parameters:
[in] x The new value to set sa_expression_converter::alpha to.
Author:
lsg

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

The method beta_get returns the value of the field sa_expression_converter::beta.

Returns:
The value of sa_expression_converter::beta.
Author:
lsg

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

The method beta_set sets the field sa_expression_converter::beta to the given value.

Parameters:
[in] x The new value to set sa_expression_converter::beta to.
Author:
lsg

ptr<::lestes::std::list< srp< ss_sp > > > lestes::lang::cplus::sem::sa_expression_converter::sps_get (  )  const

The method sps_get returns the value of the field sa_expression_converter::sps.

Returns:
The value of sa_expression_converter::sps.
Author:
lsg

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

The method sps_set sets the field sa_expression_converter::sps to the given value.

Parameters:
[in] x The new value to set sa_expression_converter::sps to.
Author:
lsg

ptr< ss_type > lestes::lang::cplus::sem::sa_expression_converter::type_get ( void   )  const

The method type_get returns the value of the field sa_expression_converter::type.

Returns:
The value of sa_expression_converter::type.
Author:
lsg

void lestes::lang::cplus::sem::sa_expression_converter::type_set ( const ptr< ss_type > &  x  ) 

The method type_set sets the field sa_expression_converter::type to the given value.

Parameters:
[in] x The new value to set sa_expression_converter::type to.
Author:
lsg

ptr< ss_expression > lestes::lang::cplus::sem::sa_expression_converter::result_get (  )  const

The method result_get returns the value of the field sa_expression_converter::result.

Returns:
The value of sa_expression_converter::result.
Author:
lsg

void lestes::lang::cplus::sem::sa_expression_converter::result_set ( const ptr< ss_expression > &  x  ) 

The method result_set sets the field sa_expression_converter::result to the given value.

Parameters:
[in] x The new value to set sa_expression_converter::result to.
Author:
lsg

virtual void lestes::lang::cplus::sem::sa_expression_converter::visit_as_empty_expression ( ptr< ::lestes::lang::cplus::sem::as_empty_expression  )  [virtual]

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

virtual void lestes::lang::cplus::sem::sa_expression_converter::convert ( ptr< ::lestes::lang::cplus::sem::as_expression  )  [virtual]

Implements lestes::lang::cplus::sem::abstract_sa_expression_converter.

ptr< sa_expression_converter > lestes::lang::cplus::sem::sa_expression_converter::create ( ptr< ss_sp a__sa_expression_converter__alpha,
ptr< ss_sp a__sa_expression_converter__beta,
ptr< ::lestes::std::list< srp< ss_sp > > >  a__sa_expression_converter__sps,
ptr< ss_type a__sa_expression_converter__type,
ptr< ss_expression a__sa_expression_converter__result 
) [static]

First generated factory method for class sa_expression_converter.

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

Author:
lsg

ptr< sa_expression_converter > lestes::lang::cplus::sem::sa_expression_converter::create ( ptr< ss_sp a__sa_expression_converter__alpha,
ptr< ss_sp a__sa_expression_converter__beta,
ptr< ::lestes::std::list< srp< ss_sp > > >  a__sa_expression_converter__sps 
) [static]

Second generated factory method for class sa_expression_converter.

This factory method for class sa_expression_converter uses initializers.

Author:
lsg

ptr< ss_expression > lestes::lang::cplus::sem::sa_expression_converter::process ( const ptr< ::lestes::lang::cplus::sem::as_expression > &   ) 

"visit-return" method

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class sa_expression_converter.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

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

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

srp< ::lestes::std::list< srp< ss_sp > > > lestes::lang::cplus::sem::sa_expression_converter::sps [private]

srp< ss_type > lestes::lang::cplus::sem::sa_expression_converter::type [private]

srp< ss_expression > lestes::lang::cplus::sem::sa_expression_converter::result [private]

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

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


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