MCPcopy Create free account
hub / github.com/Snapchat/Valdi / parseToken

Method parseToken

valdi_core/src/valdi_core/cpp/Utils/JSONReader.cpp:85–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85bool JSONReader::parseToken(char token) {
86 if (!_parser.parse(token)) {
87 return false;
88 }
89
90 _parser.tryParseWhitespaces();
91 return true;
92}
93
94bool JSONReader::tryParseToken(std::string_view token) {
95 if (!_parser.tryParse(token)) {

Callers

nothing calls this directly

Calls 2

tryParseWhitespacesMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected