javascriptcore.types

D types for javascriptcore6 library

Members

Aliases

CheckSyntaxMode
alias CheckSyntaxMode = JSCCheckSyntaxMode
CheckSyntaxResult
alias CheckSyntaxResult = JSCCheckSyntaxResult
ClassDeletePropertyFunction
alias ClassDeletePropertyFunction = bool delegate(javascriptcore.class_.Class jscClass, javascriptcore.context.Context context, void* instance, string name)

The type of delete_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

ClassEnumeratePropertiesFunction
alias ClassEnumeratePropertiesFunction = string[] delegate(javascriptcore.class_.Class jscClass, javascriptcore.context.Context context, void* instance)

The type of enumerate_properties in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

ClassGetPropertyFunction
alias ClassGetPropertyFunction = javascriptcore.value.Value delegate(javascriptcore.class_.Class jscClass, javascriptcore.context.Context context, void* instance, string name)

The type of get_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

ClassHasPropertyFunction
alias ClassHasPropertyFunction = bool delegate(javascriptcore.class_.Class jscClass, javascriptcore.context.Context context, void* instance, string name)

The type of has_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

ClassSetPropertyFunction
alias ClassSetPropertyFunction = bool delegate(javascriptcore.class_.Class jscClass, javascriptcore.context.Context context, void* instance, string name, javascriptcore.value.Value value)

The type of set_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

ClassVTable
alias ClassVTable = JSCClassVTable
ExceptionHandler
alias ExceptionHandler = void delegate(javascriptcore.context.Context context, javascriptcore.exception.ExceptionJSC exception)

Function used to handle JavaScript exceptions in a #JSCContext.

Executor
alias Executor = void delegate(javascriptcore.value.Value resolve, javascriptcore.value.Value reject)

A function passed to jsc_value_new_promise called during initialization

OptionType
alias OptionType = JSCOptionType
OptionsFunc
alias OptionsFunc = bool delegate(string option, javascriptcore.types.OptionType type, string description)

Function used to iterate options.

TypedArrayType
alias TypedArrayType = JSCTypedArrayType
ValuePropertyFlags
alias ValuePropertyFlags = JSCValuePropertyFlags

Manifest constants

MAJOR_VERSION
enum MAJOR_VERSION;

Like javascriptcore.global.getMajorVersion, but from the headers used at application compile time, rather than from the library linked against at application run time.

MICRO_VERSION
enum MICRO_VERSION;

Like javascriptcore.global.getMicroVersion, but from the headers used at application compile time, rather than from the library linked against at application run time.

MINOR_VERSION
enum MINOR_VERSION;

Like javascriptcore.global.getMinorVersion, but from the headers used at application compile time, rather than from the library linked against at application run time.

OPTIONS_USE_DFG
enum OPTIONS_USE_DFG;

Allows the DFG JIT to be used if true. Option type: JSC_OPTION_BOOLEAN Default value: true.

OPTIONS_USE_FTL
enum OPTIONS_USE_FTL;

Allows the FTL JIT to be used if true. Option type: JSC_OPTION_BOOLEAN Default value: true.

OPTIONS_USE_JIT
enum OPTIONS_USE_JIT;

Allows the executable pages to be allocated for JIT and thunks if true. Option type: JSC_OPTION_BOOLEAN Default value: true.

OPTIONS_USE_LLINT
enum OPTIONS_USE_LLINT;

Allows the LLINT to be used if true. Option type: JSC_OPTION_BOOLEAN Default value: true.