Skip to main content

EXTRACTION_VERSION

Constant EXTRACTION_VERSION 

Source
pub const EXTRACTION_VERSION: u32 = 13;
Expand description

Version of the slice/graph extraction format.

Bumped whenever a change alters what the parser records for unchanged source — a new Reference field, a new edge rule, a grammar fix. An indexer that recorded a different version must do a full walk rather than an incremental one: carrying slices forward untouched is exactly what would otherwise leave a view permanently half-upgraded.

History: 1 = calls in macro arguments (#216); 2 = call-shape on references (#223); 3 = call-site qualifiers and definition owners (#248); 4 = functions named as values (#250); 5 = syntactic receiver types on method calls (#251); 6 = per-file imports (#252); 7 = Java/Kotlin imports (#260); 8 = JS/TS functions bound through a higher-order call, and object properties (#257); 9 = relative-import depth (#261); 10 = .h headers parsed as C++ (#266); 11 = C/C++ includes (#267); 12 = CommonJS require (#269); 13 = module-level attribution and its scope (#268).