Module marker_api::span

source ·

Structs

  • The Span belongs to something, which was generated by the Compiler. This could be the imports from the prelude or the testing harness.
  • Information about a specific expansion.
  • A location inside a file.
  • A region of code, used for snipping, lint emission, and the retrieval of context information.
  • A byte position used for the start and end position of Spans.

Enums

Traits

  • A trait for types, that provide a Span. It is implemented for all AST nodes, Span itself, and for references to them as well.