lestes::lang::cplus::sem::as_name Class Reference

The class as_name represents an occurence of name in the C++ program. More...

#include <as_decl.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< as_namequalification_get () const
 The method qualification_get returns the value of the field as_name::qualification.
void qualification_set (const ptr< as_name > &)
 The method qualification_set sets the field as_name::qualification to the given value.
ptr< as_ididentifier_get () const
 The method identifier_get returns the value of the field as_name::identifier.
void identifier_set (const ptr< as_id > &)
 The method identifier_set sets the field as_name::identifier to the given value.
bool was_qualified_get () const
 The method was_qualified_get returns the value of the field as_name::was_qualified.
void was_qualified_set (bool)
 The method was_qualified_set sets the field as_name::was_qualified 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< as_namecreate (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_name > a__as_name__qualification, ptr< as_id > a__as_name__identifier, bool a__as_name__was_qualified)
 First generated factory method for class as_name.
static ptr< as_namecreate (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_name > a__as_name__qualification, ptr< as_id > a__as_name__identifier)
 Second generated factory method for class as_name.

Protected Member Functions

 as_name (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_name > a__as_name__qualification, ptr< as_id > a__as_name__identifier, bool a__as_name__was_qualified)
 Generated constructor for class as_name.
virtual void gc_mark ()
 Marking routine for class as_name.

Private Attributes

srp< as_namequalification
srp< as_ididentifier
bool was_qualified

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

The class as_name represents an occurence of name in the C++ program.

Global namespace (name) is an as_name with NULL qualification and identifier set to an instance of as_global_namespace_fake_id.

was_qualified is set to true, when the name was really qualified; qualification is always set, therefore we need a flag that says whether it was actually specified in the source.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::as_name::as_name ( ptr< ::lestes::std::source_location a__as_base__location,
ptr< as_name a__as_name__qualification,
ptr< as_id a__as_name__identifier,
bool  a__as_name__was_qualified 
) [protected]

Generated constructor for class as_name.

Generated constructor for class as_name.

Author:
lsg


Member Function Documentation

ptr< as_name > lestes::lang::cplus::sem::as_name::qualification_get (  )  const

The method qualification_get returns the value of the field as_name::qualification.

Returns:
The value of as_name::qualification.
Author:
lsg

void lestes::lang::cplus::sem::as_name::qualification_set ( const ptr< as_name > &  x  ) 

The method qualification_set sets the field as_name::qualification to the given value.

Parameters:
[in] x The new value to set as_name::qualification to.
Author:
lsg

ptr< as_id > lestes::lang::cplus::sem::as_name::identifier_get (  )  const

The method identifier_get returns the value of the field as_name::identifier.

Returns:
The value of as_name::identifier.
Author:
lsg

void lestes::lang::cplus::sem::as_name::identifier_set ( const ptr< as_id > &  x  ) 

The method identifier_set sets the field as_name::identifier to the given value.

Parameters:
[in] x The new value to set as_name::identifier to.
Author:
lsg

bool lestes::lang::cplus::sem::as_name::was_qualified_get (  )  const

The method was_qualified_get returns the value of the field as_name::was_qualified.

Returns:
The value of as_name::was_qualified.
Author:
lsg

void lestes::lang::cplus::sem::as_name::was_qualified_set ( bool  x  ) 

The method was_qualified_set sets the field as_name::was_qualified to the given value.

Parameters:
[in] x The new value to set as_name::was_qualified to.
Author:
lsg

ptr< as_name > lestes::lang::cplus::sem::as_name::create ( ptr< ::lestes::std::source_location a__as_base__location,
ptr< as_name a__as_name__qualification,
ptr< as_id a__as_name__identifier,
bool  a__as_name__was_qualified 
) [static]

First generated factory method for class as_name.

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

Author:
lsg

ptr< as_name > lestes::lang::cplus::sem::as_name::create ( ptr< ::lestes::std::source_location a__as_base__location,
ptr< as_name a__as_name__qualification,
ptr< as_id a__as_name__identifier 
) [static]

Second generated factory method for class as_name.

This factory method for class as_name uses initializers.

Author:
lsg

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

for purposes of dumping

Reimplemented from lestes::intercode::as_base.

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

for purposes of dumping

Reimplemented from lestes::intercode::as_base.

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

Marking routine for class as_name.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::intercode::as_base.


Member Data Documentation

srp< as_name > lestes::lang::cplus::sem::as_name::qualification [private]

srp< as_id > lestes::lang::cplus::sem::as_name::identifier [private]

bool lestes::lang::cplus::sem::as_name::was_qualified [private]

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

Reimplemented from lestes::intercode::as_base.


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