Skip to main content

Module analyze

Module analyze 

Source

Modules§

feature_flags
Feature flag collection and cross-reference with dead code findings.

Functions§

byte_offset_to_line_col
Convert a byte offset to (line, col) using pre-computed line offsets. Falls back to (1, byte_offset) when no line table is available.
find_dead_code_full
Find all dead code, with optional resolved module data, plugin context, and workspace info.

Type Aliases§

LineOffsetsMap
Pre-computed line offset tables indexed by FileId, built during parse and carried through the cache. Eliminates redundant file reads during analysis.