Module spanned

Source
Expand description

Helper trait and methods to manipulate syntax tree nodes’ spans.

Traits§

Spanned
A trait that can provide the Span of the complete contents of a syntax tree node.

Functions§

join_spans
Joins the spans of each item in the given iterator.
set_spans
Sets the span of each item in the given iterator.