describeParseErrorfunctionfunction describeParseError(e: ParseError): stringOne sentence for a parse error.
What the parser finds that it cannot read (commons lang-sql 0002-sql-ast-parser FR-012): errors are values, each with a span and one sentence, and the lexer's errors are among them.
Spec: 0002-sql-ast-parser FR-012
describeParseErrorfunctionfunction describeParseError(e: ParseError): stringOne sentence for a parse error.
ParseErrortypeno test imports ittype ParseError =
| { readonly kind: "expected"; readonly expected: string; readonly found: string; readonly span: Span }
| { readonly kind: "unsupported"; readonly what: string; readonly span: Span }
| { readonly kind: "too-deep"; readonly span: Span }
| { readonly kind: "lex"; readonly error: LexError };An error of the parser.
spanOffunctionno test imports itfunction spanOf(e: ParseError): SpanWhere an error is.