Expand description
Auto-generated module
🤖 Generated with SplitRS
Structs§
- JSAnalysis
Cache - JSCache
Entry - JSConstant
Folding Helper - JSDep
Graph - JSDominator
Tree - JSLiveness
Info - JSPass
Config - JSPass
Registry - JSPass
Stats - JSWorklist
- JsBackend
- JavaScript code generation backend.
- JsBackend
Config - Configuration for the JS backend.
- JsEmit
Context - Context maintained during JS code emission.
- JsFunction
- A top-level JavaScript function declaration.
- JsIdent
Table - A table of all identifiers used in a JS module, for rename-on-collision.
- JsMinifier
- A very simple JavaScript minifier that removes comments and collapses unnecessary whitespace. Not a full minifier, but reduces output size.
- JsModule
- A JavaScript ES2020 module, containing functions and a preamble.
- JsModule
Linker - Links multiple
JsModuleobjects into a single output. - JsName
Mangler - Extended name mangler with support for module namespaces.
- JsPeephole
- Simple peephole optimizations on
JsExpr. - JsPretty
Printer - Pretty-prints a
JsModulewith configurable indentation and line width. - JsSize
Estimator - Estimates the uncompressed byte size of generated JS code.
- JsSource
Map - A simple source map associating generated positions with source functions.
- JsType
Checker - A structural type checker for JS expressions.
- Source
MapEntry - A single source-map entry mapping an output position to a source position.
Enums§
- JSPass
Phase - JsExpr
- JavaScript expression for code generation.
- JsLit
- JavaScript literal values.
- JsModule
Format - JavaScript module output format.
- JsStmt
- JavaScript statement for code generation.
- JsType
- JavaScript type representation for type-directed code generation.