Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
88
bool TextParser::peek(char c) const {
89
return peekPredicate([&](auto currentCharacter) { return currentCharacter == c; });
90
}
91
92
char TextParser::peek() const {
93
if (isAtEnd()) {
Callers
5
peekToken
Method · 0.45
parseString
Method · 0.45
parseTypeReference
Function · 0.45
parseEnumSchema
Function · 0.45
parseFunctionAttributes
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected