pub trait IsDirective {
    // Required method
    fn as_ref(&self) -> Option<&Stmt>;

    // Provided method
    fn is_use_strict(&self) -> bool { ... }
}

Required Methods§

source

fn as_ref(&self) -> Option<&Stmt>

Provided Methods§

Implementations on Foreign Types§

source§

impl IsDirective for Stmt

source§

fn as_ref(&self) -> Option<&Stmt>

Implementors§