Lines Matching refs:Position
23 Position::Position(std::string filename, size_t line, size_t column)
26 const std::string& Position::filename() const {
30 size_t Position::line() const {
34 size_t Position::column() const {
38 bool Position::inSameFile(const Position& lhs, const Position& rhs) {
42 bool Position::operator<(const Position& pos) const {
50 std::ostream& operator<<(std::ostream& ostr, const Position& pos) {
59 Location::Location(const Position& begin, const Position& end)
62 void Location::setLocation(const Position& begin, const Position& end) {
72 const Position& Location::begin() const {
76 const Position& Location::end() const {
81 return Location(Position(path, 1, 1), Position(path, 1, 1));
85 return Position::inSameFile(lhs.mBegin, rhs.mBegin);
100 Position last = Position(loc.end().filename(), loc.end().line(),