Trait swc_plugin::utils::StmtExt
[−]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> { ... }
}
Required Methods
Extracts hoisted variables
fn terminates(&self) -> bool
fn terminates(&self) -> bool
stmts contain top level return/break/continue/throw