Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

IfEC Class Reference

#include <Expr.H>

Inheritance diagram for IfEC:

ExprC List of all members.

Public Member Functions

 IfEC (Expr tcond, Expr tthen, Expr tels, SrcLoc *tloc)
void PrintD (std::ostream *os)
Val Eval (const Context &c)

Public Attributes

Expr test
Expr then
Expr els

Constructor & Destructor Documentation

IfEC::IfEC Expr  tcond,
Expr  tthen,
Expr  tels,
SrcLoc tloc
 

Definition at line 54 of file Expr.C.

References AddVars(), els, ExprC::freeVars, test, and then.


Member Function Documentation

Val IfEC::Eval const Context c  )  [virtual]
 

Implements ExprC.

Definition at line 68 of file Expr.C.

References ValC::AddToDPS(), ValC::cacheit, ExprC::EError(), els, ExprC::Eval(), IsValFalse(), IsValTrue(), Basics::mutex::lock(), ValC::MergeDPS(), outputMu, RecordErrorOnStack(), test, then, TypePK, Basics::mutex::unlock(), and ValType().

void IfEC::PrintD std::ostream *  os  )  [virtual]
 

Implements ExprC.

Definition at line 60 of file Expr.C.

References els, ExprC::PrintD(), test, and then.


Member Data Documentation

Expr IfEC::els
 

Definition at line 85 of file Expr.H.

Referenced by Eval(), IfEC(), PickleC::PickleExpr(), and PrintD().

Expr IfEC::test
 

Definition at line 85 of file Expr.H.

Referenced by Eval(), IfEC(), PickleC::PickleExpr(), and PrintD().

Expr IfEC::then
 

Definition at line 85 of file Expr.H.

Referenced by Eval(), IfEC(), PickleC::PickleExpr(), and PrintD().


The documentation for this class was generated from the following files:
Generated on Mon May 8 00:49:10 2006 for Vesta by  doxygen 1.4.2