[][src]Trait swc_ecma_transforms::util::StmtLike

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>

fn as_stmt(&self) -> Option<&Stmt>

fn from_stmt(stmt: Stmt) -> Self

Loading content...

Implementations on Foreign Types

impl StmtLike for Stmt[src]

impl StmtLike for ModuleItem[src]

Loading content...

Implementors

Loading content...