lestes::lang::cplus::sem::or_or_functional_concrete Class Reference

This is the concrete implementation of functional creating the ss_expression for the non-ambiguous case. More...

#include <or_or.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ::lestes::std::list<
srp< or_or_functional > > > 
args_get () const
 The method args_get returns the value of the field or_or_functional_concrete::args.
void args_set (const ptr< ::lestes::std::list< srp< or_or_functional > > > &)
 The method args_set sets the field or_or_functional_concrete::args to the given value.
ptr< ss_declarationdeclaration_get () const
 The method declaration_get returns the value of the field or_or_functional_concrete::declaration.
void declaration_set (const ptr< ss_declaration > &)
 The method declaration_set sets the field or_or_functional_concrete::declaration to the given value.
virtual ptr< ss_expressionoperator() (ptr< ss_sp > psp, ptr< ss_sp > nsp, ptr< ::lestes::std::source_location > location, ptr< ::lestes::std::list< srp< ss_sp > > > sp_list)
virtual void accept_or_or_functional_visitor (ptr< or_or_functional_visitor > v)
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_or_functional_concretecreate (ptr< ss_type > a__or_or_functional__type, ptr< ::lestes::std::list< srp< or_or_functional > > > a__or_or_functional_concrete__args, ptr< ss_declaration > a__or_or_functional_concrete__declaration)
 First generated factory method for class or_or_functional_concrete.

Protected Member Functions

 or_or_functional_concrete (ptr< ss_type > a__or_or_functional__type, ptr< ::lestes::std::list< srp< or_or_functional > > > a__or_or_functional_concrete__args, ptr< ss_declaration > a__or_or_functional_concrete__declaration)
 Generated constructor for class or_or_functional_concrete.
virtual void gc_mark ()
 Marking routine for class or_or_functional_concrete.

Private Attributes

srp< ::lestes::std::list<
srp< or_or_functional > > > 
args
srp< ss_declarationdeclaration

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

This is the concrete implementation of functional creating the ss_expression for the non-ambiguous case.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::or_or_functional_concrete::or_or_functional_concrete ( ptr< ss_type a__or_or_functional__type,
ptr< ::lestes::std::list< srp< or_or_functional > > >  a__or_or_functional_concrete__args,
ptr< ss_declaration a__or_or_functional_concrete__declaration 
) [protected]

Generated constructor for class or_or_functional_concrete.

Generated constructor for class or_or_functional_concrete.

Author:
lsg


Member Function Documentation

ptr<::lestes::std::list< srp< or_or_functional > > > lestes::lang::cplus::sem::or_or_functional_concrete::args_get (  )  const

The method args_get returns the value of the field or_or_functional_concrete::args.

Returns:
The value of or_or_functional_concrete::args.
Author:
lsg

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

The method args_set sets the field or_or_functional_concrete::args to the given value.

Parameters:
[in] x The new value to set or_or_functional_concrete::args to.
Author:
lsg

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

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

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

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

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

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

ptr< ss_expression > lestes::lang::cplus::sem::or_or_functional_concrete::operator() ( ptr< ss_sp psp,
ptr< ss_sp nsp,
ptr< ::lestes::std::source_location location,
ptr< ::lestes::std::list< srp< ss_sp > > >  sp_list 
) [virtual]

This is overloaded operator () of functional used by overload resolution. It creates corresponding funcall and returns it's expression.

Bug:
context doesn't contain VMT yet, so vfuncall is irrelevant
Returns:
pointer to expression, representing the function call

Implements lestes::lang::cplus::sem::or_or_functional.

void lestes::lang::cplus::sem::or_or_functional_concrete::accept_or_or_functional_visitor ( ptr< or_or_functional_visitor v  )  [virtual]

Implements lestes::lang::cplus::sem::or_or_functional.

ptr< or_or_functional_concrete > lestes::lang::cplus::sem::or_or_functional_concrete::create ( ptr< ss_type a__or_or_functional__type,
ptr< ::lestes::std::list< srp< or_or_functional > > >  a__or_or_functional_concrete__args,
ptr< ss_declaration a__or_or_functional_concrete__declaration 
) [static]

First generated factory method for class or_or_functional_concrete.

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

Author:
lsg

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class or_or_functional_concrete.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ::lestes::std::list< srp< or_or_functional > > > lestes::lang::cplus::sem::or_or_functional_concrete::args [private]

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

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

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


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