Skip to main content

Module oxc_analysis

Module oxc_analysis 

Source
Expand description

Precise JS/TS scope analysis using oxc_semantic. Provides compiler-grade reference resolution without LSP.

Structs§

ResolvedReference
ScopeSymbol

Enums§

RefKind

Functions§

find_references_precise
Find all references to a symbol by name in a JS/TS file. Scope-aware: distinguishes definitions, reads, and writes.
find_unresolved
Find unresolved references (potential missing imports or globals).
get_scope_symbols
Get all symbols in a JS/TS file with scope-aware metadata.
is_js_ts
Check if a file is JS/TS (supported by oxc).