| 190 | } |
| 191 | |
| 192 | Expr ReportErrorAt(const Expr& expr, absl::string_view message) override { |
| 193 | return ReportError(GetSourceRange(expr.id()), message); |
| 194 | } |
| 195 | |
| 196 | SourceRange GetSourceRange(int64_t id) const { |
| 197 | if (auto it = positions_.find(id); it != positions_.end()) { |
no test coverage detected