| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.JavaScriptCore.Enums
Description
Synopsis
- data CheckSyntaxMode
- data CheckSyntaxResult
- data OptionType
- data TypedArrayType
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
TypedArrayType
data TypedArrayType Source #
Possible types of the elements contained in a typed array.
Since: 2.38
Constructors
| TypedArrayTypeNone | Not a typed array, or type unsupported. |
| TypedArrayTypeInt8 | Array elements are 8-bit signed integers (int8_t). |
| TypedArrayTypeInt16 | Array elements are 16-bit signed integers (int16_t). |
| TypedArrayTypeInt32 | Array elements are 32-bit signed integers (int32_t). |
| TypedArrayTypeInt64 | Array elements are 64-bit signed integers (int64_t). |
| TypedArrayTypeUint8 | Array elements are 8-bit unsigned integers (uint8_t). |
| TypedArrayTypeUint8Clamped | Array elements are 8-bit unsigned integers (uint8_t). |
| TypedArrayTypeUint16 | Array elements are 16-bit unsigned integers (uint16_t). |
| TypedArrayTypeUint32 | Array elements are 32-bit unsigned integers (uint32_t). |
| TypedArrayTypeUint64 | Array elements are 64-bit unsigned integers (uint64_t). |
| TypedArrayTypeFloat32 | Array elements are 32-bit floating point numbers (float). |
| TypedArrayTypeFloat64 | Array elements are 64-bit floating point numbers (double). |
| AnotherTypedArrayType Int | Catch-all for unknown values |