Lines Matching refs:rhs
24 bool operator<(const ErrorPos& rhs) const;
25 bool operator==(const ErrorPos& rhs) const;
26 ErrorPos& operator=(const ErrorPos& rhs);
56 ErrorPos::operator<(const ErrorPos& rhs) const
58 if (this->file < rhs.file) return true;
59 if (this->file == rhs.file) {
60 if (this->line < rhs.line) return true;
61 if (this->line == rhs.line) {
62 if (this->error < rhs.error) return true;
69 ErrorPos::operator==(const ErrorPos& rhs) const
71 return this->file == rhs.file
72 && this->line == rhs.line
73 && this->error == rhs.error;
77 ErrorPos::operator=(const ErrorPos& rhs)
79 this->file = rhs.file;
80 this->line = rhs.line;
81 this->error = rhs.error;