wright::parser

Module error

Source
Available on crate feature parser only.
Expand description

Representation and implementation relating to errors that may be encountered in parsing.

Structs§

  • An error that occurred while parsing. This error structure is pretty simple compared to what can be represented using a diagnostic. That’s fine, since most of the more complex errors arise when typechecking, rather than checking syntax.

Enums§

  • All the different errors that can be produced in the process of parsing. The names of these should be self-describing, but in cases when one of these needs to appear in a diagnostic, use ParserErrorKind::describe.