Trait swc_ecma_utils::StmtLike [−][src]
pub trait StmtLike: Sized + 'static { fn try_into_stmt(self) -> Result<Stmt, Self>; fn as_stmt(&self) -> Option<&Stmt>; fn from_stmt(stmt: Stmt) -> Self; }
Required methods
fn try_into_stmt(self) -> Result<Stmt, Self>