MCPcopy Create free account
hub / github.com/apache/impala / SkipFalse

Method SkipFalse

be/src/exec/json/json-parser.cc:303–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301
302template<class Stream>
303bool JsonSkipper<Stream>::SkipFalse() {
304 DCHECK(s_.Peek() == 'f');
305 s_.Take();
306 ERROR_IF_FALSE(Consume('a'), kParseErrorValueInvalid);
307 ERROR_IF_FALSE(Consume('l'), kParseErrorValueInvalid);
308 ERROR_IF_FALSE(Consume('s'), kParseErrorValueInvalid);
309 ERROR_IF_FALSE(Consume('e'), kParseErrorValueInvalid);
310 return true;
311}
312
313template<class Stream>
314bool JsonSkipper<Stream>::SkipString() {

Callers 1

TestSkipMethod · 0.80

Calls 2

PeekMethod · 0.45
TakeMethod · 0.45

Tested by 1

TestSkipMethod · 0.64