Module shared::span

source ·
Expand description

Contains the Span struct, which represents a span of characters in the source code.

Structs§

  • Represents a span of characters in the source code.

Traits§

  • Trait for getting the span of a node. For enums, this is useful for getting the span of the current variant, without having to match on each variant.