Skip to main content

root_vars

Function root_vars 

Source
fn root_vars(gcx: Gcx<'_>, expr: &Expr<'_>, roots: &mut HashSet<VariableId>)
Expand description

The variables an expression is rooted in, through indexing, member access and ternaries.