Class DefaultNodeFunctional#

Inheritance Relationships#

Base Type#

  • public std::function< Rose_STL_Container< SgNode * >(SgNode *)>

Class Documentation#

class DefaultNodeFunctional : public std::function<Rose_STL_Container<SgNode*>(SgNode*)>#

This class simplifies the development of queries on the AST resulting in a list of AST nodes.

This class used several member function within it’s interface. Each member function takes an AST node pointer (any subtree of the AST). This class represents a library of queries.. Basically it will support a large number of different types of queries that can be ask of an AST and that return a list of SgNode pointers.

Public Functions

inline result_type operator()(SgNode *node)#