cfgrammar

Module span

source

Structs§

  • A Span records what portion of the user’s input something (e.g. a lexeme or production) references (i.e. the Span doesn’t hold a reference / copy of the actual input).

Traits§

  • Implemented for errors and warnings to provide access to their spans.