Expand description
Where each line of a concatenated script came from.
A language’s program is every script file it owns plus the inline
<script> blocks, joined in source order into one text. A compiler reports
a line of that text; the map turns it back into the file the author wrote
and the line in it.
Structs§
- Source
Map - The pieces of a concatenated script, in the order they were joined.
- Source
Piece - One piece of a concatenated script.
Functions§
- line_at
- The 1-based line byte offset
offsetoftextis on.