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

SrcLoc Class Reference

#include <Location.H>

List of all members.

Public Member Functions

 SrcLoc ()
 SrcLoc (int linePos, int charPos, const Text &filename, ShortId sid)
SrcLocCopy ()
void Init (const Text &filename, ShortId sid)
bool IsNone () const

Public Attributes

Text file
ShortId shortId
int line
int character


Constructor & Destructor Documentation

SrcLoc::SrcLoc  )  [inline]
 

Definition at line 37 of file Location.H.

SrcLoc::SrcLoc int  linePos,
int  charPos,
const Text filename,
ShortId  sid
[inline]
 

Definition at line 40 of file Location.H.


Member Function Documentation

SrcLoc* SrcLoc::Copy  )  [inline]
 

Definition at line 51 of file Location.H.

References character, file, line, NEW_CONSTR, and shortId.

Referenced by Token::Next(), Token::ScanIdNumber(), Token::ScanPragma(), and Token::ScanText().

void SrcLoc::Init const Text filename,
ShortId  sid
[inline]
 

Definition at line 55 of file Location.H.

References character, file, line, None, and shortId.

Referenced by Token::Init().

bool SrcLoc::IsNone  )  const [inline]
 

Definition at line 58 of file Location.H.

References character, line, and None.

Referenced by Error().


Member Data Documentation

int SrcLoc::character
 

Definition at line 49 of file Location.H.

Referenced by ApplicationFromCache(), Copy(), Error(), Init(), IsNone(), Token::Next(), PickleC::PickleLocation(), and PrintErrorStack().

Text SrcLoc::file
 

Definition at line 42 of file Location.H.

Referenced by ApplicationFromCache(), ApplyFunction(), ApplyRunTool(), Copy(), Error(), Imports(), Init(), Map(), ModelVC::ModelVC(), PickleC::PickleVal(), PrintErrorStack(), RunToolFromCache(), and Token::ScanComment().

int SrcLoc::line
 

Definition at line 48 of file Location.H.

Referenced by ApplicationFromCache(), Copy(), Error(), Init(), IsNone(), Token::Next(), PickleC::PickleLocation(), PickleC::PickleVal(), and PrintErrorStack().

ShortId SrcLoc::shortId
 

Definition at line 47 of file Location.H.

Referenced by ApplicationFromCache(), Copy(), Init(), PickleC::PickleVal(), and Token::ScanComment().


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