Skip to content

AstQueryNamespace

Inherited attribute for AstQuery class.

Types

Name

Description

AstQuery

* The class class AstQuery traverses the memory pool and performs the action specified in a functional on every node. The return value is a list of SgNode*.*****

AstQueryInheritedAttributeType

AstQuery_DUMMY

DefaultNodeFunctional

Simplifies development of queries on the AST that return lists of AST nodes.

helpF

helpFunctionalOneParamater

helpFunctionalTwoParamaters

Enums

Name

QueryDepth

Functions

Name

Description

Merge
void Merge(std::vector<std::string>& mergeWith, std::vector<std::string> mergeTo);

queryMemoryPool
template<typename NodeFunctional> std::invoke_result_t<NodeFunctional&, SgNode*> queryMemoryPool(NodeFunctional nodeFunc, VariantVector* targetVariantVector = NULL);

queryMemoryPool overloads

queryRange
template<class _Result> _Result queryRange(_Result::iterator begin, _Result::iterator end, _Result(* __x)(SgNode*));

queryRange overloads

querySubTree
template<class _Result> _Result querySubTree(SgNode* subTree, _Result(* __x)(SgNode*), AstQueryNamespace::QueryDepth defineQueryType = AstQueryNamespace::AllNodes);

querySubTree overloads

Description

This class defines the inherited attribute used within the traversal associated with the AstQuery library.

Created with MrDocs