Trait swc_ecma_utils::IsDirective
source · pub trait IsDirective {
// Required method
fn as_ref(&self) -> Option<&Stmt>;
// Provided method
fn is_use_strict(&self) -> bool { ... }
}
pub trait IsDirective {
// Required method
fn as_ref(&self) -> Option<&Stmt>;
// Provided method
fn is_use_strict(&self) -> bool { ... }
}