a parser reading from an input adapter
| 4867 | |
| 4868 | /// a parser reading from an input adapter |
| 4869 | explicit parser(detail::input_adapter_t&& adapter, |
| 4870 | const parser_callback_t cb = nullptr, |
| 4871 | const bool allow_exceptions_ = true) |
| 4872 | : callback(cb), m_lexer(std::move(adapter)), allow_exceptions(allow_exceptions_) |
| 4873 | { |
| 4874 | // read first token |
| 4875 | get_token(); |
| 4876 | } |
| 4877 | |
| 4878 | /*! |
| 4879 | @brief public parser interface |
nothing calls this directly
no outgoing calls
no test coverage detected