Skip to content

AstQueryNamespace::queryRange

**** The function _Result queryRange(typename _Result::const_iterator& begin, typename_Result::const_iterator& end, Predicate _pred) will query the iterator_Result::const_iterator from 'begin' to 'end' for IR nodes satisfying thecriteria specified in and returned by the predicate in the third argument.**

Synopsis

Declared in <src/midend/astQuery/astQuery.h>

template<
    class Iterator,
    class NodeFunctional>
std::invoke_result_t<NodeFunctional&, SgNode*>
queryRange(
    Iterator begin,
    Iterator end,
    NodeFunctional nodeFunc);

Created with MrDocs