Skip to main content

Module span

Module span 

Source
Expand description

Byte ranges into a single source file.

Spans are file relative. The owning FileId lives on the diagnostic, not on every span, because spans are copied constantly and diagnostics are not.

Structsยง

Span
A half open byte range [start, end) into one source file.