Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data CheckSyntaxMode
- data CheckSyntaxResult
- data OptionType
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 |
Instances
OptionType
data OptionType Source #
Enum values for options types.
Since: 2.24
OptionTypeBoolean | A |
OptionTypeInt | A |
OptionTypeUint | A |
OptionTypeSize | A |
OptionTypeDouble | A |
OptionTypeString | A string option type. |
OptionTypeRangeString | A range string option type. |
AnotherOptionType Int | Catch-all for unknown values |