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

Method tryParse

valdi_core/src/valdi_core/cpp/Utils/TextParser.cpp:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84bool TextParser::tryParse(char c) {
85 return tryParsePredicate([&](auto currentCharacter) { return currentCharacter == c; });
86}
87
88bool TextParser::peek(char c) const {
89 return peekPredicate([&](auto currentCharacter) { return currentCharacter == c; });

Callers 15

tryParseTokenMethod · 0.45
parseStringMethod · 0.45
readListFunction · 0.45
parseTypeReferenceFunction · 0.45
doParseClassSchemaFunction · 0.45
parseFunctionAttributesFunction · 0.45
parseFunctionSchemaFunction · 0.45
parseMethod · 0.45
parseClassSchemaMethod · 0.45
rewriteImportFunction · 0.45
rewriteHeaderFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36