pub fn exportable_value_names(module: &AIRModule) -> Vec<EsmExport>Expand description
The set of JS/TS-emitted, exportable public top-level value declarations
a module declares — the names the per-module path lists in a trailing
export { … } (or, for functions, that the backend exports inline). Covers
functions, records, enums (+ each Enum_Variant), traits, classes, effects,
and consts. Type aliases are excluded: they are erased in JS (a comment,
no runtime binding) and emitted as an export type alias inline in TS, so
they need no trailing re-export. Runtime-prelude names are excluded (lowered
inline). Each entry carries the function flag so the backend camelCases
function names to match their inline export function form.
Used by the JS backend’s trailing-export pass (TS exports every kind
except enum variants inline — see enum_variant_value_names).