| 8 | namespace ftg { |
| 9 | |
| 10 | class InputFilter { |
| 11 | public: |
| 12 | virtual ~InputFilter() = default; |
| 13 | InputFilter(std::string FilterName, std::unique_ptr<InputFilter> NextFilter); |
| 14 | bool start(const ASTIRNode &Node) const; |
| 15 | bool start(const ASTIRNode &Node, |
| 16 | std::set<std::string> &AppliedFilters) const; |
| 17 | |
| 18 | protected: |
| 19 | virtual bool check(const ASTIRNode &Node) const = 0; |
| 20 | |
| 21 | private: |
| 22 | std::string FilterName; |
| 23 | std::unique_ptr<InputFilter> NextFilter; |
| 24 | }; |
| 25 | |
| 26 | } // namespace ftg |
| 27 |
nothing calls this directly
no outgoing calls
no test coverage detected