Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data CheckSyntaxMode
- data CheckSyntaxResult
Enumerations
CheckSyntaxMode
data CheckSyntaxMode Source #
Enum values to specify a mode to check for syntax errors in contextCheckSyntax
.
CheckSyntaxModeScript | mode to check syntax of a script |
CheckSyntaxModeModule | mode to check syntax of a module |
AnotherCheckSyntaxMode Int | Catch-all for unknown values |
Instances
CheckSyntaxResult
data CheckSyntaxResult Source #
Enum values to specify the result of contextCheckSyntax
.
CheckSyntaxResultSuccess | no errors |
CheckSyntaxResultRecoverableError | recoverable syntax error |
CheckSyntaxResultIrrecoverableError | irrecoverable syntax error |
CheckSyntaxResultUnterminatedLiteralError | unterminated literal error |
CheckSyntaxResultOutOfMemoryError | out of memory error |
CheckSyntaxResultStackOverflowError | stack overflow error |
AnotherCheckSyntaxResult Int | Catch-all for unknown values |