Module passerine::common::span[][src]


A Span refers to a section of a source, much like a &str, but with a reference to a Source rather than a String. A Span is meant to be paired with other datastructures, to be used during error reporting.

A wrapper for spanning types. For example, a token, such as