Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Source Maps

Z edited this page May 13, 2015 · 1 revision

Source map format in Snow Crash

The source map format used in Snow Crash output is a set of semicolon-separated number pairs. Every pair represent a continuous range in the :<character index>:<character count> format.

Note a warning can span across several non-continuous blocks.

Examples

:48:4
:16:9;29:2

Using Drafter CLI

If you are using the Drafter CLI tool you can pass it the -u (--use-line-num) argument to print line numbers and columns instead.