pub fn extract_exported_function_names(source: &str) -> Vec<String>Expand description
Scans a snippet module for export function NAME( declarations and
returns their names. The IIFE relies on function declarations being
hoisted, so these names resolve to the same bindings that
wasm-bindgen’s __wbg_get_imports expects.
§Arguments
&str- The snippet module source to scan.
§Returns
Vec<String>- Every exported function name, in source order.