Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

JSAnalysisCache
JSCacheEntry
JSConstantFoldingHelper
JSDepGraph
JSDominatorTree
JSLivenessInfo
JSPassConfig
JSPassRegistry
JSPassStats
JSWorklist
JsBackend
JavaScript code generation backend.
JsBackendConfig
Configuration for the JS backend.
JsEmitContext
Context maintained during JS code emission.
JsFunction
A top-level JavaScript function declaration.
JsIdentTable
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.
JsModuleLinker
Links multiple JsModule objects into a single output.
JsNameMangler
Extended name mangler with support for module namespaces.
JsPeephole
Simple peephole optimizations on JsExpr.
JsPrettyPrinter
Pretty-prints a JsModule with configurable indentation and line width.
JsSizeEstimator
Estimates the uncompressed byte size of generated JS code.
JsSourceMap
A simple source map associating generated positions with source functions.
JsTypeChecker
A structural type checker for JS expressions.
SourceMapEntry
A single source-map entry mapping an output position to a source position.

Enums§

JSPassPhase
JsExpr
JavaScript expression for code generation.
JsLit
JavaScript literal values.
JsModuleFormat
JavaScript module output format.
JsStmt
JavaScript statement for code generation.
JsType
JavaScript type representation for type-directed code generation.