lestes::lang::cplus::sem::ss_literal Class Reference

Class for literal value. More...

#include <ss_expression.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_literal_infovalue_get () const
 The method value_get returns the value of the field ss_literal::value.
void value_set (const ptr< ss_literal_info > &)
 The method value_set sets the field ss_literal::value to the given value.
virtual void accept_ss_expression_visitor (ptr< ss_expression_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_literalcreate (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, ptr< ss_literal_info > a__ss_literal__value)
 First generated factory method for class ss_literal.

Protected Member Functions

 ss_literal (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, ptr< ss_literal_info > a__ss_literal__value)
 Generated constructor for class ss_literal.
virtual void gc_mark ()
 Marking routine for class ss_literal.

Private Attributes

srp< ss_literal_infovalue

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class for literal value.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_literal::ss_literal ( 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,
ptr< ss_literal_info a__ss_literal__value 
) [protected]

Generated constructor for class ss_literal.

Generated constructor for class ss_literal.

Author:
lsg


Member Function Documentation

ptr< ss_literal_info > lestes::lang::cplus::sem::ss_literal::value_get ( void   )  const

The method value_get returns the value of the field ss_literal::value.

Returns:
The value of ss_literal::value.
Author:
lsg

void lestes::lang::cplus::sem::ss_literal::value_set ( const ptr< ss_literal_info > &  x  ) 

The method value_set sets the field ss_literal::value to the given value.

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

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

Implements lestes::lang::cplus::sem::ss_expression.

ptr< ss_literal > lestes::lang::cplus::sem::ss_literal::create ( 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,
ptr< ss_literal_info a__ss_literal__value 
) [static]

First generated factory method for class ss_literal.

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

Author:
lsg

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class ss_literal.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ss_literal_info > lestes::lang::cplus::sem::ss_literal::value [private]

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

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


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