Skip to content

NodeQuery::querySubTree

  • The function querySubTree (SgNode * subTree, VariantVector targetVariantVector, AstQueryNamespace::QueryDepth defineQueryType =AstQueryNamespace::AllNodes); reutnrs a list of all SgNodes us the ASTsub‐tree of the variable 'subTree' conforming to the variants inVariantVector.*****

Synopsis

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

[[visibility]]
NodeQuerySynthesizedAttributeType
querySubTree(
    SgNode* subTree,
    VariantVector const& targetVariantVector,
    AstQueryNamespace::QueryDepth defineQueryType = AstQueryNamespace::AllNodes);

Parameters

Name

Description

subTree

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

Created with MrDocs