LiveData.Tracked.FlatAst.Pass.CalculateNesting (live_data v0.1.0-alpha0)

Given a FlatAST, will calculate a map of expr_id to a list of expr_ids it's nested within.

Link to this section Summary

Link to this section Functions

Link to this function

calculate_nesting(ast)

Link to this function

calculate_nesting_rec(expr_id, scoped_mode, path, acc, ast)

Link to this function

calculate_nesting_rec(expr, expr_id, scoped_mode, path, acc, ast)