Module closures

Source

FunctionsΒ§

args_have_many_closure πŸ”’
Returns true if the given vector of arguments has more than one ast::ExprKind::Closure.
expr_requires_semi_to_be_stmt πŸ”’
Does this expression require a semicolon to be treated as a statement? The negation of this: β€˜can this expression be used as a statement without a semicolon’ – is used as an early-bail-out in the parser so that, for instance, if true {…} else {…} |x| 5 isn’t parsed as (if true {…} else {…} | x) | 5
get_inner_expr πŸ”’
is_block_closure_forced πŸ”’
is_block_closure_forced_inner πŸ”’
needs_block πŸ”’
rewrite_closure πŸ”’
rewrite_closure_block πŸ”’
rewrite_closure_expr πŸ”’
rewrite_closure_fn_decl πŸ”’
rewrite_closure_with_block πŸ”’
rewrite_last_closure πŸ”’
try_rewrite_without_block πŸ”’
veto_block πŸ”’