#include "ValExpr.H"#include "Location.H"#include "Dep.H"#include "Prim.H"#include "Err.H"#include <Generics.H>#include <CacheC.H>#include <PrefixTbl.H>#include <VestaSource.H>#include <iostream>#include <fstream>Include dependency graph for Val.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
| enum ValueKind |
| Context AddStmtAssocs | ( | StmtListEC * | assocs, | |
| const Context & | c | |||
| ) |
Definition at line 2755 of file Val.C.
References AssignAssoc(), AssignEK, OS::cio(), StmtListEC::elems, OS::ThreadIO::end_err(), Error(), ErrorDetail(), ErrorExpr(), IterateEC::Eval(), Sequence< Elem, elem_ptrfree >::get(), IterateAssoc(), IterateEK, ExprC::loc, Sequence< Elem, elem_ptrfree >::size(), OS::ThreadIO::start_err(), TryEK, and TypedEK.
Referenced by BlockEC::Eval(), and IterateAssoc().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2605 of file Val.C.
References ListT< Value >::Append1D(), ExprC::Eval(), ExprC::freeVars, NEW_CONSTR, and RestrictContext().
Referenced by BindingEC::Eval().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2388 of file Val.C.
References ListT< Value >::Null(), nullAssoc, and ListT< Value >::Pop().
Referenced by AllFreeVarsBoundInContext(), BindingVC::Defined(), BindingVC::DefinedNoDpnd(), BindingEC::Eval(), Lookup(), LookupInContext(), Map(), ParMap(), Prune(), BindingVC::RecursiveOverlay(), RestrictContext(), and BindingVC::SimpleOverlay().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2126 of file Val.C.
References CollectFunc().
Referenced by ApplicationFromCache().
Here is the call graph for this function:

Here is the caller graph for this function:

| bool IsEmptyBinding | ( | Val | v | ) |
Definition at line 1291 of file Val.C.
References BindingVK, and ValC::vKind.
Referenced by Append(), Defined(), EqualVal(), Lookup(), Minus(), Plus(), and PlusPlus().
Here is the caller graph for this function:

| bool IsEmptyList | ( | Val | v | ) |
Definition at line 1295 of file Val.C.
References ListVK, and ValC::vKind.
Referenced by Append(), EqualVal(), and Plus().
Here is the caller graph for this function:

| bool IsValFalse | ( | Val | v | ) |
Definition at line 1287 of file Val.C.
References BooleanVK, and ValC::vKind.
Referenced by And(), EqualVal(), IfEC::Eval(), Implies(), and NotEq().
Here is the caller graph for this function:

| bool IsValTrue | ( | Val | v | ) |
Definition at line 1283 of file Val.C.
References BooleanVK, and ValC::vKind.
Referenced by BindingAppend(), IfEC::Eval(), and Or().
Here is the caller graph for this function:

Definition at line 1922 of file Val.C.
References CanonicalDpnd(), CollectLet(), DeleteDuplicatePaths(), AssocVC::name, ListT< Value >::Null(), ListT< Value >::Pop(), and AssocVC::val.
Referenced by BlockEC::Eval().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2398 of file Val.C.
References FindInContext(), and AssocVC::val.
Referenced by BindRunToolArgs(), CollectLookup(), NameEC::Eval(), BindingVC::Lookup(), Lookup(), LookupArc(), BindingVC::LookupNoDpnd(), and LookupPath().
Here is the call graph for this function:

Here is the caller graph for this function:

| Val LookupPath | ( | Basics::uint16 | idx, | |
| PathKind | pkind, | |||
| const PrefixTbl & | tbl, | |||
| const Context & | c, | |||
| Val * | vals | |||
| ) |
Definition at line 2561 of file Val.C.
References PrefixTbl::Arc(), BangPK, BindingVK, BLenPK, ClosureVK, ExprPK, ListVK, LLenPK, Lookup(), ModelVK, NEW_CONSTR, PrefixTbl::PrefixIndex(), TypePK, valFalse, valTrue, ValType(), valUnbnd, and ValC::vKind.
Here is the call graph for this function:

Definition at line 2488 of file Val.C.
References BangPK, BindingVK, BLenPK, ClosureVK, DepPath::content, ExprPK, ListVK, LLenPK, LookupArc(), LookupInContext(), ModelVK, NEW_CONSTR, path, TypePK, UnbndVK, valFalse, valTrue, ValType(), and ValC::vKind.
Here is the call graph for this function:

| void ModelCutOff | ( | Val | v | ) |
Definition at line 1492 of file Val.C.
References BindingVK, ClosureVK, ClosureVC::con, DepPath::content, ValC::dps, ListVC::elems, BindingVC::elems, ClosureVC::func, ListVC::lenDps, BindingVC::lenDps, ListVK, ModelCutOff(), FuncEC::name, nameDot, ListT< Value >::Null(), ValC::path, ListT< Value >::Pop(), DepPathTbl::DPS::Restrict(), SharedTable< K, V >::T::Size(), ValC::SizeOfDPS(), and ValC::vKind.
Referenced by ModelCutOff(), ModelFromCache(), NamesTagsPickle(), and NormalModelFromCache().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2233 of file Val.C.
References CollectModel().
Referenced by ModelFromCache().
Here is the call graph for this function:

Here is the caller graph for this function:

| void PrintContext | ( | std::ostream & | os, | |
| const Context & | c, | |||
| bool | verbose = false, |
|||
| int | indent = 0 | |||
| ) |
Definition at line 2381 of file Val.C.
References ValC::PrintD(), and Basics::OBufStream::str().
Referenced by ConvertToBindElem().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2653 of file Val.C.
References ListT< Value >::Append1D(), FindInContext(), ListT< Value >::Null(), nullAssoc, and ListT< Value >::Pop().
Here is the call graph for this function:

Definition at line 2612 of file Val.C.
References ExprC::Eval(), ExprC::freeVars, NEW_CONSTR, ListT< Value >::Push(), and RestrictContext().
Referenced by ApplyModel(), BindApplicationArgs(), ModelEC::Eval(), and ProcessModelHead().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2619 of file Val.C.
References ListT< Value >::Append1D(), FindInContext(), ListT< Value >::Null(), nullAssoc, and ListT< Value >::Pop().
Referenced by AppendDToContext(), AssignAssoc(), FuncEC::Eval(), Map(), ParMap(), and PushToContext().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2630 of file Val.C.
References ListT< Value >::Append1D(), AssocVC::name, ListT< Value >::Null(), and ListT< Value >::Pop().
Referenced by PickleC::PickleVal(), and BindingVC::RemoveBindingAssoc().
Here is the call graph for this function:

Here is the caller graph for this function:

| void ValInit | ( | ) |
Definition at line 2789 of file Val.C.
References ValInit_inner().
Referenced by StartEval().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1300 of file Val.C.
References BindingVK, BooleanVK, OS::cio(), ClosureVK, ErrorVK, IntegerVK, InternalError(), ListVK, ModelVK, PrimitiveVK, ValC::PrintD(), OS::ThreadIO::start_err(), TextVK, UnbndVK, valTBinding, valTBool, valTClosure, valTErr, valTInt, valTList, valTText, ValC::VError(), and ValC::vKind.
Referenced by IfEC::Eval(), ComputedEC::Eval(), BindingEC::Eval(), SelectEC::Eval(), ApplyEC::Eval(), IsType(), LookupPath(), ValC::MergeAndTypeDPS(), BindingVC::RecursiveOverlay(), and TypeOfVal().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1592 of file Val.C.
References BindingVK, ClosureVK, ClosureVC::con, ListVC::elems, BindingVC::elems, ClosureVC::func, ListVC::lenDps, BindingVC::lenDps, ListVK, FuncEC::name, ListT< Value >::Null(), ValC::path, ListT< Value >::Pop(), SharedTable< K, V >::T::Put(), SharedTable< K, V >::T::Size(), DepPathTbl::DPS::Union(), ValueDpnd(), and ValC::vKind.
Referenced by CollectDpnd(), MergeArgsDpnd(), NamesTagsPickle(), and ValueDpnd().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 79 of file Val.C.
Referenced by ApplyFunction(), BindApplicationArgs(), ModelFromCache(), NormalModelFromCache(), ProcessModelHead(), and RunToolFromCache().
Definition at line 56 of file Val.C.
Referenced by AllFreeVarsBoundInContext(), BindingVC::Defined(), BindingVC::DefinedNoDpnd(), BindingEC::Eval(), FindInContext(), Lookup(), Map(), ParMap(), Prune(), BindingVC::RecursiveOverlay(), RestrictContext(), and BindingVC::SimpleOverlay().
Definition at line 54 of file Val.C.
Referenced by ListVC::GetElemNoDpnd(), and BindingVC::GetElemNoDpnd().
Definition at line 52 of file Val.C.
Referenced by AddToNewStuff(), CollectDefined(), BindingVC::Defined(), NameEC::Eval(), SelectEC::Eval(), Evaluator_Dir_Server_Inner(), BindingVC::GetElem(), Lookup(), LookupPath(), Primary(), BindingVC::RecursiveOverlay(), and BindingVC::SimpleOverlay().
Definition at line 51 of file Val.C.
Referenced by CollectDefined(), BindingVC::Defined(), LookupPath(), Primary(), and PrimRunToolInit_inner().
Definition at line 55 of file Val.C.
Referenced by BindRunToolArgs(), Lookup(), LookupArc(), LookupPath(), RunTool(), RunToolPK(), and RunToolPKFromRoot().
1.5.1