Skip to main content

unbound_names_in

Function unbound_names_in 

Source
pub fn unbound_names_in(
    stmts: &[TsStmt],
    provided: impl Fn(&str) -> bool,
) -> Vec<String>
Expand description

unbound_names_providing over a module’s statements as a slice, for a caller that holds them before it has a TsProgram (an emitter deriving a module’s own header from the body it just built).