lestes::lang::cplus::sem::lu_lookup Class Reference

#include <lu_lu.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< lu_paramsparams_get () const
 The method params_get returns the value of the field lu_lookup::params.
void params_set (const ptr< lu_params > &)
 The method params_set sets the field lu_lookup::params to the given value.
ptr< decl_seq_set_typevisited_seqs_get () const
 The method visited_seqs_get returns the value of the field lu_lookup::visited_seqs.
void visited_seqs_set (const ptr< decl_seq_set_type > &)
 The method visited_seqs_set sets the field lu_lookup::visited_seqs to the given value.
ptr< declaration_set_typelookup_result_get () const
 The method lookup_result_get returns the value of the field lu_lookup::lookup_result.
void lookup_result_set (const ptr< declaration_set_type > &)
 The method lookup_result_set sets the field lu_lookup::lookup_result to the given value.
ptr< declaration_set_typemain (ptr< ss_decl_seq > seq, ptr< lu_params > params)
ptr< declaration_set_typeinternal_simple_scan (ptr< ss_decl_seq > seq)
 Used internally, just a wrapper around simple_scan() that adds params to the argument list.
ptr< declaration_set_typedeep_scan (ptr< ss_decl_seq > starting_seq)
 Used internally; scans given decl_seq and its using-directives using params.
virtual void default_action (ptr< ::lestes::lang::cplus::sem::ss_declaration >)
virtual void visit_ss_namespace_definition (ptr< ::lestes::lang::cplus::sem::ss_namespace_definition >)
virtual void visit_ss_function_declaration (ptr< ::lestes::lang::cplus::sem::ss_function_declaration >)
virtual void visit_ss_compound_stmt_declaration (ptr< ::lestes::lang::cplus::sem::ss_compound_stmt_declaration >)
virtual void visit_ss_structure_declaration (ptr< ::lestes::lang::cplus::sem::ss_structure_declaration >)
ptr< declaration_set_typelookup_by_decl (const ptr< ::lestes::lang::cplus::sem::ss_declaration > &)
 "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< declaration_set_typesimple_scan (ptr< ss_decl_seq > seq, ptr< lu_params > params)
 Used internally, but can be used from outside as well.
static ptr< lu_lookupinstance ()
 Generated instance() method for singleton class lu_lookup.

Protected Member Functions

 lu_lookup (ptr< lu_params > a__lu_lookup__params, ptr< decl_seq_set_type > a__lu_lookup__visited_seqs, ptr< declaration_set_type > a__lu_lookup__lookup_result)
 Generated constructor for class lu_lookup.
virtual void gc_mark ()
 Marking routine for class lu_lookup.

Private Attributes

srp< lu_paramsparams
 Used internally by the visitor; holds the parameters of the lookup.
srp< decl_seq_set_typevisited_seqs
 Used internally by the visitor; holds decl_seqs already visited during current invocation of the 'main' method.
srp< declaration_set_typelookup_result

Static Private Attributes

static ptr< reflection_listreflection = reflection
static ptr< lu_lookupthe_instance = the_instance

Constructor & Destructor Documentation

lestes::lang::cplus::sem::lu_lookup::lu_lookup ( ptr< lu_params a__lu_lookup__params,
ptr< decl_seq_set_type a__lu_lookup__visited_seqs,
ptr< declaration_set_type a__lu_lookup__lookup_result 
) [protected]

Generated constructor for class lu_lookup.

Generated constructor for class lu_lookup.

Author:
lsg


Member Function Documentation

ptr< lu_params > lestes::lang::cplus::sem::lu_lookup::params_get (  )  const

The method params_get returns the value of the field lu_lookup::params.

Returns:
The value of lu_lookup::params.
Author:
lsg

void lestes::lang::cplus::sem::lu_lookup::params_set ( const ptr< lu_params > &  x  ) 

The method params_set sets the field lu_lookup::params to the given value.

Parameters:
[in] x The new value to set lu_lookup::params to.
Author:
lsg

ptr< decl_seq_set_type > lestes::lang::cplus::sem::lu_lookup::visited_seqs_get (  )  const

The method visited_seqs_get returns the value of the field lu_lookup::visited_seqs.

Returns:
The value of lu_lookup::visited_seqs.
Author:
lsg

void lestes::lang::cplus::sem::lu_lookup::visited_seqs_set ( const ptr< decl_seq_set_type > &  x  ) 

The method visited_seqs_set sets the field lu_lookup::visited_seqs to the given value.

Parameters:
[in] x The new value to set lu_lookup::visited_seqs to.
Author:
lsg

ptr< declaration_set_type > lestes::lang::cplus::sem::lu_lookup::lookup_result_get (  )  const

The method lookup_result_get returns the value of the field lu_lookup::lookup_result.

Returns:
The value of lu_lookup::lookup_result.
Author:
lsg

void lestes::lang::cplus::sem::lu_lookup::lookup_result_set ( const ptr< declaration_set_type > &  x  ) 

The method lookup_result_set sets the field lu_lookup::lookup_result to the given value.

Parameters:
[in] x The new value to set lu_lookup::lookup_result to.
Author:
lsg

ptr< declaration_set_type > lestes::lang::cplus::sem::lu_lookup::main ( ptr< ss_decl_seq seq,
ptr< lu_params params 
)

Not reentrant! Never returns NULL.

ptr< declaration_set_type > lestes::lang::cplus::sem::lu_lookup::simple_scan ( ptr< ss_decl_seq seq,
ptr< lu_params params 
) [static]

Used internally, but can be used from outside as well.

ptr< declaration_set_type > lestes::lang::cplus::sem::lu_lookup::internal_simple_scan ( ptr< ss_decl_seq seq  ) 

Used internally, just a wrapper around simple_scan() that adds params to the argument list.

ptr< declaration_set_type > lestes::lang::cplus::sem::lu_lookup::deep_scan ( ptr< ss_decl_seq starting_seq  ) 

Used internally; scans given decl_seq and its using-directives using params.

Never returns NULL.

virtual void lestes::lang::cplus::sem::lu_lookup::default_action ( ptr< ::lestes::lang::cplus::sem::ss_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_default_visitor.

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

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

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

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

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

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

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

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

ptr< lu_lookup > lestes::lang::cplus::sem::lu_lookup::instance ( void   )  [static]

Generated instance() method for singleton class lu_lookup.

Generated instance() method for singleton class lu_lookup.

Author:
lsg

ptr< declaration_set_type > lestes::lang::cplus::sem::lu_lookup::lookup_by_decl ( const ptr< ::lestes::lang::cplus::sem::ss_declaration > &   ) 

"visit-return" method

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class lu_lookup.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< lu_params > lestes::lang::cplus::sem::lu_lookup::params [private]

Used internally by the visitor; holds the parameters of the lookup.

srp< decl_seq_set_type > lestes::lang::cplus::sem::lu_lookup::visited_seqs [private]

Used internally by the visitor; holds decl_seqs already visited during current invocation of the 'main' method.

srp< declaration_set_type > lestes::lang::cplus::sem::lu_lookup::lookup_result [private]

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

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

ptr< lu_lookup > lestes::lang::cplus::sem::lu_lookup::the_instance = the_instance [static, private]

Static field lu_lookup::the_instance.

Author:
lsg


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