MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / ParseNull

Method ParseNull

rapidjson/reader.h:705–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703
704 template<unsigned parseFlags, typename InputStream, typename Handler>
705 void ParseNull(InputStream& is, Handler& handler) {
706 RAPIDJSON_ASSERT(is.Peek() == 'n');
707 is.Take();
708
709 if (RAPIDJSON_LIKELY(Consume(is, 'u') && Consume(is, 'l') && Consume(is, 'l'))) {
710 if (RAPIDJSON_UNLIKELY(!handler.Null()))
711 RAPIDJSON_PARSE_ERROR(kParseErrorTermination, is.Tell());
712 }
713 else
714 RAPIDJSON_PARSE_ERROR(kParseErrorValueInvalid, is.Tell());
715 }
716
717 template<unsigned parseFlags, typename InputStream, typename Handler>
718 void ParseTrue(InputStream& is, Handler& handler) {

Callers

nothing calls this directly

Calls 4

PeekMethod · 0.45
TakeMethod · 0.45
NullMethod · 0.45
TellMethod · 0.45

Tested by

no test coverage detected