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.