Structs§
- IrIdent
- IR identifier — stores both the original JS name and the escaped Zig name.
- Name
Mangler - Name mangling counter + shadow rename manager. Generates unique identifiers for closures, labels, blocks, etc.
Functions§
- zig_
safe_ name - Convert a JS identifier to a Zig-safe identifier.
Pre-pends
_to avoid collisions with Zig reserved keywords. Also escapes_(Zig discard identifier) to__js_underscore.