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

Err.C File Reference

#include <VestaSource.H>
#include <ReposUI.H>
#include "Err.H"
#include "EvalBasics.H"
#include "ValExpr.H"
#include "Val.H"
#include "Expr.H"
#include "Location.H"
#include "ThreadData.H"

Go to the source code of this file.

Functions

void Error ()
int ErrorCount ()
void Error (const Text &msg, SrcLoc *loc)
void ErrorVal (const Val v)
void ErrorExpr (const Expr e)
void ErrorDetail (const Text &msg)
void InternalError (const Text &procName)
void ErrorArgs (const Vals &args)
bool ErrorSummary (ostream *out)
Val RecordErrorOnStack (Expr expr)
void ErrInit ()
const Text VestaSourceErrorMsg (VestaSource::errorCode err) throw ()

Variables

int errorCount
Basics::mutex outputMu


Function Documentation

void ErrInit  ) 
 

Definition at line 140 of file Err.C.

References errorCount.

Referenced by StartEval().

void Error const Text msg,
SrcLoc loc
 

Definition at line 53 of file Err.C.

References SrcLoc::character, Error(), errorCount, SrcLoc::file, Text::FindText(), ThreadData::id, SrcLoc::IsNone(), SrcLoc::line, maxThreads, Text::Sub(), and ThreadDataGet().

void Error  ) 
 

Definition at line 45 of file Err.C.

void ErrorArgs const Vals args  ) 
 

Definition at line 99 of file Err.C.

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

Referenced by PrimError().

int ErrorCount  ) 
 

Definition at line 49 of file Err.C.

References errorCount.

Referenced by Interpret().

void ErrorDetail const Text msg  ) 
 

Definition at line 88 of file Err.C.

Referenced by AddStmtAssocs(), AllFreeVarsBoundInContext(), ApplyFunction(), Assert(), BindApplicationArgs(), ConvertToBindElem(), ApplyEC::Eval(), SelectEC::Eval(), BindingEC::Eval(), NameEC::Eval(), ModelFromCache(), PrimError(), and RunToolHost().

void ErrorExpr const Expr  e  ) 
 

Definition at line 84 of file Err.C.

Referenced by AddStmtAssocs(), ApplyFunction(), BindApplicationArgs(), ConvertToBindElem(), SelectEC::Eval(), and BindingEC::Eval().

bool ErrorSummary ostream *  out  ) 
 

Definition at line 112 of file Err.C.

References errorCount.

Referenced by main().

void ErrorVal const Val  v  ) 
 

Definition at line 80 of file Err.C.

Referenced by Assert(), ConvertToBindElem(), ApplyEC::Eval(), SelectEC::Eval(), IterateAssoc(), ModelFromCache(), and PrimError().

void InternalError const Text procName  ) 
 

Definition at line 92 of file Err.C.

References errorCount.

Referenced by CollectDpnd(), GetChar(), ProcessModelHead(), and ValType().

Val RecordErrorOnStack Expr  expr  ) 
 

Definition at line 125 of file Err.C.

References NEW, recordCallStack, and ThreadDataGet().

Referenced by FileEC::Eval(), SelectEC::Eval(), BindingEC::Eval(), NameEC::Eval(), ComputedEC::Eval(), and IfEC::Eval().

const Text VestaSourceErrorMsg VestaSource::errorCode  err  )  throw ()
 

Definition at line 142 of file Err.C.

References ReposUI::errorCodeText().

Referenced by FileEC::Eval(), and OpenSource().


Variable Documentation

int errorCount
 

Definition at line 42 of file Err.C.

Referenced by ErrInit(), Error(), ErrorCount(), ErrorSummary(), and InternalError().

Basics::mutex outputMu
 

Definition at line 43 of file Err.C.

Referenced by DirInfos::AddDpnd(), AddPrimitive(), AddPrimitiveOp(), AddPrimitiveUnOp(), AddStmtAssocs(), AddToNewStuff(), AllFreeVarsBoundInContext(), ApplicationFromCache(), ApplyFunction(), ApplyModel(), Assert(), BindApplicationArgs(), BindRunToolArgs(), PickleC::checkNumBytesRead(), CollectDpnd(), FpVC::Copy(), core_match_init(), CreateDerived(), ApplyEC::Eval(), FileEC::Eval(), SelectEC::Eval(), BindingEC::Eval(), NameEC::Eval(), ComputedEC::Eval(), IfEC::Eval(), Evaluator_Dir_Server(), Evaluator_Dir_Server_Failure(), Evaluator_Dir_Server_Inner(), GetChar(), init(), IterateAssoc(), DirInfos::LookupDir(), Map(), ModelFromCache(), TextVC::NDS(), Token::Next(), NormalModelFromCache(), OpenSource(), Or(), ParMap(), PError(), Pickle(), PickleC::PickleVal(), PrimError(), Print(), ProcessModelHead(), ReplicateMissing(), RunTool(), RunToolFromCache(), RunToolHost(), Token::ScanComment(), Token::ScanIdNumber(), Token::ScanPragma(), Token::ScanText(), TextVC::Sid(), TextVC::TextC::TextC(), Unpickle(), PickleC::UnpickleVal(), and ValType().


Generated on Mon May 8 00:49:02 2006 for Vesta by  doxygen 1.4.2