| 40 | : output_(*output), type_(type) {} |
| 41 | |
| 42 | absl::Status operator()(const Kind& ignored) const { |
| 43 | // Attributes are represented as a variant, with illegal attribute |
| 44 | // qualifiers represented with their type as the first alternative. |
| 45 | return absl::InvalidArgumentError( |
| 46 | absl::StrCat("Unsupported attribute qualifier ", KindToString(type_))); |
| 47 | } |
| 48 | |
| 49 | absl::Status operator()(int64_t index) { |
| 50 | absl::StrAppend(&output_, "[", index, "]"); |
nothing calls this directly
no test coverage detected