Module text

Module text 

Source
Expand description

Helpers for parsing and pretty printing.

Structs§

Name
An identifier
NoSpan
Spanned
Wraps data of type T in a span of type S, locating it in the source text. The span is ignored when printing.

Traits§

HasParser
Trait for types which can be parsed
Span
ToDoc
Trait for types which can be pretty-printed

Functions§

comment_parser
Parse a comment