VariableRenaming::getAllUsesForDef
Retrieve a list of nodes that use the var:num specified.
Synopsis
Description
This will retrieve a list of nodes that use the specified var:num combo. ex. int i = s2.y1; //Search for s:y1 will yield varRef for y1, as well as //the DotExpr and the AssignOp
Return Value
A vector containing the usage nodes of the variable. Empty vector otherwise.
Parameters
Name |
Description |
var |
The variable name to find. |
num |
The revision of the variable to find. |
Created with MrDocs