StructureGrammar

ParsingInput

A mutable interface for interacting with source input in a safe and structured manner.

@frozen struct ParsingInput<Diagnostics> where Diagnostics : ParsingDiagnostics

Overview

The Diagnostics generic parameter provides a zero-cost abstraction for configuring the debugging information emitted if parsing fails.

Members