Trait EsReserved

pub trait EsReserved {
    // Required 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;
    fn is_reserved_in_any(&self) -> bool;
}
Available on crate features __ecma and ecma_ast only.

Required 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

fn is_reserved_in_any(&self) -> bool

Implementations on Foreign Types§

§

impl EsReserved for &str

§

impl EsReserved for String

Implementors§