Trait swc_plugin::utils::StmtOrModuleItem
[−]pub trait StmtOrModuleItem: Send + Sync {
fn into_stmt(self) -> Result<Stmt, ModuleDecl>;
fn as_stmt(&self) -> Result<&Stmt, &ModuleDecl>;
}
pub trait StmtOrModuleItem: Send + Sync {
fn into_stmt(self) -> Result<Stmt, ModuleDecl>;
fn as_stmt(&self) -> Result<&Stmt, &ModuleDecl>;
}