ConstantEC Class Reference

#include <Expr.H>

Inheritance diagram for ConstantEC:

Inheritance graph
[legend]
Collaboration diagram for ConstantEC:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ConstantEC (Val lit, SrcLoc *tloc)
void PrintD (std::ostream &os)
Val Eval (const Context &c)

Public Attributes

Val val

Detailed Description

Definition at line 73 of file Expr.H.


Constructor & Destructor Documentation

ConstantEC::ConstantEC ( Val  lit,
SrcLoc tloc 
) [inline]

Definition at line 75 of file Expr.H.


Member Function Documentation

void ConstantEC::PrintD ( std::ostream &  os  )  [inline, virtual]

Implements ExprC.

Definition at line 78 of file Expr.H.

References ValC::PrintD(), and val.

Here is the call graph for this function:

Val ConstantEC::Eval ( const Context c  )  [virtual]

Implements ExprC.

Definition at line 48 of file Expr.C.

References ValC::Copy(), and val.

Here is the call graph for this function:


Member Data Documentation

Val ConstantEC::val

Definition at line 76 of file Expr.H.

Referenced by Eval(), and PrintD().


The documentation for this class was generated from the following files:
Generated on Fri May 25 00:52:22 2007 for Vesta by  doxygen 1.5.1