lestes::lang::cplus::sem::ss_catch Class Reference

Class for catch handler for try block. More...

#include <ss_statement.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_compound_stmtbody_get () const
 The method body_get returns the value of the field ss_catch::body.
void body_set (const ptr< ss_compound_stmt > &)
 The method body_set sets the field ss_catch::body to the given value.
ptr< ss_declarationdecl_get () const
 The method decl_get returns the value of the field ss_catch::decl.
void decl_set (const ptr< ss_declaration > &)
 The method decl_set sets the field ss_catch::decl 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_catchcreate (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_catch__body, ptr< ss_declaration > a__ss_catch__decl)
 First generated factory method for class ss_catch.

Protected Member Functions

 ss_catch (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_catch__body, ptr< ss_declaration > a__ss_catch__decl)
 Generated constructor for class ss_catch.
virtual void gc_mark ()
 Marking routine for class ss_catch.

Private Attributes

srp< ss_compound_stmtbody
srp< ss_declarationdecl

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class for catch handler for try block.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_catch::ss_catch ( 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_catch__body,
ptr< ss_declaration a__ss_catch__decl 
) [protected]

Generated constructor for class ss_catch.

Generated constructor for class ss_catch.

Author:
lsg


Member Function Documentation

ptr< ss_compound_stmt > lestes::lang::cplus::sem::ss_catch::body_get (  )  const

The method body_get returns the value of the field ss_catch::body.

Returns:
The value of ss_catch::body.
Author:
lsg

void lestes::lang::cplus::sem::ss_catch::body_set ( const ptr< ss_compound_stmt > &  x  ) 

The method body_set sets the field ss_catch::body to the given value.

Parameters:
[in] x The new value to set ss_catch::body to.
Author:
lsg

ptr< ss_declaration > lestes::lang::cplus::sem::ss_catch::decl_get (  )  const

The method decl_get returns the value of the field ss_catch::decl.

Returns:
The value of ss_catch::decl.
Author:
lsg

void lestes::lang::cplus::sem::ss_catch::decl_set ( const ptr< ss_declaration > &  x  ) 

The method decl_set sets the field ss_catch::decl to the given value.

Parameters:
[in] x The new value to set ss_catch::decl to.
Author:
lsg

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

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

ptr< ss_catch > lestes::lang::cplus::sem::ss_catch::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_catch__body,
ptr< ss_declaration a__ss_catch__decl 
) [static]

First generated factory method for class ss_catch.

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

Author:
lsg

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

for purposes of dumping

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

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

Marking routine for class ss_catch.

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_catch::body [private]

srp< ss_declaration > lestes::lang::cplus::sem::ss_catch::decl [private]

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