Skip to content

NameQuery::querySubTree

****

Synopsis

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

[[visibility]]
NameQuerySynthesizedAttributeType
querySubTree(
    SgNode* subTree,
    std::string traversal,
    roseFunctionPointerTwoParameters querySolverFunction,
    AstQueryNamespace::QueryDepth defineQueryType = AstQueryNamespace::AllNodes);

Description

The function querySubTree (SgNode * subTree, SgNode* traversal,roseFunctionPointerTwoParameters elementReturnType, AstQueryNamespace::QueryDepth defineQueryType =AstQueryNamespace::AllNodes); returns a list of all strings in the sub‐tree ofthe variable 'subTree' found by the function 'querySolverFunction' given asecond argument 'traversal'.***

Parameters

Name

Description

subTree

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs