Skip to content

AstQueryNamespace::DefaultNodeFunctional

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

Synopsis

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

struct DefaultNodeFunctional;

Description

This class uses several member functions within its interface. Each member function takes an AST node pointer (any subtree of the AST). It represents a library of queries that return a list of SgNode pointers.

See nodeQueryLib.

Type Aliases

Name
result_type

Member Functions

Name
operator()
result_type operator()(SgNode* node) const;

Created with MrDocs