| 103 | {} |
| 104 | |
| 105 | virtual std::vector<Pattern*> flat(bool (*filter)(Pattern const*)) override { |
| 106 | if (filter(this)) { |
| 107 | return { this }; |
| 108 | } |
| 109 | return {}; |
| 110 | } |
| 111 | |
| 112 | virtual void collect_leaves(std::vector<LeafPattern*>& lst) override final { |
| 113 | lst.push_back(this); |
no outgoing calls
no test coverage detected