| 9068 | }; |
| 9069 | |
| 9070 | struct BoundFlagRef : BoundFlagRefBase { |
| 9071 | bool &m_ref; |
| 9072 | |
| 9073 | explicit BoundFlagRef( bool &ref ) : m_ref( ref ) {} |
| 9074 | |
| 9075 | auto setFlag( bool flag ) -> ParserResult override { |
| 9076 | m_ref = flag; |
| 9077 | return ParserResult::ok( ParseResultType::Matched ); |
| 9078 | } |
| 9079 | }; |
| 9080 | |
| 9081 | template<typename ReturnType> |
| 9082 | struct LambdaInvoker { |
nothing calls this directly
no outgoing calls
no test coverage detected