Skip to main content

Module error

Module error 

Source
Expand description

Syntax error types for the Nash parser.

Ported from Elm’s Reporting/Error/Syntax.hs. These types form a nested hierarchy that enables high-quality error messages.

Note: Type, Expr, Pattern here are ERROR types describing parse failures, not AST types. They are allocated in the arena like everything else.

Enums§

Attribute
BadOperator
Bytes
Case
CustomType
Decl
DeclDef
DeclType
Def
Destruct
Do
Error
Escape
Exposing
Expr
Func
If
Impl
Keyword
Kind
Let
List
Macro
Module
Number
PList
PRecord
PTuple
Pattern
Record
Space
StringError
TRecord
TTuple
Test
Tests
Trait
Tuple
Type
TypeAlias
TypeParam