lestes::lang::cplus::sem::ss_var_ref_by_qname Class Reference

Class for variable references by qualified name. More...

#include <ss_expression.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_decl_seqcontained_in_get () const
 The method contained_in_get returns the value of the field ss_var_ref_by_qname::contained_in.
void contained_in_set (const ptr< ss_decl_seq > &)
 The method contained_in_set sets the field ss_var_ref_by_qname::contained_in to the given value.
ptr< ss_declaration_timedecl_time_get () const
 The method decl_time_get returns the value of the field ss_var_ref_by_qname::decl_time.
void decl_time_set (const ptr< ss_declaration_time > &)
 The method decl_time_set sets the field ss_var_ref_by_qname::decl_time to the given value.
ptr< as_namequalified_name_get () const
 The method qualified_name_get returns the value of the field ss_var_ref_by_qname::qualified_name.
void qualified_name_set (const ptr< as_name > &)
 The method qualified_name_set sets the field ss_var_ref_by_qname::qualified_name to the given value.
virtual void accept_ss_expression_visitor (ptr< ss_expression_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< ss_var_ref_by_qnamecreate (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_type > a__ss_expression__type, ptr< ss_sp > a__ss_expression__psp, ptr< ss_sp > a__ss_expression__nsp, ptr< ss_decl_seq > a__ss_var_ref_by_qname__contained_in, ptr< ss_declaration_time > a__ss_var_ref_by_qname__decl_time, ptr< as_name > a__ss_var_ref_by_qname__qualified_name)
 First generated factory method for class ss_var_ref_by_qname.

Protected Member Functions

 ss_var_ref_by_qname (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_type > a__ss_expression__type, ptr< ss_sp > a__ss_expression__psp, ptr< ss_sp > a__ss_expression__nsp, ptr< ss_decl_seq > a__ss_var_ref_by_qname__contained_in, ptr< ss_declaration_time > a__ss_var_ref_by_qname__decl_time, ptr< as_name > a__ss_var_ref_by_qname__qualified_name)
 Generated constructor for class ss_var_ref_by_qname.
virtual void gc_mark ()
 Marking routine for class ss_var_ref_by_qname.

Private Attributes

srp< ss_decl_seqcontained_in
srp< ss_declaration_timedecl_time
srp< as_namequalified_name
 This field represents qualified name.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class for variable references by qualified name.

This class is for accessing variables in templates ( X::static_variable ). Since there is no implementation of templates now, processing with this class will cause lassert.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_var_ref_by_qname::ss_var_ref_by_qname ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_type a__ss_expression__type,
ptr< ss_sp a__ss_expression__psp,
ptr< ss_sp a__ss_expression__nsp,
ptr< ss_decl_seq a__ss_var_ref_by_qname__contained_in,
ptr< ss_declaration_time a__ss_var_ref_by_qname__decl_time,
ptr< as_name a__ss_var_ref_by_qname__qualified_name 
) [protected]

Generated constructor for class ss_var_ref_by_qname.

Generated constructor for class ss_var_ref_by_qname.

Author:
lsg


Member Function Documentation

ptr< ss_decl_seq > lestes::lang::cplus::sem::ss_var_ref_by_qname::contained_in_get (  )  const

The method contained_in_get returns the value of the field ss_var_ref_by_qname::contained_in.

Returns:
The value of ss_var_ref_by_qname::contained_in.
Author:
lsg

void lestes::lang::cplus::sem::ss_var_ref_by_qname::contained_in_set ( const ptr< ss_decl_seq > &  x  ) 

The method contained_in_set sets the field ss_var_ref_by_qname::contained_in to the given value.

Parameters:
[in] x The new value to set ss_var_ref_by_qname::contained_in to.
Author:
lsg

ptr< ss_declaration_time > lestes::lang::cplus::sem::ss_var_ref_by_qname::decl_time_get (  )  const

The method decl_time_get returns the value of the field ss_var_ref_by_qname::decl_time.

Returns:
The value of ss_var_ref_by_qname::decl_time.
Author:
lsg

void lestes::lang::cplus::sem::ss_var_ref_by_qname::decl_time_set ( const ptr< ss_declaration_time > &  x  ) 

The method decl_time_set sets the field ss_var_ref_by_qname::decl_time to the given value.

Parameters:
[in] x The new value to set ss_var_ref_by_qname::decl_time to.
Author:
lsg

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

The method qualified_name_get returns the value of the field ss_var_ref_by_qname::qualified_name.

Returns:
The value of ss_var_ref_by_qname::qualified_name.
Author:
lsg

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

The method qualified_name_set sets the field ss_var_ref_by_qname::qualified_name to the given value.

Parameters:
[in] x The new value to set ss_var_ref_by_qname::qualified_name to.
Author:
lsg

void lestes::lang::cplus::sem::ss_var_ref_by_qname::accept_ss_expression_visitor ( ptr< ss_expression_visitor v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_var_ref_abstract.

ptr< ss_var_ref_by_qname > lestes::lang::cplus::sem::ss_var_ref_by_qname::create ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_type a__ss_expression__type,
ptr< ss_sp a__ss_expression__psp,
ptr< ss_sp a__ss_expression__nsp,
ptr< ss_decl_seq a__ss_var_ref_by_qname__contained_in,
ptr< ss_declaration_time a__ss_var_ref_by_qname__decl_time,
ptr< as_name a__ss_var_ref_by_qname__qualified_name 
) [static]

First generated factory method for class ss_var_ref_by_qname.

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

Author:
lsg

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class ss_var_ref_by_qname.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ss_decl_seq > lestes::lang::cplus::sem::ss_var_ref_by_qname::contained_in [private]

srp< ss_declaration_time > lestes::lang::cplus::sem::ss_var_ref_by_qname::decl_time [private]

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

This field represents qualified name.

Since we dont know the type before template initialization happens, there is no obvious standard ss_type representing this name. To convert current as type to ss type, we will wait for instantiation.

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

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


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