| 291 | |
| 292 | template<class Stream> |
| 293 | bool JsonSkipper<Stream>::SkipTrue() { |
| 294 | DCHECK(s_.Peek() == 't'); |
| 295 | s_.Take(); |
| 296 | ERROR_IF_FALSE(Consume('r'), kParseErrorValueInvalid); |
| 297 | ERROR_IF_FALSE(Consume('u'), kParseErrorValueInvalid); |
| 298 | ERROR_IF_FALSE(Consume('e'), kParseErrorValueInvalid); |
| 299 | return true; |
| 300 | } |
| 301 | |
| 302 | template<class Stream> |
| 303 | bool JsonSkipper<Stream>::SkipFalse() { |