parse(diagnosing:)
Attempts to parse the given input completely, emitting diagnostics if parsing failed.
Available because
Self
conforms toParsingRule
.
static func parse<Source>(diagnosing source: Source) throws -> Self.Construction where Source : Collection, Self.Location == Source.Index, Self.Terminal == Source.Element