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

Method skipCount

valdi_core/src/valdi_core/cpp/Utils/TextParser.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66bool TextParser::skipCount(size_t count) {
67 for (size_t i = 0; i < count; i++) {
68 if (!skip()) {
69 return false;
70 }
71 }
72 return true;
73}
74
75void TextParser::advance() {
76 _position++;

Callers 1

TESTFunction · 0.80

Calls 1

skipFunction · 0.85

Tested by 1

TESTFunction · 0.64