AstQueryNamespace::queryRange
queryRange overloads
Synopses
Declared in <src/midend/astQuery/astQuery.h>
**** The function _Result queryRange(typename Result::const_iterator& begin, typename_Result::const_iterator& end, Result (__x)(SgNode), AstQueryNamespace::QueryDepth defineQueryType =AstQueryNamespace::AllNodes ) will query the iterator _Result::const_iteratorfrom 'begin' to 'end' for IR nodes satisfying the criteria specified in andreturned by the function pointer in the third argument.**
template<class _Result>
_Result
queryRange(
_Result::iterator begin,
_Result::iterator end,
_Result(* __x)(SgNode*));
**** 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.**
template<
class Iterator,
class NodeFunctional>
std::invoke_result_t<NodeFunctional&, SgNode*>
queryRange(
Iterator begin,
Iterator end,
NodeFunctional nodeFunc);
**** The function _Result queryRange(typename Result::const_iterator& begin, typename_Result::const_iterator& end, Result (__x)(SgNode,_Arg), _Arg x_arg, AstQueryNamespace::QueryDepth defineQueryType =AstQueryNamespace::AllNodes ) will query the iterator _Result::const_iteratorfrom 'begin' to 'end' for IR nodes satisfying the criteria specified in andreturned by the function pointer in the third argument given the fourthargument 'x_arg'.**
template<
class _Arg,
class _Result>
_Result
queryRange(
_Result::iterator begin,
_Result::iterator const end,
_Result(* __x)(SgNode*, _Arg),
_Arg x_arg);
Created with MrDocs