brane_ast::traversals

Module prune

Source
Expand description

Traversal that prunes the AST for compilation.

In particular, inserts return statements into functions such that there if one for every codepath and compiles for-loops to while-statements.

Re-exports§

Functions§