Skip to main content

Module source_map

Module source_map 

Source
Expand description

Per-instruction source positions for diagnostics and the disassembler.

Structsยง

SourceMap
Maps instruction indexes to the source position of the form that produced them. Stored as a parallel vector so lookup during error construction is a single index.