Trait swc_ecma_utils::StmtOrModuleItem [−][src]
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>;
}