| 181 | bool Matches(const DataType& type) const override { return is_integer(type.id()); } |
| 182 | |
| 183 | bool Equals(const TypeMatcher& other) const override { |
| 184 | if (this == &other) { |
| 185 | return true; |
| 186 | } |
| 187 | auto casted = dynamic_cast<const IntegerMatcher*>(&other); |
| 188 | return casted != nullptr; |
| 189 | } |
| 190 | |
| 191 | std::string ToString() const override { return "integer"; } |
| 192 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected