FunctionsΒ§
- args_
have_ πmany_ closure - Returns
true
if the given vector of arguments has more than oneast::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 π