Module brane_ast::traversals::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§