Skip to main content

Module analyzer

Module analyzer 

Source

Re-exports§

pub use bump_vec::BumpVec;
pub use well_known::kinds::*;
pub use well_known::require_context::*;

Modules§

builtin
bump_vec
A minimal growable vector (BumpVec) backed by a bump allocator.
graph
imports
linker
side_effects
Side effect analysis for JavaScript/TypeScript programs.
top_level_await
well_known

Structs§

Bump
An arena to bump allocate into.
CallList
Storage for JsValue::Call and JsValue::New: [args..., callee].
ConstantNumber
MemberCallList
Storage for JsValue::MemberCall: [args..., prop, obj].
ModuleValue
ThreadLocal
Thread-local variable wrapper

Enums§

BinaryOperator
ConstantString
ConstantValue
JsValue
TODO: Use Arc
JsValueUrlKind
LogicalOperator
LogicalProperty
Modified
Whether a visitor — or one of the builtin / well-known rewrite helpers — changed the JsValue it was given. Returned alongside the (possibly rewritten) value. Modified::Yes makes the linker re-enter the value for further processing; Modified::No means it is final.
ObjectPart
PositiveBinaryOperator