lestes::lang::cplus::sem::ss_if_stmt Class Reference

Class for if statement. More...

#include <ss_statement.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_expressioncondition_get () const
 The method condition_get returns the value of the field ss_if_stmt::condition.
void condition_set (const ptr< ss_expression > &)
 The method condition_set sets the field ss_if_stmt::condition to the given value.
ptr< ss_compound_stmtcthen_get () const
 The method cthen_get returns the value of the field ss_if_stmt::cthen.
void cthen_set (const ptr< ss_compound_stmt > &)
 The method cthen_set sets the field ss_if_stmt::cthen to the given value.
ptr< ss_compound_stmtcelse_get () const
 The method celse_get returns the value of the field ss_if_stmt::celse.
void celse_set (const ptr< ss_compound_stmt > &)
 The method celse_set sets the field ss_if_stmt::celse 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_if_stmtcreate (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_expression > a__ss_if_stmt__condition, ptr< ss_compound_stmt > a__ss_if_stmt__cthen, ptr< ss_compound_stmt > a__ss_if_stmt__celse)
 First generated factory method for class ss_if_stmt.

Protected Member Functions

 ss_if_stmt (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_expression > a__ss_if_stmt__condition, ptr< ss_compound_stmt > a__ss_if_stmt__cthen, ptr< ss_compound_stmt > a__ss_if_stmt__celse)
 Generated constructor for class ss_if_stmt.
virtual void gc_mark ()
 Marking routine for class ss_if_stmt.

Private Attributes

srp< ss_expressioncondition
srp< ss_compound_stmtcthen
srp< ss_compound_stmtcelse

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class for if statement.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_if_stmt::ss_if_stmt ( 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_expression a__ss_if_stmt__condition,
ptr< ss_compound_stmt a__ss_if_stmt__cthen,
ptr< ss_compound_stmt a__ss_if_stmt__celse 
) [protected]

Generated constructor for class ss_if_stmt.

Generated constructor for class ss_if_stmt.

Author:
lsg


Member Function Documentation

ptr< ss_expression > lestes::lang::cplus::sem::ss_if_stmt::condition_get (  )  const

The method condition_get returns the value of the field ss_if_stmt::condition.

Returns:
The value of ss_if_stmt::condition.
Author:
lsg

void lestes::lang::cplus::sem::ss_if_stmt::condition_set ( const ptr< ss_expression > &  x  ) 

The method condition_set sets the field ss_if_stmt::condition to the given value.

Parameters:
[in] x The new value to set ss_if_stmt::condition to.
Author:
lsg

ptr< ss_compound_stmt > lestes::lang::cplus::sem::ss_if_stmt::cthen_get (  )  const

The method cthen_get returns the value of the field ss_if_stmt::cthen.

Returns:
The value of ss_if_stmt::cthen.
Author:
lsg

void lestes::lang::cplus::sem::ss_if_stmt::cthen_set ( const ptr< ss_compound_stmt > &  x  ) 

The method cthen_set sets the field ss_if_stmt::cthen to the given value.

Parameters:
[in] x The new value to set ss_if_stmt::cthen to.
Author:
lsg

ptr< ss_compound_stmt > lestes::lang::cplus::sem::ss_if_stmt::celse_get (  )  const

The method celse_get returns the value of the field ss_if_stmt::celse.

Returns:
The value of ss_if_stmt::celse.
Author:
lsg

void lestes::lang::cplus::sem::ss_if_stmt::celse_set ( const ptr< ss_compound_stmt > &  x  ) 

The method celse_set sets the field ss_if_stmt::celse to the given value.

Parameters:
[in] x The new value to set ss_if_stmt::celse to.
Author:
lsg

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

Implements lestes::lang::cplus::sem::ss_statement.

ptr< ss_if_stmt > lestes::lang::cplus::sem::ss_if_stmt::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_expression a__ss_if_stmt__condition,
ptr< ss_compound_stmt a__ss_if_stmt__cthen,
ptr< ss_compound_stmt a__ss_if_stmt__celse 
) [static]

First generated factory method for class ss_if_stmt.

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

Author:
lsg

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class ss_if_stmt.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ss_expression > lestes::lang::cplus::sem::ss_if_stmt::condition [private]

srp< ss_compound_stmt > lestes::lang::cplus::sem::ss_if_stmt::cthen [private]

srp< ss_compound_stmt > lestes::lang::cplus::sem::ss_if_stmt::celse [private]

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

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


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