lestes::lang::cplus::sem::ss_for Class Reference

Class for "for" iteration statement. More...

#include <ss_statement.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_expr_stmtiteration_get () const
 The method iteration_get returns the value of the field ss_for::iteration.
void iteration_set (const ptr< ss_expr_stmt > &)
 The method iteration_set sets the field ss_for::iteration to the given value.
virtual void accept_ss_statement_visitor (ptr< ss_statement_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_forcreate (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ::lestes::std::list< srp< ss_label > > > a__ss_statement__labels, ptr< ss_compound_stmt > a__ss_statement__parent, ptr< ss_sp > a__ss_statement__psp, ptr< ss_sp > a__ss_statement__nsp, ptr< ::lestes::std::list< srp< ss_sp > > > a__ss_statement__sequence_points, ptr< ss_compound_stmt > a__ss_breakable_stmt__body, ptr< ss_expression > a__ss_breakable_stmt__condition, ptr< ss_expr_stmt > a__ss_for__iteration)
 First generated factory method for class ss_for.

Protected Member Functions

 ss_for (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ::lestes::std::list< srp< ss_label > > > a__ss_statement__labels, ptr< ss_compound_stmt > a__ss_statement__parent, ptr< ss_sp > a__ss_statement__psp, ptr< ss_sp > a__ss_statement__nsp, ptr< ::lestes::std::list< srp< ss_sp > > > a__ss_statement__sequence_points, ptr< ss_compound_stmt > a__ss_breakable_stmt__body, ptr< ss_expression > a__ss_breakable_stmt__condition, ptr< ss_expr_stmt > a__ss_for__iteration)
 Generated constructor for class ss_for.
virtual void gc_mark ()
 Marking routine for class ss_for.

Private Attributes

srp< ss_expr_stmtiteration

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class for "for" iteration statement.

The field "iteration" is not checked for non-NULLness, since the iteration expression is optional.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_for::ss_for ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ::lestes::std::list< srp< ss_label > > >  a__ss_statement__labels,
ptr< ss_compound_stmt a__ss_statement__parent,
ptr< ss_sp a__ss_statement__psp,
ptr< ss_sp a__ss_statement__nsp,
ptr< ::lestes::std::list< srp< ss_sp > > >  a__ss_statement__sequence_points,
ptr< ss_compound_stmt a__ss_breakable_stmt__body,
ptr< ss_expression a__ss_breakable_stmt__condition,
ptr< ss_expr_stmt a__ss_for__iteration 
) [protected]

Generated constructor for class ss_for.

Generated constructor for class ss_for.

Author:
lsg


Member Function Documentation

ptr< ss_expr_stmt > lestes::lang::cplus::sem::ss_for::iteration_get (  )  const

The method iteration_get returns the value of the field ss_for::iteration.

Returns:
The value of ss_for::iteration.
Author:
lsg

void lestes::lang::cplus::sem::ss_for::iteration_set ( const ptr< ss_expr_stmt > &  x  ) 

The method iteration_set sets the field ss_for::iteration to the given value.

Parameters:
[in] x The new value to set ss_for::iteration to.
Author:
lsg

void lestes::lang::cplus::sem::ss_for::accept_ss_statement_visitor ( ptr< ss_statement_visitor v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_iteration_stmt.

ptr< ss_for > lestes::lang::cplus::sem::ss_for::create ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ::lestes::std::list< srp< ss_label > > >  a__ss_statement__labels,
ptr< ss_compound_stmt a__ss_statement__parent,
ptr< ss_sp a__ss_statement__psp,
ptr< ss_sp a__ss_statement__nsp,
ptr< ::lestes::std::list< srp< ss_sp > > >  a__ss_statement__sequence_points,
ptr< ss_compound_stmt a__ss_breakable_stmt__body,
ptr< ss_expression a__ss_breakable_stmt__condition,
ptr< ss_expr_stmt a__ss_for__iteration 
) [static]

First generated factory method for class ss_for.

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

Author:
lsg

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class ss_for.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ss_expr_stmt > lestes::lang::cplus::sem::ss_for::iteration [private]

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

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


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