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