Skip to content

AstQueryNamespace::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*.*****

Synopsis

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

template<
    typename AST_Query_Base = AstQuery_DUMMY,
    typename NodeFunctional = DefaultNodeFunctional>
class AstQuery
    : public AST_Query_Base

Base Classes

Name

Description

AST_Query_Base

Member Functions

Name

Description

AstQuery [constructor]

Default constructor

AstQuery [constructor]

Construct from NodeFunctional

~AstQuery [destructor] [virtual]

Destructor

clear_listOfNodes

get_listOfNodes

setPredicate

visit

Private Types

Private Data Members

Non-Member Functions

Name

Description

queryMemoryPool

** The function void queryMemoryPool(ROSE_VisitTraversal& astQuery, VariantVector_variantsToTraverse); traverses the parts of the memory pool which hascorresponding variants in VariantVector.**_

Created with MrDocs