lestes::lang::cplus::sem::ss_try Class Reference

Class for try-block. More...

#include <ss_statement.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_compound_stmtblock_get () const
 The method block_get returns the value of the field ss_try::block.
void block_set (const ptr< ss_compound_stmt > &)
 The method block_set sets the field ss_try::block to the given value.
ptr< ::lestes::std::list<
srp< ss_catch > > > 
handlers_get () const
 The method handlers_get returns the value of the field ss_try::handlers.
void handlers_set (const ptr< ::lestes::std::list< srp< ss_catch > > > &)
 The method handlers_set sets the field ss_try::handlers 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_trycreate (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_try__block, ptr< ::lestes::std::list< srp< ss_catch > > > a__ss_try__handlers)
 First generated factory method for class ss_try.

Protected Member Functions

 ss_try (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_try__block, ptr< ::lestes::std::list< srp< ss_catch > > > a__ss_try__handlers)
 Generated constructor for class ss_try.
virtual void gc_mark ()
 Marking routine for class ss_try.

Private Attributes

srp< ss_compound_stmtblock
srp< ::lestes::std::list<
srp< ss_catch > > > 
handlers

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class for try-block.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_try::ss_try ( 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_try__block,
ptr< ::lestes::std::list< srp< ss_catch > > >  a__ss_try__handlers 
) [protected]

Generated constructor for class ss_try.

Generated constructor for class ss_try.

Author:
lsg


Member Function Documentation

ptr< ss_compound_stmt > lestes::lang::cplus::sem::ss_try::block_get (  )  const

The method block_get returns the value of the field ss_try::block.

Returns:
The value of ss_try::block.
Author:
lsg

void lestes::lang::cplus::sem::ss_try::block_set ( const ptr< ss_compound_stmt > &  x  ) 

The method block_set sets the field ss_try::block to the given value.

Parameters:
[in] x The new value to set ss_try::block to.
Author:
lsg

ptr<::lestes::std::list< srp< ss_catch > > > lestes::lang::cplus::sem::ss_try::handlers_get (  )  const

The method handlers_get returns the value of the field ss_try::handlers.

Returns:
The value of ss_try::handlers.
Author:
lsg

void lestes::lang::cplus::sem::ss_try::handlers_set ( const ptr< ::lestes::std::list< srp< ss_catch > > > &  x  ) 

The method handlers_set sets the field ss_try::handlers to the given value.

Parameters:
[in] x The new value to set ss_try::handlers to.
Author:
lsg

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

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

ptr< ss_try > lestes::lang::cplus::sem::ss_try::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_try__block,
ptr< ::lestes::std::list< srp< ss_catch > > >  a__ss_try__handlers 
) [static]

First generated factory method for class ss_try.

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

Author:
lsg

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_try::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_try::field_values_get (  )  const [virtual]

for purposes of dumping

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

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

Marking routine for class ss_try.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ss_compound_stmt > lestes::lang::cplus::sem::ss_try::block [private]

srp< ::lestes::std::list< srp< ss_catch > > > lestes::lang::cplus::sem::ss_try::handlers [private]

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_try::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:19 2007 for lestes by doxygen 1.5.1-20070107