| 98 | : public Pattern { |
| 99 | public: |
| 100 | LeafPattern(std::string name, value v = {}) |
| 101 | : fName(std::move(name)), |
| 102 | fValue(std::move(v)) |
| 103 | {} |
| 104 | |
| 105 | virtual std::vector<Pattern*> flat(bool (*filter)(Pattern const*)) override { |
| 106 | if (filter(this)) { |
nothing calls this directly
no outgoing calls
no test coverage detected