Polaris: OmegaExpr Class Reference

OmegaExpr Class Reference

An expression representing OMEGA. More...

#include <OmegaExpr.h>

Inheritance diagram for OmegaExpr:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OmegaExpr ()
 OmegaExpr (const OmegaExpr &e)
virtual ~OmegaExpr ()
 OmegaExpr code:.
virtual Expressionclone () const
 Return a copy of myself.
virtual OmegaExproperator= (const OmegaExpr &)
virtual void print_debug (ostream &o, Boolean debug) const
 debug indicates whether it should contain extra fields
virtual int structures_OK () const
 Return 1 if my structures are in a valid state.
virtual void convert (BinRep &exprSet, Symtab &symtab)
 See Expression.h.
virtual int exchange_expr (VDL &vdl)
 Create a node in the "expression" member and return the index.

Detailed Description

An expression representing OMEGA.

Polaris C++ VDL

See also:
Expression.h

Expression.cc

Description

A OmegaExpr is an expression for holding OMEGA. The value OMEGA is not part of the Fortran language. Instead, it is a data structure value that originated from the Delta compiler, which was implemented in SETL. OmegaExprs are typically used to represent undefined values.

Definition at line 29 of file OmegaExpr.h.


Constructor & Destructor Documentation

OmegaExpr::OmegaExpr  )  [inline]
 

< nothing to do

Definition at line 50 of file OmegaExpr.h.

References make_type(), OMEGA_OP, and VOID_TYPE.

OmegaExpr::OmegaExpr const OmegaExpr e  )  [inline]
 

< nothing to do

Definition at line 57 of file OmegaExpr.h.

References e.

OmegaExpr::~OmegaExpr  )  [virtual]
 

OmegaExpr code:.

... nothing to do

Definition at line 6128 of file Expression.cc.


Member Function Documentation

Expression * OmegaExpr::clone  )  const [virtual]
 

Return a copy of myself.

Implements Expression.

Definition at line 6140 of file Expression.cc.

virtual OmegaExpr& OmegaExpr::operator= const OmegaExpr  )  [virtual]
 

virtual void OmegaExpr::print_debug ostream &  o,
Boolean  debug
const [virtual]
 

debug indicates whether it should contain extra fields

Implements Expression.

int OmegaExpr::structures_OK  )  const [virtual]
 

Return 1 if my structures are in a valid state.

Implements Expression.

Definition at line 6146 of file Expression.cc.

virtual void OmegaExpr::convert BinRep exprSet,
Symtab symtab
[virtual]
 

See Expression.h.

Implements Expression.

int OmegaExpr::exchange_expr VDL vdl  )  [virtual]
 

Create a node in the "expression" member and return the index.

Reimplemented from Expression.

Definition at line 6153 of file Expression.cc.

References Expression::exchange_expr(), BinRep::find_ref(), Set< T >::ins(), List< T >::ins_last(), and BinRep::to_tuple().


The documentation for this class was generated from the following files:
 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:07:52 2005