NodeQuery::querySubTree
****
Synopsis
Declared in <src/midend/astQuery/nodeQuery.h>
[[visibility]]
NodeQuerySynthesizedAttributeType
querySubTree(
SgNode* subTree,
VariantT targetVariant,
AstQueryNamespace::QueryDepth defineQueryType = AstQueryNamespace::AllNodes);
Description
The function querySubTree (SgNode * subTree,VariantT targetVariant, AstQueryNamespace::QueryDepth defineQueryType =AstQueryNamespace::AllNodes); returns a list of all SgNodes in the subātree ofthe variable 'subTree' which is of SgNode VariantT 'targetVariant'.***
Parameters
Name |
Description |
subTree |
This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs