Expand description
Modules§
- classes
- ClassDecl / ClassLike InterfaceDecl → wasm_bindgen
extern "C"block generation. - enums
- Enum code generation: string enums and numeric enums.
- functions
- FunctionDecl / VariableDecl → free function and static bindings.
- signatures
- Signature expansion: expand TypeScript overloads (with optional/variadic/union params) into multiple concrete Rust signatures with computed names.
- typemap
- TypeRef → syn::Type mapping with unified position-based system.
Structs§
- Generate
Options - Options for controlling code generation output.
Functions§
- generate
- Generate Rust source code from a parsed IR module + global context.
- generate_
with_ options - Generate Rust source code with explicit options.