Skip to content

NameQuery::querySubTree

****

Synopsis

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

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

Description

The function querySubTree (SgNode * subTree, SgNode* traversal,TypeOfQueryTypeTwoParameters elementReturnType, AstQueryNamespace::QueryDepthdefineQueryType = AstQueryNamespace::AllNodes); returns a list of all stringsin the sub‐tree of the variable 'subTree' found by the preimplemented function'elementReturnType' given a second argument 'traversal'.***

Parameters

Name

Description

subTree

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

Created with MrDocs