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>; }

Required methods

Implementations on Foreign Types

Implementors