Namespace
JavaScriptCore – 4.1
The JavaScriptCore library
Dependencies
GObject—2.0 | The base type system library |
Browse documentation |
Classes
Class | A JSSClass represents a custom JavaScript class registered by the user in a |
Context | JSCContext represents a JavaScript execution context, where all operations take place and where the values will be associated. |
Exception | JSCException represents a JavaScript exception. |
Value | JSCValue represents a reference to a value in a |
VirtualMachine | JSCVirtualMachine represents a group of JSCContexts. It allows concurrent JavaScript execution by creating a different instance of JSCVirtualMachine in each thread. |
WeakValue | JSCWeakValue represents a weak reference to a value in a |
Structs
ClassVTable | Virtual table for a JSCClass. This can be optionally used when registering a |
Enumerations
CheckSyntaxMode | Enum values to specify a mode to check for syntax errors in jsc_context_check_syntax(). |
CheckSyntaxResult | Enum values to specify the result of jsc_context_check_syntax(). |
OptionType | Enum values for options types. |
TypedArrayType | Possible types of the elements contained in a typed array. |
Bitfields
ValuePropertyFlags | Flags used when defining properties with |
Callbacks
ClassDeletePropertyFunction | The type of delete_property in |
ClassEnumeratePropertiesFunction | The type of enumerate_properties in |
ClassGetPropertyFunction | The type of get_property in |
ClassHasPropertyFunction | The type of has_property in |
ClassSetPropertyFunction | The type of set_property in |
ExceptionHandler | Function used to handle JavaScript exceptions in a |
OptionsFunc | Function used to iterate options. |
Functions
get_major_version | Returns the major version number of the JavaScriptCore library. (e.g. in JavaScriptCore version 1.8.3 this is 1.) |
get_micro_version | Returns the micro version number of the JavaScriptCore library. (e.g. in JavaScriptCore version 1.8.3 this is 3.) |
get_minor_version | Returns the minor version number of the JavaScriptCore library. (e.g. in JavaScriptCore version 1.8.3 this is 8.) |
options_foreach | Iterates all available options calling |
options_get_boolean | Get |
options_get_double | Get |
options_get_int | Get |
options_get_option_group | Create a |
options_get_range_string | Get |
options_get_size | Get |
options_get_string | Get |
options_get_uint | Get |
options_set_boolean | Set |
options_set_double | Set |
options_set_int | Set |
options_set_range_string | Set |
options_set_size | Set |
options_set_string | Set |
options_set_uint | Set |
Function Macros
CHECK_VERSION | Check the version of JSC header files at compile time. |
DECLARE_FINAL_TYPE |
Constants
MAJOR_VERSION | Like jsc_get_major_version(), but from the headers used at application compile time, rather than from the library linked against at application run time. |
MICRO_VERSION | Like jsc_get_micro_version(), but from the headers used at application compile time, rather than from the library linked against at application run time. |
MINOR_VERSION | Like jsc_get_minor_version(), but from the headers used at application compile time, rather than from the library linked against at application run time. |
OPTIONS_USE_DFG | Allows the DFG JIT to be used if |
OPTIONS_USE_FTL | Allows the FTL JIT to be used if |
OPTIONS_USE_JIT | Allows the executable pages to be allocated for JIT and thunks if |
OPTIONS_USE_LLINT | Allows the LLINT to be used if |