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

Method ensureIsAtEnd

valdi_core/src/valdi_core/cpp/Utils/TextParser.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41bool TextParser::ensureIsAtEnd() {
42 if (!isAtEnd()) {
43 setErrorAtCurrentPosition("Unexpectedly found trailing characters");
44 return false;
45 }
46 return true;
47}
48
49bool TextParser::ensureNotAtEnd() {
50 if (isAtEnd()) {

Callers 9

parseMethod · 0.45
preprocessBorderFunction · 0.45
preprocessBoxShadowFunction · 0.45
preprocessTextShadowFunction · 0.45
preprocessGradientFunction · 0.45
ensureParserAtEndFunction · 0.45
valueToYGStyleLengthMethod · 0.45
parseHeapDumpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected