lestes::lang::cplus::sem::ss_expression Class Reference

Base class for expressions. More...

#include <ss_expression.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_typetype_get () const
 The method type_get returns the value of the field ss_expression::type.
void type_set (const ptr< ss_type > &)
 The method type_set sets the field ss_expression::type to the given value.
ptr< ss_sppsp_get () const
 The method psp_get returns the value of the field ss_expression::psp.
void psp_set (const ptr< ss_sp > &)
 The method psp_set sets the field ss_expression::psp to the given value.
ptr< ss_spnsp_get () const
 The method nsp_get returns the value of the field ss_expression::nsp.
void nsp_set (const ptr< ss_sp > &)
 The method nsp_set sets the field ss_expression::nsp to the given value.
virtual bool is_lvalue ()
 return false
virtual int get_value ()
virtual void accept_ss_expression_visitor (ptr< ss_expression_visitor > v) override
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Protected Member Functions

 ss_expression (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_type > a__ss_expression__type, ptr< ss_sp > a__ss_expression__psp, ptr< ss_sp > a__ss_expression__nsp)
 Generated constructor for class ss_expression.
virtual void gc_mark ()
 Marking routine for class ss_expression.

Private Attributes

srp< ss_typetype
srp< ss_sppsp
srp< ss_spnsp

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Base class for expressions.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_expression::ss_expression ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_type a__ss_expression__type,
ptr< ss_sp a__ss_expression__psp,
ptr< ss_sp a__ss_expression__nsp 
) [protected]

Generated constructor for class ss_expression.

Generated constructor for class ss_expression.

Author:
lsg


Member Function Documentation

ptr< ss_type > lestes::lang::cplus::sem::ss_expression::type_get ( void   )  const

The method type_get returns the value of the field ss_expression::type.

Returns:
The value of ss_expression::type.
Author:
lsg

Reimplemented in lestes::lang::cplus::sem::ss_throw.

void lestes::lang::cplus::sem::ss_expression::type_set ( const ptr< ss_type > &  x  ) 

The method type_set sets the field ss_expression::type to the given value.

Parameters:
[in] x The new value to set ss_expression::type to.
Author:
lsg

Reimplemented in lestes::lang::cplus::sem::ss_throw.

ptr< ss_sp > lestes::lang::cplus::sem::ss_expression::psp_get (  )  const

The method psp_get returns the value of the field ss_expression::psp.

Returns:
The value of ss_expression::psp.
Author:
lsg

void lestes::lang::cplus::sem::ss_expression::psp_set ( const ptr< ss_sp > &  x  ) 

The method psp_set sets the field ss_expression::psp to the given value.

Parameters:
[in] x The new value to set ss_expression::psp to.
Author:
lsg

ptr< ss_sp > lestes::lang::cplus::sem::ss_expression::nsp_get (  )  const

The method nsp_get returns the value of the field ss_expression::nsp.

Returns:
The value of ss_expression::nsp.
Author:
lsg

void lestes::lang::cplus::sem::ss_expression::nsp_set ( const ptr< ss_sp > &  x  ) 

The method nsp_set sets the field ss_expression::nsp to the given value.

Parameters:
[in] x The new value to set ss_expression::nsp to.
Author:
lsg

bool lestes::lang::cplus::sem::ss_expression::is_lvalue (  )  [virtual]

return false

Reimplemented in lestes::lang::cplus::sem::ss_assign, lestes::lang::cplus::sem::ss_dereference, lestes::lang::cplus::sem::ss_address_of, and lestes::lang::cplus::sem::ss_var_ref_abstract.

int lestes::lang::cplus::sem::ss_expression::get_value (  )  [virtual]

virtual void lestes::lang::cplus::sem::ss_expression::accept_ss_expression_visitor ( ptr< ss_expression_visitor v  )  [pure virtual]

Implemented in lestes::lang::cplus::sem::ss_assign, lestes::lang::cplus::sem::ss_add, lestes::lang::cplus::sem::ss_sub, lestes::lang::cplus::sem::ss_mul, lestes::lang::cplus::sem::ss_div, lestes::lang::cplus::sem::ss_mod, lestes::lang::cplus::sem::ss_shr, lestes::lang::cplus::sem::ss_shl, lestes::lang::cplus::sem::ss_sbg, lestes::lang::cplus::sem::ss_sbl, lestes::lang::cplus::sem::ss_sbng, lestes::lang::cplus::sem::ss_sbnl, lestes::lang::cplus::sem::ss_sbne, lestes::lang::cplus::sem::ss_sbe, lestes::lang::cplus::sem::ss_band, lestes::lang::cplus::sem::ss_bor, lestes::lang::cplus::sem::ss_bxor, lestes::lang::cplus::sem::ss_land, lestes::lang::cplus::sem::ss_lor, lestes::lang::cplus::sem::ss_arr_acc, lestes::lang::cplus::sem::ss_funcall_abstr, lestes::lang::cplus::sem::ss_pfuncall, lestes::lang::cplus::sem::ss_funcall, lestes::lang::cplus::sem::ss_ifuncall, lestes::lang::cplus::sem::ss_mfuncall, lestes::lang::cplus::sem::ss_vfuncall, lestes::lang::cplus::sem::ss_unary_expr, lestes::lang::cplus::sem::ss_dereference, lestes::lang::cplus::sem::ss_conversion, lestes::lang::cplus::sem::ss_array_to_pointer, lestes::lang::cplus::sem::ss_bind_reference, lestes::lang::cplus::sem::ss_bind_to_temporary, lestes::lang::cplus::sem::ss_get, lestes::lang::cplus::sem::ss_vol_get, lestes::lang::cplus::sem::ss_gat, lestes::lang::cplus::sem::ss_neg, lestes::lang::cplus::sem::ss_lnot, lestes::lang::cplus::sem::ss_bnot, lestes::lang::cplus::sem::ss_address_of, lestes::lang::cplus::sem::ss_this_expr, lestes::lang::cplus::sem::ss_literal, lestes::lang::cplus::sem::ss_ternary, lestes::lang::cplus::sem::ss_var_ref_abstract, lestes::lang::cplus::sem::ss_var_ref_by_qname, lestes::lang::cplus::sem::ss_var_ref, lestes::lang::cplus::sem::ss_throw, lestes::lang::cplus::sem::ss_member_ptr, lestes::lang::cplus::sem::ss_ptr_member_ptr, lestes::lang::cplus::sem::ss_access, lestes::lang::cplus::sem::ss_ptr_access, and lestes::lang::cplus::sem::ss_binary_expr.

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

for purposes of dumping

Reimplemented from lestes::intercode::ss_base_with_location.

Reimplemented in lestes::lang::cplus::sem::ss_assign, lestes::lang::cplus::sem::ss_add, lestes::lang::cplus::sem::ss_sub, lestes::lang::cplus::sem::ss_mul, lestes::lang::cplus::sem::ss_div, lestes::lang::cplus::sem::ss_mod, lestes::lang::cplus::sem::ss_shr, lestes::lang::cplus::sem::ss_shl, lestes::lang::cplus::sem::ss_sbg, lestes::lang::cplus::sem::ss_sbl, lestes::lang::cplus::sem::ss_sbng, lestes::lang::cplus::sem::ss_sbnl, lestes::lang::cplus::sem::ss_sbne, lestes::lang::cplus::sem::ss_sbe, lestes::lang::cplus::sem::ss_band, lestes::lang::cplus::sem::ss_bor, lestes::lang::cplus::sem::ss_bxor, lestes::lang::cplus::sem::ss_land, lestes::lang::cplus::sem::ss_lor, lestes::lang::cplus::sem::ss_arr_acc, lestes::lang::cplus::sem::ss_funcall_abstr, lestes::lang::cplus::sem::ss_pfuncall, lestes::lang::cplus::sem::ss_funcall, lestes::lang::cplus::sem::ss_ifuncall, lestes::lang::cplus::sem::ss_mfuncall, lestes::lang::cplus::sem::ss_vfuncall, lestes::lang::cplus::sem::ss_unary_expr, lestes::lang::cplus::sem::ss_dereference, lestes::lang::cplus::sem::ss_conversion, lestes::lang::cplus::sem::ss_array_to_pointer, lestes::lang::cplus::sem::ss_bind_reference, lestes::lang::cplus::sem::ss_bind_to_temporary, lestes::lang::cplus::sem::ss_get, lestes::lang::cplus::sem::ss_vol_get, lestes::lang::cplus::sem::ss_gat, lestes::lang::cplus::sem::ss_neg, lestes::lang::cplus::sem::ss_lnot, lestes::lang::cplus::sem::ss_bnot, lestes::lang::cplus::sem::ss_address_of, lestes::lang::cplus::sem::ss_this_expr, lestes::lang::cplus::sem::ss_literal, lestes::lang::cplus::sem::ss_ternary, lestes::lang::cplus::sem::ss_var_ref_abstract, lestes::lang::cplus::sem::ss_var_ref_by_qname, lestes::lang::cplus::sem::ss_var_ref, lestes::lang::cplus::sem::ss_throw, lestes::lang::cplus::sem::ss_member_ptr, lestes::lang::cplus::sem::ss_ptr_member_ptr, lestes::lang::cplus::sem::ss_access, lestes::lang::cplus::sem::ss_ptr_access, and lestes::lang::cplus::sem::ss_binary_expr.

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

for purposes of dumping

Reimplemented from lestes::intercode::ss_base_with_location.

Reimplemented in lestes::lang::cplus::sem::ss_assign, lestes::lang::cplus::sem::ss_add, lestes::lang::cplus::sem::ss_sub, lestes::lang::cplus::sem::ss_mul, lestes::lang::cplus::sem::ss_div, lestes::lang::cplus::sem::ss_mod, lestes::lang::cplus::sem::ss_shr, lestes::lang::cplus::sem::ss_shl, lestes::lang::cplus::sem::ss_sbg, lestes::lang::cplus::sem::ss_sbl, lestes::lang::cplus::sem::ss_sbng, lestes::lang::cplus::sem::ss_sbnl, lestes::lang::cplus::sem::ss_sbne, lestes::lang::cplus::sem::ss_sbe, lestes::lang::cplus::sem::ss_band, lestes::lang::cplus::sem::ss_bor, lestes::lang::cplus::sem::ss_bxor, lestes::lang::cplus::sem::ss_land, lestes::lang::cplus::sem::ss_lor, lestes::lang::cplus::sem::ss_arr_acc, lestes::lang::cplus::sem::ss_funcall_abstr, lestes::lang::cplus::sem::ss_pfuncall, lestes::lang::cplus::sem::ss_funcall, lestes::lang::cplus::sem::ss_ifuncall, lestes::lang::cplus::sem::ss_mfuncall, lestes::lang::cplus::sem::ss_vfuncall, lestes::lang::cplus::sem::ss_unary_expr, lestes::lang::cplus::sem::ss_dereference, lestes::lang::cplus::sem::ss_conversion, lestes::lang::cplus::sem::ss_array_to_pointer, lestes::lang::cplus::sem::ss_bind_reference, lestes::lang::cplus::sem::ss_bind_to_temporary, lestes::lang::cplus::sem::ss_get, lestes::lang::cplus::sem::ss_vol_get, lestes::lang::cplus::sem::ss_gat, lestes::lang::cplus::sem::ss_neg, lestes::lang::cplus::sem::ss_lnot, lestes::lang::cplus::sem::ss_bnot, lestes::lang::cplus::sem::ss_address_of, lestes::lang::cplus::sem::ss_this_expr, lestes::lang::cplus::sem::ss_literal, lestes::lang::cplus::sem::ss_ternary, lestes::lang::cplus::sem::ss_var_ref_abstract, lestes::lang::cplus::sem::ss_var_ref_by_qname, lestes::lang::cplus::sem::ss_var_ref, lestes::lang::cplus::sem::ss_throw, lestes::lang::cplus::sem::ss_member_ptr, lestes::lang::cplus::sem::ss_ptr_member_ptr, lestes::lang::cplus::sem::ss_access, lestes::lang::cplus::sem::ss_ptr_access, and lestes::lang::cplus::sem::ss_binary_expr.

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

Marking routine for class ss_expression.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::intercode::ss_base_with_location.

Reimplemented in lestes::lang::cplus::sem::ss_assign, lestes::lang::cplus::sem::ss_add, lestes::lang::cplus::sem::ss_sub, lestes::lang::cplus::sem::ss_mul, lestes::lang::cplus::sem::ss_div, lestes::lang::cplus::sem::ss_mod, lestes::lang::cplus::sem::ss_shr, lestes::lang::cplus::sem::ss_shl, lestes::lang::cplus::sem::ss_sbg, lestes::lang::cplus::sem::ss_sbl, lestes::lang::cplus::sem::ss_sbng, lestes::lang::cplus::sem::ss_sbnl, lestes::lang::cplus::sem::ss_sbne, lestes::lang::cplus::sem::ss_sbe, lestes::lang::cplus::sem::ss_band, lestes::lang::cplus::sem::ss_bor, lestes::lang::cplus::sem::ss_bxor, lestes::lang::cplus::sem::ss_land, lestes::lang::cplus::sem::ss_lor, lestes::lang::cplus::sem::ss_arr_acc, lestes::lang::cplus::sem::ss_funcall_abstr, lestes::lang::cplus::sem::ss_pfuncall, lestes::lang::cplus::sem::ss_funcall, lestes::lang::cplus::sem::ss_ifuncall, lestes::lang::cplus::sem::ss_mfuncall, lestes::lang::cplus::sem::ss_vfuncall, lestes::lang::cplus::sem::ss_unary_expr, lestes::lang::cplus::sem::ss_dereference, lestes::lang::cplus::sem::ss_conversion, lestes::lang::cplus::sem::ss_array_to_pointer, lestes::lang::cplus::sem::ss_bind_reference, lestes::lang::cplus::sem::ss_bind_to_temporary, lestes::lang::cplus::sem::ss_get, lestes::lang::cplus::sem::ss_vol_get, lestes::lang::cplus::sem::ss_gat, lestes::lang::cplus::sem::ss_neg, lestes::lang::cplus::sem::ss_lnot, lestes::lang::cplus::sem::ss_bnot, lestes::lang::cplus::sem::ss_address_of, lestes::lang::cplus::sem::ss_this_expr, lestes::lang::cplus::sem::ss_literal, lestes::lang::cplus::sem::ss_ternary, lestes::lang::cplus::sem::ss_var_ref_abstract, lestes::lang::cplus::sem::ss_var_ref_by_qname, lestes::lang::cplus::sem::ss_var_ref, lestes::lang::cplus::sem::ss_throw, lestes::lang::cplus::sem::ss_member_ptr, lestes::lang::cplus::sem::ss_ptr_member_ptr, lestes::lang::cplus::sem::ss_access, lestes::lang::cplus::sem::ss_ptr_access, and lestes::lang::cplus::sem::ss_binary_expr.


Member Data Documentation

srp< ss_type > lestes::lang::cplus::sem::ss_expression::type [private]

Reimplemented in lestes::lang::cplus::sem::ss_throw.

srp< ss_sp > lestes::lang::cplus::sem::ss_expression::psp [private]

srp< ss_sp > lestes::lang::cplus::sem::ss_expression::nsp [private]

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

Reimplemented from lestes::intercode::ss_base_with_location.

Reimplemented in lestes::lang::cplus::sem::ss_assign, lestes::lang::cplus::sem::ss_add, lestes::lang::cplus::sem::ss_sub, lestes::lang::cplus::sem::ss_mul, lestes::lang::cplus::sem::ss_div, lestes::lang::cplus::sem::ss_mod, lestes::lang::cplus::sem::ss_shr, lestes::lang::cplus::sem::ss_shl, lestes::lang::cplus::sem::ss_sbg, lestes::lang::cplus::sem::ss_sbl, lestes::lang::cplus::sem::ss_sbng, lestes::lang::cplus::sem::ss_sbnl, lestes::lang::cplus::sem::ss_sbne, lestes::lang::cplus::sem::ss_sbe, lestes::lang::cplus::sem::ss_band, lestes::lang::cplus::sem::ss_bor, lestes::lang::cplus::sem::ss_bxor, lestes::lang::cplus::sem::ss_land, lestes::lang::cplus::sem::ss_lor, lestes::lang::cplus::sem::ss_arr_acc, lestes::lang::cplus::sem::ss_funcall_abstr, lestes::lang::cplus::sem::ss_pfuncall, lestes::lang::cplus::sem::ss_funcall, lestes::lang::cplus::sem::ss_ifuncall, lestes::lang::cplus::sem::ss_mfuncall, lestes::lang::cplus::sem::ss_vfuncall, lestes::lang::cplus::sem::ss_unary_expr, lestes::lang::cplus::sem::ss_dereference, lestes::lang::cplus::sem::ss_conversion, lestes::lang::cplus::sem::ss_array_to_pointer, lestes::lang::cplus::sem::ss_bind_reference, lestes::lang::cplus::sem::ss_bind_to_temporary, lestes::lang::cplus::sem::ss_get, lestes::lang::cplus::sem::ss_vol_get, lestes::lang::cplus::sem::ss_gat, lestes::lang::cplus::sem::ss_neg, lestes::lang::cplus::sem::ss_lnot, lestes::lang::cplus::sem::ss_bnot, lestes::lang::cplus::sem::ss_address_of, lestes::lang::cplus::sem::ss_this_expr, lestes::lang::cplus::sem::ss_literal, lestes::lang::cplus::sem::ss_ternary, lestes::lang::cplus::sem::ss_var_ref_abstract, lestes::lang::cplus::sem::ss_var_ref_by_qname, lestes::lang::cplus::sem::ss_var_ref, lestes::lang::cplus::sem::ss_throw, lestes::lang::cplus::sem::ss_member_ptr, lestes::lang::cplus::sem::ss_ptr_member_ptr, lestes::lang::cplus::sem::ss_access, lestes::lang::cplus::sem::ss_ptr_access, and lestes::lang::cplus::sem::ss_binary_expr.


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