Expand description
Offsets inside a captured section body, mapped back to the file.
The lexer captures a View:, Head: or Style: body as one raw block: its text with each
line’s indentation stripped, where its first character sits in the file, and how much
indentation it stripped. Every stage that reports a position inside such a body — the template
parser, the sub-lexed expressions, the lint, the stylesheet scoper — speaks in offsets into the
dedented text, and RawMap is the one place those become file offsets.
Structs§
- RawMap
- A dedented raw body and where it came from.