pub trait StmtExt {
fn extract_var_ids(&self) -> Vec<Ident, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn terminates(&self) -> bool;
fn extract_var_ids_as_var(&self) -> Option<VarDecl> { ... }
}
Available on crate feature
__utils
only.Required Methods
Extracts hoisted variables
sourcefn terminates(&self) -> bool
fn terminates(&self) -> bool
stmts contain top level return/break/continue/throw
Provided Methods
source