Trait stc_ts_file_analyzer::env::BuiltInGen
source · [−]pub trait BuiltInGen: Sized {
fn new(
vars: FxHashMap<JsWord, Type>,
types: FxHashMap<JsWord, Type>
) -> BuiltIn;
fn from_ts_libs(env: &StableEnv, libs: &[Lib], no_lib: bool) -> BuiltIn { ... }
fn from_modules(env: &StableEnv, modules: Vec<RModule>) -> BuiltIn { ... }
fn from_module_items<I>(env: &StableEnv, items: I) -> BuiltIn
where
I: IntoIterator<Item = RModuleItem>,
{ ... }
}
Required Methods
Provided Methods
sourcefn from_module_items<I>(env: &StableEnv, items: I) -> BuiltInwhere