#include <LexLoc.hxx>
Public Member Functions | |
| LexLoc () | |
| ~LexLoc () | |
| LexLoc (const std::string &origin, unsigned line, unsigned offset) | |
| LexLoc (const LexLoc &ll) | |
| LexLoc & | operator= (const LexLoc &ll) |
| bool | operator== (const LexLoc &ll) |
| bool | operator!= (const LexLoc &ll) |
| std::string | asString () const |
| const char * | c_str () const |
| LexLoc | operator+ (size_t sz) const |
| void | updateWith (const std::string &s) |
| LexLoc | with (const std::string &s) |
Data Fields | |
| std::string | origin |
| unsigned | line |
| unsigned | offset |
Definition at line 44 of file LexLoc.hxx.
| sherpa::LexLoc::LexLoc | ( | ) | [inline] |
Definition at line 49 of file LexLoc.hxx.
References line, offset, and origin.
Referenced by operator+(), and with().
| sherpa::LexLoc::~LexLoc | ( | ) | [inline] |
Definition at line 56 of file LexLoc.hxx.
| sherpa::LexLoc::LexLoc | ( | const std::string & | origin, | |
| unsigned | line, | |||
| unsigned | offset | |||
| ) | [inline] |
Definition at line 60 of file LexLoc.hxx.
| sherpa::LexLoc::LexLoc | ( | const LexLoc & | ll | ) | [inline] |
| std::string sherpa::LexLoc::asString | ( | ) | const |
Definition at line 53 of file LexLoc.cxx.
References line, offset, and origin.
Referenced by acyclic(), c_str(), TypeScheme::checkAmbiguity(), sherpa::operator<<(), PropagateMutability(), typeError(), Unify(), and useIFInsts().
| const char * sherpa::LexLoc::c_str | ( | ) | const |
| bool sherpa::LexLoc::operator!= | ( | const LexLoc & | ll | ) | [inline] |
| LexLoc sherpa::LexLoc::operator+ | ( | size_t | sz | ) | const [inline] |
| bool sherpa::LexLoc::operator== | ( | const LexLoc & | ll | ) | [inline] |
| void sherpa::LexLoc::updateWith | ( | const std::string & | s | ) |
| LexLoc sherpa::LexLoc::with | ( | const std::string & | s | ) |
Definition at line 108 of file LexLoc.cxx.
References LexLoc(), line, offset, origin, s, and sherpa::utf8_decode().
| unsigned sherpa::LexLoc::line |
Definition at line 46 of file LexLoc.hxx.
Referenced by asString(), LexLoc(), operator!=(), operator+(), operator=(), operator==(), updateWith(), and with().
| unsigned sherpa::LexLoc::offset |
Definition at line 47 of file LexLoc.hxx.
Referenced by asString(), LexLoc(), operator!=(), operator+(), operator=(), operator==(), updateWith(), and with().
| std::string sherpa::LexLoc::origin |
Definition at line 45 of file LexLoc.hxx.
Referenced by asString(), LexLoc(), operator!=(), operator+(), operator=(), operator==(), and with().
1.4.7