Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ ensureNotAtEnd
Method
ensureNotAtEnd
valdi_core/src/valdi_core/cpp/Utils/TextParser.cpp:49–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
}
48
49
bool TextParser::ensureNotAtEnd() {
50
if (isAtEnd()) {
51
setErrorAtCurrentPosition(
"Unexpectedly reached end of string"
);
52
return false;
53
}
54
return true;
55
}
56
57
bool TextParser::skip() {
58
if (!ensureNotAtEnd()) {
Callers
1
readList
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected