swc_ecma_usage_analyzer::analyzer::storage

Trait ScopeDataLike

source
pub trait ScopeDataLike:
    Sized
    + Default
    + Clone {
    // Required methods
    fn add_declared_symbol(&mut self, id: &Ident);
    fn merge(&mut self, other: Self, is_child: bool);
    fn mark_used_arguments(&mut self);
    fn mark_eval_called(&mut self);
    fn mark_with_stmt(&mut self);
}

Required Methods§

source

fn add_declared_symbol(&mut self, id: &Ident)

source

fn merge(&mut self, other: Self, is_child: bool)

source

fn mark_used_arguments(&mut self)

source

fn mark_eval_called(&mut self)

source

fn mark_with_stmt(&mut self)

Object Safety§

This trait is not object safe.

Implementors§