Trait swc_core::ecma::ast::IdentExt

pub trait IdentExt: AsRef<str> {
    // Provided methods
    fn is_reserved(&self) -> bool { ... }
    fn is_reserved_in_strict_mode(&self, is_module: bool) -> bool { ... }
    fn is_reserved_in_strict_bind(&self) -> bool { ... }
    fn is_reserved_in_es3(&self) -> bool { ... }
}
Available on crate features __ecma and ecma_ast only.

Provided Methods§

fn is_reserved(&self) -> bool

fn is_reserved_in_strict_mode(&self, is_module: bool) -> bool

fn is_reserved_in_strict_bind(&self) -> bool

fn is_reserved_in_es3(&self) -> bool

Implementations on Foreign Types§

§

impl IdentExt for &str

§

impl IdentExt for String

Implementors§

§

impl IdentExt for Atom

§

impl IdentExt for Ident