Skip to main content

scan_exported_names

Function scan_exported_names 

Source
fn scan_exported_names(content: &str) -> Vec<String>
Expand description

Scan the literal top-level exported symbol names out of generated TS source.

This is the single source of truth for “what does this module export”: it reads the text that was actually emitted (export interface X, export type X, export function X) rather than independently re-deriving struct/enum/ function naming rules, so it can never drift from what interfaces.rs / builders.rs / parsers.rs actually produce.