#include <Val.H>
Inheritance diagram for ValC:
Public Member Functions | |
virtual void | PrintD (std::ostream *os, bool verbose=false, int indent=0)=0 |
virtual Val | Copy (bool more=false)=0 |
virtual FP::Tag | FingerPrint ()=0 |
void | VError (const Text &message) |
Val | MergeDPS (DPaths *ps) |
Val | Merge (Val val) |
Val | MergeAndTypeDPS (Val val) |
Val | MergeAndLenDPS (Val val) |
Val | MergeLenDPS (Val val) |
Val | AddToDPS (DepPath *dp, Val v, PathKind pk=DummyPK) |
Val | AddExtendToDPS (DepPath *dp, Val v, PathKind pk, const Text &id) |
Val | Extend (Val v, const Text &id, PathKind pk=NormPK, bool add=true) |
int | SizeOfDPS () |
Public Attributes | |
ValueKind | vKind |
bool | tagged |
bool | cacheit |
int | dpsVersion |
FP::Tag | tag |
DPaths * | dps |
DepPath * | path |
Protected Member Functions | |
ValC (ValueKind vk) | |
ValC (const ValC &val) |
|
|
|
|
|
Definition at line 279 of file Val.C. References DepPath::content, dps, DepPath::Extend(), NEW, and SharedTable< K, V >::T::Put(). Referenced by BindingVC::Defined(), and BindingVC::GetElem(). |
|
Definition at line 263 of file Val.C. References DepPath::content, dps, DummyPK, NEW, NEW_CONSTR, and SharedTable< K, V >::T::Put(). Referenced by ApplyEC::Eval(), SelectEC::Eval(), BindingEC::Eval(), NameEC::Eval(), ComputedEC::Eval(), IfEC::Eval(), IsType(), IterateAssoc(), BindingVC::Length(), ListVC::Length(), ListAppend(), Lookup(), MergeAndLenDPS(), MergeAndTypeDPS(), and TypeOfVal(). |
|
Implemented in BooleanVC, IntegerVC, ListVC, BindingVC, PrimitiveVC, TextVC, ModelVC, ClosureVC, ErrorVC, FpVC, and UnbndVC. Referenced by ClosureVC::ClosureVC(), CollectLet(), NameEC::Eval(), ConstantEC::Eval(), Extend(), ListVC::GetElem(), IterateAssoc(), TypeOfVal(), and PickleC::UnpickleVal(). |
|
Definition at line 293 of file Val.C. References Copy(), DepPath::DeepCopy(), dps, DepPath::Extend(), MergeDPS(), and path. Referenced by BindingAppend(), Elem(), EqualVal(), BindingVC::GetElem(), ListAppend(), BindingVC::Lookup(), Map(), ParMap(), Sub(), and Tail(). |
|
Implemented in BooleanVC, IntegerVC, ListVC, BindingVC, PrimitiveVC, TextVC, ModelVC, ClosureVC, ErrorVC, FpVC, and UnbndVC. Referenced by GetFP(), Pickle(), RunToolPK(), and Sub(). |
|
Definition at line 185 of file Val.C. References dps, MergeDPS(), NEW, and SharedTable< K, V >::T::Put(). Referenced by And(), BindingAppend(), CollectLet(), EqualVal(), ApplyEC::Eval(), SelectEC::Eval(), BindingEC::Eval(), GetFP(), Greater(), GreaterEq(), Implies(), Less(), LessEq(), MergeArgsDpnd(), Min(), Minus(), ModelFromCache(), ModelName(), Neg(), Not(), Or(), Plus(), Star(), and Tail(). |
|
Definition at line 240 of file Val.C. References AddToDPS(), BindingVK, BLenPK, ListVC::elems, ListT< Value >::Length(), ListVK, LLenPK, MergeDPS(), MergeLenDPS(), BindingVC::Names(), NEW_CONSTR, and path. Referenced by Append(), BindingAppend(), EqualVal(), BindingVC::GetElem(), ListVC::GetElem(), Minus(), Plus(), and PlusPlus(). |
|
Definition at line 198 of file Val.C. References AddToDPS(), MergeDPS(), TypePK, and ValType(). Referenced by And(), BindingMinus(), EqualVal(), Greater(), GreaterEq(), Implies(), Less(), LessEq(), Minus(), Neg(), Not(), Or(), Plus(), PlusPlus(), SameTypeInner(), Star(), and Tail(). |
|
Definition at line 176 of file Val.C. References dps, DepPathTbl::DPS::Merge(), NEW_CONSTR, and SharedTable< K, V >::T::Size(). Referenced by CollectFunc(), CollectLet(), CollectModel(), BindingVC::Defined(), ApplyEC::Eval(), SelectEC::Eval(), BindingEC::Eval(), ComputedEC::Eval(), IfEC::Eval(), Extend(), BindingVC::GetElem(), ListVC::GetElem(), BindingVC::Length(), ListVC::Length(), ListAppend(), Lookup(), Merge(), MergeAndLenDPS(), MergeAndTypeDPS(), and MergeArgsDpnd(). |
|
Definition at line 205 of file Val.C. References BindingVK, BLenPK, dps, SharedTable< K, V >::KVPair::key, ListVK, LLenPK, NEW_CONSTR, SharedTable< K, V >::Iterator::Next(), SharedTable< K, V >::T::Put(), SharedTable< K, V >::T::Size(), SharedTable< K, V >::KVPair::val, and vKind. Referenced by BindingVC::Length(), ListVC::Length(), ListAppend(), and MergeAndLenDPS(). |
|
Implemented in BooleanVC, IntegerVC, ListVC, BindingVC, PrimitiveVC, TextVC, ModelVC, ClosureVC, ErrorVC, FpVC, and UnbndVC. Referenced by CollectDpnd(), Interpret(), Print(), AssocVC::PrintD(), ConstantEC::PrintD(), and PrintDpnd(). |
|
Definition at line 112 of file Val.H. References dps, and SharedTable< K, V >::T::Size(). Referenced by CollectLet(), DeleteDuplicatePathsInner(), ModelCutOff(), NamesTagsPickle(), PrintAllDpnd(), PrintDpnd(), and PrintDpndSize(). |
|
Definition at line 85 of file Val.H. References Error(). Referenced by FpVC::Copy(), TextVC::NDS(), NormalModelFromCache(), and TextVC::Sid(). |
|
Definition at line 59 of file Val.H. Referenced by And(), Append(), BindingAppend(), BindingMinus(), CacheIt(), BindingVC::Defined(), Div(), Elem(), EqualVal(), ErrorVC::ErrorVC(), SelectEC::Eval(), BindingEC::Eval(), IfEC::Eval(), Find(), FindR(), BindingVC::GetElem(), ListVC::GetElem(), GetFP(), Greater(), GreaterEq(), Implies(), IsType(), BindingVC::Length(), ListVC::Length(), Length(), Less(), LessEq(), ListAppend(), BindingVC::Lookup(), Map(), Minus(), Mod(), ModelName(), ModelVC::ModelVC(), Neg(), Not(), Or(), ParMap(), PickleC::PickleVal(), Plus(), PlusPlus(), RunTool(), SameType(), Star(), Sub(), and Tail(). |
|
|
Definition at line 63 of file Val.H. Referenced by CollectDpnd(), CollectFunc(), CollectLet(), CollectLookup(), and CollectModel(). |
|
|
Definition at line 66 of file Val.H. Referenced by FpVC::Copy(), FpVC::FingerPrint(), ClosureVC::FingerPrint(), TextVC::FingerPrint(), PrimitiveVC::FingerPrint(), BindingVC::FingerPrint(), ListVC::FingerPrint(), IntegerVC::FingerPrint(), BooleanVC::FingerPrint(), ModelVC::FingerPrintFile(), FpVC::FpVC(), ModelVC::ModelVC(), and TextVC::TextVC(). |
|
Definition at line 56 of file Val.H. Referenced by ClosureVC::FingerPrint(), TextVC::FingerPrint(), PrimitiveVC::FingerPrint(), BindingVC::FingerPrint(), ListVC::FingerPrint(), IntegerVC::FingerPrint(), BooleanVC::FingerPrint(), FpVC::FpVC(), ModelVC::ModelVC(), and TextVC::TextVC(). |
|
Definition at line 53 of file Val.H. Referenced by AllTexts(), And(), Append(), ApplicationFromCache(), Assert(), Bind1(), BindRunToolArgs(), CacheIt(), CanonicalDpnd(), CollectDpnd(), CollectFuncS(), CollectLetS(), CollectModelS(), ConvertToBindElem(), DeleteDuplicatePaths(), DeleteDuplicatePathsInner(), Div(), Elem(), EqualVal(), ApplyEC::Eval(), SelectEC::Eval(), BindingEC::Eval(), NameEC::Eval(), ComputedEC::Eval(), Evaluator_Dir_Server_Inner(), Find(), FindR(), GetName(), GetValue(), Greater(), GreaterEq(), Head(), Implies(), IsBinding(), IsBool(), IsClosure(), IsErr(), IsInt(), IsList(), IsText(), IsValTrue(), IterateAssoc(), Length(), Less(), LessEq(), Lookup(), LookupArc(), LookupPath(), Map(), Max(), MergeLenDPS(), Min(), Minus(), Mod(), ModelCutOff(), ModelFromCache(), ModelName(), Neg(), Not(), NotEq(), Or(), ParMap(), Plus(), PlusPlus(), Print(), PrintDpndSize(), SameTypeInner(), ShipValue(), Star(), Sub(), and Tail(). |