Lines Matching refs:rhs
22 bool operator<(const ErrorPos& rhs) const;
23 bool operator==(const ErrorPos& rhs) const;
24 ErrorPos& operator=(const ErrorPos& rhs);
57 ErrorPos::operator<(const ErrorPos& rhs) const in operator <()
59 if (this->file < rhs.file) return true; in operator <()
60 if (this->file == rhs.file) { in operator <()
61 if (this->line < rhs.line) return true; in operator <()
62 if (this->line == rhs.line) { in operator <()
63 if (this->error < rhs.error) return true; in operator <()
70 ErrorPos::operator==(const ErrorPos& rhs) const in operator ==()
72 return this->file == rhs.file in operator ==()
73 && this->line == rhs.line in operator ==()
74 && this->error == rhs.error; in operator ==()
78 ErrorPos::operator=(const ErrorPos& rhs) in operator =() argument
80 this->file = rhs.file; in operator =()
81 this->line = rhs.line; in operator =()
82 this->error = rhs.error; in operator =()