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

Method peek

valdi_core/src/valdi_core/cpp/Utils/TextParser.cpp:88–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88bool TextParser::peek(char c) const {
89 return peekPredicate([&](auto currentCharacter) { return currentCharacter == c; });
90}
91
92char TextParser::peek() const {
93 if (isAtEnd()) {

Callers 5

peekTokenMethod · 0.45
parseStringMethod · 0.45
parseTypeReferenceFunction · 0.45
parseEnumSchemaFunction · 0.45
parseFunctionAttributesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected