/vesta/vestasys.org/vesta/eval/98/src/Expr.C File Reference

#include "Expr.H"
#include "ApplyCache.H"
#include "Files.H"
#include "Debug.H"
#include "ThreadData.H"
#include <FPStream.H>

Include dependency graph for Expr.C:

Go to the source code of this file.

Classes

struct  FileECClosure

Functions

FP::Tag FingerPrint (Expr expr)
Vals EvalArgs (ArgList args, const Context &c)
Vars AddVars (const Vars &fv1, const Vars &fv2)
Vars Remove (const Vars &body, const Text &id)
Vars Remove (const Vars &body, const Vars &bound)
bool AllFreeVarsBoundInContext (const Expr e, const Context &c)
bool IsId (const Text &id)
Context ProcessModelHead (ModelEC *model)

Variables

const char * nameDot = "."


Function Documentation

Vars AddVars ( const Vars fv1,
const Vars fv2 
)

Definition at line 846 of file Expr.C.

References ListT< Value >::Member(), ListT< Value >::Null(), ListT< Value >::Pop(), and ListT< Value >::Push().

Referenced by BindingEC::AddExpr(), ListEC::AddExpr(), StmtListEC::AddExpr(), ArgListEC::AddExpr(), ExprListEC::AddExpr(), ApplyEC::ApplyEC(), ApplyOpEC::ApplyOpEC(), BindEC::BindEC(), BlockEC::BlockEC(), FuncEC::FuncEC(), IfEC::IfEC(), IterateEC::IterateEC(), PairEC::PairEC(), and SelectEC::SelectEC().

Here is the call graph for this function:

Here is the caller graph for this function:

bool AllFreeVarsBoundInContext ( const Expr  e,
const Context c 
)

Definition at line 883 of file Expr.C.

References OS::cio(), ExprC::EError(), OS::ThreadIO::end_err(), ErrorDetail(), FindInContext(), ExprC::freeVars, ListT< Value >::Null(), nullAssoc, ListT< Value >::Pop(), PrintContext(), and OS::ThreadIO::start_err().

Here is the call graph for this function:

Vals EvalArgs ( ArgList  args,
const Context c 
)

Definition at line 836 of file Expr.C.

References ListT< Value >::Append1D(), ArgListEC::elems, Sequence< Elem, elem_ptrfree >::get(), and Sequence< Elem, elem_ptrfree >::size().

Referenced by Append(), Assert(), Bind1(), Defined(), Div(), Elem(), FindInner(), GetFP(), GetName(), GetValue(), Head(), IsBinding(), IsBool(), IsClosure(), IsErr(), IsInt(), IsList(), IsText(), Length(), List1(), Lookup(), Map(), Max(), Min(), Mod(), ModelName(), ParMap(), Print(), SameType(), Sub(), Tail(), and TypeOf().

Here is the call graph for this function:

Here is the caller graph for this function:

FP::Tag FingerPrint ( Expr  expr  ) 

Definition at line 830 of file Expr.C.

References ExprC::PrintD(), and FP::FPStream::tag().

Here is the call graph for this function:

bool IsId ( const Text id  ) 

Definition at line 903 of file Expr.C.

Referenced by ProcessModelHead().

Here is the caller graph for this function:

Context ProcessModelHead ( ModelEC model  ) 

Definition at line 942 of file Expr.C.

References BindEK, OS::cio(), conEmpty, ExprC::EError(), ExprListEC::elems, OS::ThreadIO::end_err(), ModelEC::files, Sequence< Elem, elem_ptrfree >::get(), NameEC::id, ModelEC::imports, InternalError(), IsId(), ExprC::kind, BindEC::lhs, PushToContext(), BindEC::rhs, and Sequence< Elem, elem_ptrfree >::size().

Referenced by ModelEC::Eval(), ModelVC::Force(), and Interpret().

Here is the call graph for this function:

Here is the caller graph for this function:

Vars Remove ( const Vars body,
const Vars bound 
)

Definition at line 869 of file Expr.C.

References ListT< Value >::Member(), ListT< Value >::Null(), and ListT< Value >::Pop().

Here is the call graph for this function:

Vars Remove ( const Vars body,
const Text id 
)

Definition at line 858 of file Expr.C.


Variable Documentation

const char* nameDot = "."

Definition at line 35 of file Expr.C.

Referenced by ApplyEC::ApplyEC(), ApplyModel(), BindApplicationArgs(), BindRunToolArgs(), CollectAllDpnd(), CollectModel(), ModelEC::Eval(), Formals(), FuncEC::FuncEC(), Map(), ModelCutOff(), ParMap(), and ValInit_inner().


Generated on Thu May 24 23:49:26 2007 for Vesta by  doxygen 1.5.1