Skip to main content

Crate vue_vet_reactivity

Crate vue_vet_reactivity 

Source
Expand description

Static reactivity tracing for Vue Vet.

Default consumers use ModuleSource plus trace_modules / prepare_standalone_module_source, then explain_tracking_scope. Oxc Semantic / AST helpers live under oxc.

Modules§

oxc
Oxc Semantic / AST / Span / NodeId entry points and helpers.

Structs§

ComposableShape
Object-bag return shape for a composable (explicit fields + optional open spread).
ModuleLink
Already-resolved import edge between two ModuleSource::id values.
ModuleReactivity
Per-module reactivity graph produced by trace_modules.
ModuleSource
One script surface to analyze — standalone JS/TS or an extracted SFC block.
ModuleSummary
Stable module semantic IR extracted from an existing Oxc semantic.
ModuleTraceState
Reusable state for cross-module linking in a long-lived project session.
NamedApiBag
One named API bag contract (e.g. useI18n, useAsyncData).
PropFlowSite
One resolved component usage in a parent template that targets child_module.
TraceConfig
Per-trace configuration. Ecosystem bags come from plugins — not the engine.
TraceModulesOptions
Concurrency limit for cross-module tracing.
TraceModulesReport
Partial, deterministic result from a module-linking pass.
TraceModulesStats
Work counters used by incremental tests and performance instrumentation.
ValueBag
Nested object of callables / sub-bags (createApi() → { maps: { useX } }).

Enums§

TraceModulesError
Failures while parsing, linking, or tracing a module set.
ValueBagEntry

Constants§

DEEP_WATCH_PROPERTY

Traits§

TracerPlugin
Compile-time ecosystem extension for the reactivity tracer.

Functions§

attach_stale_prop_flows
Parent-side Prop edges for plain let / var values passed as a prop.
explain_tracking_scope
Build a multi-consumer explain payload for one tracking scope.
flatten_named_api_bags
Flatten plugin contributions into a single owned catalog (stable callee order).
is_named_api_bag_callee
Whether name is a known API-bag callee in the catalog (bare auto-import allowlist).
join_prop_flows
Append static prop-flow edges onto each child graph.
merge_declaration_implementation_summary
Merge .d.ts declaration locals with companion implementation locals.
module_id_matches
True when module_id equals or ends with query_module (path suffix).
named_api_bag
Look up a bag by callee name in a catalog.
prepare_standalone_module_source
Parse a standalone module and attach its ModuleSummary (external seed path).
query_module_prefix
Module prefix when the query names a file (App.vue:label, App.vue:@20, App.vue:). Bare @offset, callee@offset, and binding names stay workspace-wide.
scope_covering_span
Find the tightest tracking scope covering a diagnostic span (same module).
select_tracking_scopes
Select scopes in a graph matching a human query.
trace_modules
Traces local and linked reactivity across a resolved module graph.
trace_modules_incremental_from_arcs
Same as trace_modules_incremental_from_refs when the caller already holds Arc<ModuleSource>. Persist stores that Arc instead of Arc::new(module.clone()).
trace_modules_incremental_from_refs
Same as trace_modules_incremental_with_options with borrowed sources.
trace_modules_incremental_with_options
Trace a module set while retaining healthy cross-module results and reusing unchanged seeded graphs from state.
trace_modules_with_options
Traces local and linked reactivity with an explicit worker bound.