#include <ss_statement.g.hh>
Inheritance diagram for lestes::lang::cplus::sem::ss_decl_stmt:
Public Types | |
enum | initializer_kind_enum { IK_DIRECT_INITIALIZATION, IK_DEFAULT_INITIALIZATION, IK_COPY_INITIALIZATION, IK_NOT_APPLY_INITIALIZATION } |
Public Member Functions | |
ptr< ss_declaration > | decl_get () const |
The method decl_get returns the value of the field ss_decl_stmt::decl. | |
void | decl_set (const ptr< ss_declaration > &) |
The method decl_set sets the field ss_decl_stmt::decl to the given value. | |
ptr< ::lestes::std::list< srp< ss_expression > > > | args_get () const |
The method args_get returns the value of the field ss_decl_stmt::args. | |
void | args_set (const ptr< ::lestes::std::list< srp< ss_expression > > > &) |
The method args_set sets the field ss_decl_stmt::args to the given value. | |
initializer_kind_enum | initializer_kind_get () const |
The method initializer_kind_get returns the value of the field ss_decl_stmt::initializer_kind. | |
void | initializer_kind_set (initializer_kind_enum) |
The method initializer_kind_set sets the field ss_decl_stmt::initializer_kind to the given value. | |
virtual void | accept_ss_statement_visitor (ptr< ss_statement_visitor > v) |
virtual ptr< reflection_list > | reflection_get () const |
for purposes of dumping | |
virtual ptr< field_list_list > | field_values_get () const |
for purposes of dumping | |
Static Public Member Functions | |
static ptr< ss_decl_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_declaration > a__ss_decl_stmt__decl, ptr< ::lestes::std::list< srp< ss_expression > > > a__ss_decl_stmt__args, initializer_kind_enum a__ss_decl_stmt__initializer_kind) |
First generated factory method for class ss_decl_stmt. | |
Protected Member Functions | |
ss_decl_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_declaration > a__ss_decl_stmt__decl, ptr< ::lestes::std::list< srp< ss_expression > > > a__ss_decl_stmt__args, initializer_kind_enum a__ss_decl_stmt__initializer_kind) | |
Generated constructor for class ss_decl_stmt. | |
virtual void | gc_mark () |
Marking routine for class ss_decl_stmt. | |
Private Attributes | |
srp< ss_declaration > | decl |
srp< ::lestes::std::list< srp< ss_expression > > > | args |
initializer_kind_enum | initializer_kind |
Distinguishes kind of initialization. | |
Static Private Attributes | |
static ptr< reflection_list > | reflection = reflection |
lestes::lang::cplus::sem::ss_decl_stmt::ss_decl_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_declaration > | a__ss_decl_stmt__decl, | |||
ptr< ::lestes::std::list< srp< ss_expression > > > | a__ss_decl_stmt__args, | |||
initializer_kind_enum | a__ss_decl_stmt__initializer_kind | |||
) | [protected] |
Generated constructor for class ss_decl_stmt.
Generated constructor for class ss_decl_stmt.
ptr< ss_declaration > lestes::lang::cplus::sem::ss_decl_stmt::decl_get | ( | ) | const |
The method decl_get returns the value of the field ss_decl_stmt::decl.
void lestes::lang::cplus::sem::ss_decl_stmt::decl_set | ( | const ptr< ss_declaration > & | x | ) |
The method decl_set sets the field ss_decl_stmt::decl to the given value.
[in] | x | The new value to set ss_decl_stmt::decl to. |
ptr<::lestes::std::list< srp< ss_expression > > > lestes::lang::cplus::sem::ss_decl_stmt::args_get | ( | ) | const |
The method args_get returns the value of the field ss_decl_stmt::args.
void lestes::lang::cplus::sem::ss_decl_stmt::args_set | ( | const ptr< ::lestes::std::list< srp< ss_expression > > > & | x | ) |
The method args_set sets the field ss_decl_stmt::args to the given value.
[in] | x | The new value to set ss_decl_stmt::args to. |
ss_decl_stmt::initializer_kind_enum lestes::lang::cplus::sem::ss_decl_stmt::initializer_kind_get | ( | ) | const |
The method initializer_kind_get returns the value of the field ss_decl_stmt::initializer_kind.
void lestes::lang::cplus::sem::ss_decl_stmt::initializer_kind_set | ( | initializer_kind_enum | x | ) |
The method initializer_kind_set sets the field ss_decl_stmt::initializer_kind to the given value.
[in] | x | The new value to set ss_decl_stmt::initializer_kind to. |
void lestes::lang::cplus::sem::ss_decl_stmt::accept_ss_statement_visitor | ( | ptr< ss_statement_visitor > | v | ) | [virtual] |
Implements lestes::lang::cplus::sem::ss_statement.
ptr< ss_decl_stmt > lestes::lang::cplus::sem::ss_decl_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_declaration > | a__ss_decl_stmt__decl, | |||
ptr< ::lestes::std::list< srp< ss_expression > > > | a__ss_decl_stmt__args, | |||
initializer_kind_enum | a__ss_decl_stmt__initializer_kind | |||
) | [static] |
First generated factory method for class ss_decl_stmt.
This factory method for class ss_decl_stmt takes values of all fields as arguments.
ptr< object::reflection_list > lestes::lang::cplus::sem::ss_decl_stmt::reflection_get | ( | ) | const [virtual] |
ptr< object::field_list_list > lestes::lang::cplus::sem::ss_decl_stmt::field_values_get | ( | ) | const [virtual] |
void lestes::lang::cplus::sem::ss_decl_stmt::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class ss_decl_stmt.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::ss_statement.
srp< ss_declaration > lestes::lang::cplus::sem::ss_decl_stmt::decl [private] |
srp< ::lestes::std::list< srp< ss_expression > > > lestes::lang::cplus::sem::ss_decl_stmt::args [private] |
Distinguishes kind of initialization.
IK_COPY_INITIALIZATION: int i = 3; int i = f(x); IK_DIRECT_INITIALIZATION: int i (3); A i (3,3); IK_DEFAULT_INITIALIZATION: int i; IK_NOT_APPLY_INITIALIZATION: class x {}; // where no initialization is possible details see [8.5]
ptr< object::reflection_list > lestes::lang::cplus::sem::ss_decl_stmt::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::ss_statement.