Lines Matching refs:LineAndColumn
32 struct LineAndColumn {
39 static LineAndColumn Invalid() { return {-1, -1, -1}; }
40 static LineAndColumn WithUnknownOffset(int line, int column) {
44 bool operator==(const LineAndColumn& other) const {
52 bool operator!=(const LineAndColumn& other) const {
59 LineAndColumn start;
60 LineAndColumn end;
63 SourcePosition pos{SourceId::Invalid(), LineAndColumn::Invalid(),
64 LineAndColumn::Invalid()};
72 bool Contains(LineAndColumn pos) const {