| 7041 | }; |
| 7042 | |
| 7043 | struct BoundFlagRef : BoundFlagRefBase { |
| 7044 | bool &m_ref; |
| 7045 | |
| 7046 | explicit BoundFlagRef( bool &ref ) : m_ref( ref ) {} |
| 7047 | |
| 7048 | auto setFlag( bool flag ) -> ParserResult override { |
| 7049 | m_ref = flag; |
| 7050 | return ParserResult::ok( ParseResultType::Matched ); |
| 7051 | } |
| 7052 | }; |
| 7053 | |
| 7054 | template<typename ReturnType> |
| 7055 | struct LambdaInvoker { |
nothing calls this directly
no outgoing calls
no test coverage detected