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

Method tryParseToken

valdi_core/src/valdi_core/cpp/Utils/JSONReader.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool JSONReader::tryParseToken(char token) {
77 if (!_parser.tryParse(token)) {
78 return false;
79 }
80
81 _parser.tryParseWhitespaces();
82 return true;
83}
84
85bool JSONReader::parseToken(char token) {
86 if (!_parser.parse(token)) {

Callers

nothing calls this directly

Calls 2

tryParseWhitespacesMethod · 0.80
tryParseMethod · 0.45

Tested by

no test coverage detected