Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::lang::cx_identifier Class Reference

The representation of a variable (auto, global, or function name). More...

#include <more/lang/cx_expr.h>

Inheritance diagram for more::lang::cx_identifier:

Inheritance graph
[legend]
Collaboration diagram for more::lang::cx_identifier:

Collaboration graph
[legend]
List of all members.

Public Methods


Detailed Description

The representation of a variable (auto, global, or function name).


Constructor & Destructor Documentation

more::lang::cx_identifier::cx_identifier ct_type const *    r [inline, explicit]
 

Construct a unique variable.

more::lang::cx_identifier::cx_identifier ct_type const *    r,
identifier    id
[inline]
 

Construct a variable with the name given by id.

virtual more::lang::cx_identifier::~cx_identifier   [virtual]
 


Member Function Documentation

identifier more::lang::cx_identifier::name   const [inline]
 

virtual void more::lang::cx_identifier::print_as_expr std::ostream &    os const [virtual]
 

Print the C source code of this expression.

The default implementation thows a logic error. This function may be overloaded to extend the backend, otherwise it may be easier to transform the source code.

Reimplemented from more::lang::cx_expr.

void more::lang::cx_identifier::set_name identifier    idr [inline]
 


The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:12:50 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.