Lines Matching defs:keep
416 const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::object_start, discarded);
417 keep_stack.push_back(keep);
436 const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::key, k);
437 key_keep_stack.push_back(keep);
440 if (keep && ref_stack.back())
486 const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::array_start, discarded);
487 keep_stack.push_back(keep);
503 bool keep = true;
507 keep = callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::array_end, *ref_stack.back());
508 if (keep)
525 if (!keep && !ref_stack.empty() && ref_stack.back()->is_array())
583 const bool keep = skip_callback || callback(static_cast<int>(ref_stack.size()), parse_event_t::value, value);
586 if (!keep)
635 /// stack to manage which values to keep
637 /// stack to manage which object keys to keep