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 Atom

source§

impl EsReserved for String

Implementors§