MCPcopy Create free account
hub / github.com/dobin/RedEdr / parser

Method parser

RedEdrShared/json.hpp:12270–12280  ·  view source on GitHub ↗

a parser reading from an input adapter

Source from the content-addressed store, hash-verified

12268 public:
12269 /// a parser reading from an input adapter
12270 explicit parser(InputAdapterType&& adapter,
12271 const parser_callback_t<BasicJsonType> cb = nullptr,
12272 const bool allow_exceptions_ = true,
12273 const bool skip_comments = false)
12274 : callback(cb)
12275 , m_lexer(std::move(adapter), skip_comments)
12276 , allow_exceptions(allow_exceptions_)
12277 {
12278 // read first token
12279 get_token();
12280 }
12281
12282 /*!
12283 @brief public parser interface

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected