| 132 | } |
| 133 | |
| 134 | bool Equals(const TypeMatcher& other) const override { |
| 135 | if (this == &other) { |
| 136 | return true; |
| 137 | } |
| 138 | auto casted = dynamic_cast<const ThisType*>(&other); |
| 139 | if (casted == nullptr) { |
| 140 | return false; |
| 141 | } |
| 142 | return this->accepted_unit_ == casted->accepted_unit_; |
| 143 | } |
| 144 | |
| 145 | std::string ToString() const override { |
| 146 | std::stringstream ss; |
nothing calls this directly
no outgoing calls
no test coverage detected