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

First pass of rewriting.

This will traverse the function from the return position, constructing the static fragment with slots. Each static fragment is keyed by the expr it will take the place of in the rewritten AST.

Traversed expressions are also registered for use by the later passes.

Link to this section Summary

Link to this section Functions

Link to this function

rewrite_make_structure(expr_id, ast, state)

Link to this function

rewrite_make_structure_rec(expr_id, ast, static_id, state)

Link to this function

rewrite_make_structure_rec(expr, expr_id, ast, static_id, state)