swc_ecma_ast

Trait EsReserved

Source
pub trait EsReserved: 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 { ... }
    fn is_reserved_in_any(&self) -> bool { ... }
}

Provided Methods§

Implementations on Foreign Types§

Source§

impl EsReserved for &str

Source§

impl EsReserved for String

Source§

impl EsReserved for Atom

Implementors§