Skip to main content

EXTRACTION_VERSION

Constant EXTRACTION_VERSION 

Source
pub const EXTRACTION_VERSION: u32 = 2;
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).