Skip to main content

Module analyzer

Module analyzer 

Source

Modules§

builtin
graph
imports
linker
side_effects
Side effect analysis for JavaScript/TypeScript programs.
top_level_await
well_known

Structs§

ConstantNumber
ModuleValue
RequireContextOptions
RequireContextValue

Enums§

BinaryOperator
ConstantString
ConstantValue
JsValue
TODO: Use Arc
JsValueUrlKind
LogicalOperator
LogicalProperty
ObjectPart
PositiveBinaryOperator
WellKnownFunctionKind
A list of well-known functions that have special meaning in the analysis.
WellKnownObjectKind
A list of well-known objects that have special meaning in the analysis.

Functions§

parse_require_context
Parse the arguments passed to a require.context invocation, validate them and convert them to the appropriate rust values.