lestes::lang::cplus::sem::or_declaration_helper Class Reference

This is declaration over ss_declaration, which helps us distinguish in which case we are (function/method/builtin operator). More...

#include <or_or.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_declarationdeclaration_get () const
 The method declaration_get returns the value of the field or_declaration_helper::declaration.
void declaration_set (const ptr< ss_declaration > &)
 The method declaration_set sets the field or_declaration_helper::declaration to the given value.
ptr< ss_sppsp_get () const
 The method psp_get returns the value of the field or_declaration_helper::psp.
void psp_set (const ptr< ss_sp > &)
 The method psp_set sets the field or_declaration_helper::psp to the given value.
ptr< ss_spnsp_get () const
 The method nsp_get returns the value of the field or_declaration_helper::nsp.
void nsp_set (const ptr< ss_sp > &)
 The method nsp_set sets the field or_declaration_helper::nsp to the given value.
ptr< ::lestes::std::list<
srp< or_or_functional > > > 
arguments_get () const
 The method arguments_get returns the value of the field or_declaration_helper::arguments.
void arguments_set (const ptr< ::lestes::std::list< srp< or_or_functional > > > &)
 The method arguments_set sets the field or_declaration_helper::arguments to the given value.
ptr< ::lestes::std::source_locationlocation_get () const
 The method location_get returns the value of the field or_declaration_helper::location.
void location_set (const ptr< ::lestes::std::source_location > &)
 The method location_set sets the field or_declaration_helper::location to the given value.
ptr< ::lestes::std::list<
srp< ss_sp > > > 
sp_list_get () const
 The method sp_list_get returns the value of the field or_declaration_helper::sp_list.
void sp_list_set (const ptr< ::lestes::std::list< srp< ss_sp > > > &)
 The method sp_list_set sets the field or_declaration_helper::sp_list to the given value.
ptr< ss_expressionresult_get () const
 The method result_get returns the value of the field or_declaration_helper::result.
void result_set (const ptr< ss_expression > &)
 The method result_set sets the field or_declaration_helper::result to the given value.
virtual void visit_ss_namespace_definition (ptr< ::lestes::lang::cplus::sem::ss_namespace_definition >)
virtual void visit_ss_object_declaration (ptr< ::lestes::lang::cplus::sem::ss_object_declaration >)
virtual void visit_ss_bitfield_declaration (ptr< ::lestes::lang::cplus::sem::ss_bitfield_declaration >)
virtual void visit_ss_parameter_declaration (ptr< ::lestes::lang::cplus::sem::ss_parameter_declaration >)
virtual void visit_ss_fake_declaration (ptr< ::lestes::lang::cplus::sem::ss_fake_declaration >)
virtual void visit_ss_injected_class_declaration (ptr< ::lestes::lang::cplus::sem::ss_injected_class_declaration >)
virtual void visit_ss_enum_definition (ptr< ::lestes::lang::cplus::sem::ss_enum_definition >)
virtual void visit_ss_typedef_definition (ptr< ::lestes::lang::cplus::sem::ss_typedef_definition >)
virtual void visit_ss_enumerator_declaration (ptr< ::lestes::lang::cplus::sem::ss_enumerator_declaration >)
virtual void visit_ss_structure_declaration (ptr< ::lestes::lang::cplus::sem::ss_structure_declaration >)
virtual void visit_ss_function_declaration (ptr< ::lestes::lang::cplus::sem::ss_function_declaration >)
virtual void visit_ss_method_declaration (ptr< ::lestes::lang::cplus::sem::ss_method_declaration >)
virtual void visit_ss_using_declaration (ptr< ::lestes::lang::cplus::sem::ss_using_declaration >)
virtual void visit_ss_compound_stmt_declaration (ptr< ::lestes::lang::cplus::sem::ss_compound_stmt_declaration >)
virtual void visit_ss_builtin_operator_declaration (ptr< ::lestes::lang::cplus::sem::ss_builtin_operator_declaration >)
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< or_declaration_helpercreate (ptr< ss_declaration > a__or_declaration_helper__declaration, ptr< ss_sp > a__or_declaration_helper__psp, ptr< ss_sp > a__or_declaration_helper__nsp, ptr< ::lestes::std::list< srp< or_or_functional > > > a__or_declaration_helper__arguments, ptr< ::lestes::std::source_location > a__or_declaration_helper__location, ptr< ::lestes::std::list< srp< ss_sp > > > a__or_declaration_helper__sp_list, ptr< ss_expression > a__or_declaration_helper__result)
 First generated factory method for class or_declaration_helper.
static ptr< or_declaration_helpercreate (ptr< ss_declaration > a__or_declaration_helper__declaration, ptr< ss_sp > a__or_declaration_helper__psp, ptr< ss_sp > a__or_declaration_helper__nsp, ptr< ::lestes::std::list< srp< or_or_functional > > > a__or_declaration_helper__arguments, ptr< ::lestes::std::source_location > a__or_declaration_helper__location, ptr< ::lestes::std::list< srp< ss_sp > > > a__or_declaration_helper__sp_list)
 Second generated factory method for class or_declaration_helper.

Protected Member Functions

 or_declaration_helper (ptr< ss_declaration > a__or_declaration_helper__declaration, ptr< ss_sp > a__or_declaration_helper__psp, ptr< ss_sp > a__or_declaration_helper__nsp, ptr< ::lestes::std::list< srp< or_or_functional > > > a__or_declaration_helper__arguments, ptr< ::lestes::std::source_location > a__or_declaration_helper__location, ptr< ::lestes::std::list< srp< ss_sp > > > a__or_declaration_helper__sp_list, ptr< ss_expression > a__or_declaration_helper__result)
 Generated constructor for class or_declaration_helper.
virtual void gc_mark ()
 Marking routine for class or_declaration_helper.

Private Attributes

srp< ss_declarationdeclaration
srp< ss_sppsp
srp< ss_spnsp
srp< ::lestes::std::list<
srp< or_or_functional > > > 
arguments
srp< ::lestes::std::source_locationlocation
srp< ::lestes::std::list<
srp< ss_sp > > > 
sp_list
srp< ss_expressionresult

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

This is declaration over ss_declaration, which helps us distinguish in which case we are (function/method/builtin operator).


Constructor & Destructor Documentation

lestes::lang::cplus::sem::or_declaration_helper::or_declaration_helper ( ptr< ss_declaration a__or_declaration_helper__declaration,
ptr< ss_sp a__or_declaration_helper__psp,
ptr< ss_sp a__or_declaration_helper__nsp,
ptr< ::lestes::std::list< srp< or_or_functional > > >  a__or_declaration_helper__arguments,
ptr< ::lestes::std::source_location a__or_declaration_helper__location,
ptr< ::lestes::std::list< srp< ss_sp > > >  a__or_declaration_helper__sp_list,
ptr< ss_expression a__or_declaration_helper__result 
) [protected]

Generated constructor for class or_declaration_helper.

Generated constructor for class or_declaration_helper.

Author:
lsg


Member Function Documentation

ptr< ss_declaration > lestes::lang::cplus::sem::or_declaration_helper::declaration_get (  )  const

The method declaration_get returns the value of the field or_declaration_helper::declaration.

Returns:
The value of or_declaration_helper::declaration.
Author:
lsg

void lestes::lang::cplus::sem::or_declaration_helper::declaration_set ( const ptr< ss_declaration > &  x  ) 

The method declaration_set sets the field or_declaration_helper::declaration to the given value.

Parameters:
[in] x The new value to set or_declaration_helper::declaration to.
Author:
lsg

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

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

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

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

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

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

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

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

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

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

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

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

ptr<::lestes::std::list< srp< or_or_functional > > > lestes::lang::cplus::sem::or_declaration_helper::arguments_get (  )  const

The method arguments_get returns the value of the field or_declaration_helper::arguments.

Returns:
The value of or_declaration_helper::arguments.
Author:
lsg

void lestes::lang::cplus::sem::or_declaration_helper::arguments_set ( const ptr< ::lestes::std::list< srp< or_or_functional > > > &  x  ) 

The method arguments_set sets the field or_declaration_helper::arguments to the given value.

Parameters:
[in] x The new value to set or_declaration_helper::arguments to.
Author:
lsg

ptr<::lestes::std::source_location > lestes::lang::cplus::sem::or_declaration_helper::location_get ( void   )  const

The method location_get returns the value of the field or_declaration_helper::location.

Returns:
The value of or_declaration_helper::location.
Author:
lsg

void lestes::lang::cplus::sem::or_declaration_helper::location_set ( const ptr< ::lestes::std::source_location > &  x  ) 

The method location_set sets the field or_declaration_helper::location to the given value.

Parameters:
[in] x The new value to set or_declaration_helper::location to.
Author:
lsg

ptr<::lestes::std::list< srp< ss_sp > > > lestes::lang::cplus::sem::or_declaration_helper::sp_list_get (  )  const

The method sp_list_get returns the value of the field or_declaration_helper::sp_list.

Returns:
The value of or_declaration_helper::sp_list.
Author:
lsg

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

The method sp_list_set sets the field or_declaration_helper::sp_list to the given value.

Parameters:
[in] x The new value to set or_declaration_helper::sp_list to.
Author:
lsg

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

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

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

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

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

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

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_namespace_definition ( ptr< ::lestes::lang::cplus::sem::ss_namespace_definition  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_object_declaration ( ptr< ::lestes::lang::cplus::sem::ss_object_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_bitfield_declaration ( ptr< ::lestes::lang::cplus::sem::ss_bitfield_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_parameter_declaration ( ptr< ::lestes::lang::cplus::sem::ss_parameter_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_fake_declaration ( ptr< ::lestes::lang::cplus::sem::ss_fake_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_injected_class_declaration ( ptr< ::lestes::lang::cplus::sem::ss_injected_class_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_enum_definition ( ptr< ::lestes::lang::cplus::sem::ss_enum_definition  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_typedef_definition ( ptr< ::lestes::lang::cplus::sem::ss_typedef_definition  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_enumerator_declaration ( ptr< ::lestes::lang::cplus::sem::ss_enumerator_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_structure_declaration ( ptr< ::lestes::lang::cplus::sem::ss_structure_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_function_declaration ( ptr< ::lestes::lang::cplus::sem::ss_function_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_method_declaration ( ptr< ::lestes::lang::cplus::sem::ss_method_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_using_declaration ( ptr< ::lestes::lang::cplus::sem::ss_using_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_compound_stmt_declaration ( ptr< ::lestes::lang::cplus::sem::ss_compound_stmt_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

virtual void lestes::lang::cplus::sem::or_declaration_helper::visit_ss_builtin_operator_declaration ( ptr< ::lestes::lang::cplus::sem::ss_builtin_operator_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_visitor.

ptr< or_declaration_helper > lestes::lang::cplus::sem::or_declaration_helper::create ( ptr< ss_declaration a__or_declaration_helper__declaration,
ptr< ss_sp a__or_declaration_helper__psp,
ptr< ss_sp a__or_declaration_helper__nsp,
ptr< ::lestes::std::list< srp< or_or_functional > > >  a__or_declaration_helper__arguments,
ptr< ::lestes::std::source_location a__or_declaration_helper__location,
ptr< ::lestes::std::list< srp< ss_sp > > >  a__or_declaration_helper__sp_list,
ptr< ss_expression a__or_declaration_helper__result 
) [static]

First generated factory method for class or_declaration_helper.

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

Author:
lsg

ptr< or_declaration_helper > lestes::lang::cplus::sem::or_declaration_helper::create ( ptr< ss_declaration a__or_declaration_helper__declaration,
ptr< ss_sp a__or_declaration_helper__psp,
ptr< ss_sp a__or_declaration_helper__nsp,
ptr< ::lestes::std::list< srp< or_or_functional > > >  a__or_declaration_helper__arguments,
ptr< ::lestes::std::source_location a__or_declaration_helper__location,
ptr< ::lestes::std::list< srp< ss_sp > > >  a__or_declaration_helper__sp_list 
) [static]

Second generated factory method for class or_declaration_helper.

This factory method for class or_declaration_helper uses initializers.

Author:
lsg

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class or_declaration_helper.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ss_declaration > lestes::lang::cplus::sem::or_declaration_helper::declaration [private]

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

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

srp< ::lestes::std::list< srp< or_or_functional > > > lestes::lang::cplus::sem::or_declaration_helper::arguments [private]

srp< ::lestes::std::source_location > lestes::lang::cplus::sem::or_declaration_helper::location [private]

srp< ::lestes::std::list< srp< ss_sp > > > lestes::lang::cplus::sem::or_declaration_helper::sp_list [private]

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

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

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


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