| 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 |
GI.JavaScriptCore.Enums
Description
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.
Constructors
| 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.
Constructors
| 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
Constructors
| 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 |
Instances
| Enum OptionType Source # | |
Defined in GI.JavaScriptCore.Enums Methods succ :: OptionType -> OptionType pred :: OptionType -> OptionType toEnum :: Int -> OptionType fromEnum :: OptionType -> Int enumFrom :: OptionType -> [OptionType] enumFromThen :: OptionType -> OptionType -> [OptionType] enumFromTo :: OptionType -> OptionType -> [OptionType] enumFromThenTo :: OptionType -> OptionType -> OptionType -> [OptionType] | |
| Eq OptionType Source # | |
Defined in GI.JavaScriptCore.Enums | |
| Ord OptionType Source # | |
Defined in GI.JavaScriptCore.Enums Methods compare :: OptionType -> OptionType -> Ordering (<) :: OptionType -> OptionType -> Bool (<=) :: OptionType -> OptionType -> Bool (>) :: OptionType -> OptionType -> Bool (>=) :: OptionType -> OptionType -> Bool max :: OptionType -> OptionType -> OptionType min :: OptionType -> OptionType -> OptionType | |
| Show OptionType Source # | |
Defined in GI.JavaScriptCore.Enums Methods showsPrec :: Int -> OptionType -> ShowS show :: OptionType -> String showList :: [OptionType] -> ShowS | |