| 200 | bool Matches(const DataType& type) const override { return is_primitive(type.id()); } |
| 201 | |
| 202 | bool Equals(const TypeMatcher& other) const override { |
| 203 | if (this == &other) { |
| 204 | return true; |
| 205 | } |
| 206 | auto casted = dynamic_cast<const PrimitiveMatcher*>(&other); |
| 207 | return casted != nullptr; |
| 208 | } |
| 209 | |
| 210 | std::string ToString() const override { return "primitive"; } |
| 211 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected