Skip to content

SageInterface::collectVarRefs

Collect all variable references in a subtree

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

void
collectVarRefs(
    SgLocatedNode* root,
    std::vector<SgVarRefExp*>& result);

Parameters

Name

Description

root

This class represents the notion of an expression or statement which

result

A standard container which offers fixed time access to individual elements in any order.

Created with MrDocs