pub trait StmtExt {
    fn extract_var_ids(&self) -> Vec<Ident> ;
    fn terminates(&self) -> bool;

    fn extract_var_ids_as_var(&self) -> Option<VarDecl> { ... }
}

Required Methods§

Extracts hoisted variables

stmts contain top level return/break/continue/throw

Provided Methods§

Implementations on Foreign Types§

Implementors§