Skip to main content

PositionMap

Type Alias PositionMap 

Source
pub type PositionMap = BTreeMap<String, Position>;
Expand description

Map from CUSTOM_ID to the projected Position of that element.

Keyed by id (a BTreeMap) so emission is deterministic; pull (Q1) scans the values to find the largest index at or below a comment’s anchor.

Aliased Type§

pub struct PositionMap { /* private fields */ }