enum JavaScriptCore::CheckSyntaxResult

Overview

Enum values to specify the result of jsc_context_check_syntax().

Defined in:

lib/gi-crystal/src/auto/java_script_core-5.0/java_script_core.cr

Enum Members

Success = 0_u32

no errors

RecoverableError = 1_u32

recoverable syntax error

IrrecoverableError = 2_u32

irrecoverable syntax error

UnterminatedLiteralError = 3_u32

unterminated literal error

OutOfMemoryError = 4_u32

out of memory error

StackOverflowError = 5_u32

stack overflow error

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def irrecoverable_error? #

def out_of_memory_error? #

def recoverable_error? #

def stack_overflow_error? #

def success? #

def unterminated_literal_error? #