javascriptcoregtk-4.1
Description:
WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable for projects requiring any kind of web integration, from hybrid HTML/CSS applications to full-fledged web browsers. This is the library to use to acces JavaScript from WebKitGTK.
- Home: https://webkitgtk.org/
- C-Documentation: https://webkitgtk.org/reference/jsc-glib/unstable/
- Devhelp-Package download
Content:
Namespaces:
- JSC
- Class - A JSSClass represents a custom JavaScript class registered by the user in a Context.
- 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 Context.
- VirtualMachine - JSCVirtualMachine represents a group of JSCContext<!-- -->s.
- WeakValue - JSCWeakValue represents a weak reference to a value in a Context.
- ClassVTable - Virtual table for a JSCClass.
- CheckSyntaxMode - Enum values to specify a mode to check for syntax errors in check_syntax.
- CheckSyntaxResult - Enum values to specify the result of check_syntax.
- OptionType - Enum values for options types.
- TypedArrayType - Possible types of the elements contained in a typed array.
- ValuePropertyFlags - Flags used when defining properties with object_define_property_data and object_define_property_accessor.
- public const int MAJOR_VERSION
Like get_major_version, but from the headers used at application compile time, rather than from the library linked against at application run time.
- public const int MICRO_VERSION
Like get_micro_version, but from the headers used at application compile time, rather than from the library linked against at application run time.
- public const int MINOR_VERSION
Like get_minor_version, but from the headers used at application compile time, rather than from the library linked against at application run time.
- public delegate T ClassConstructorCb<T> (GenericArray<Value> values)
- public delegate bool ClassDeletePropertyFunction (Class jsc_class, Context context, void* instance, string name)
The type of delete_property in ClassVTable.
- public delegate string[]? ClassEnumeratePropertiesFunction (Class jsc_class, Context context, void* instance)
The type of enumerate_properties in ClassVTable.
- public delegate T ClassGetPropertyCb<T> (Class instance)
- public delegate Value? ClassGetPropertyFunction (Class jsc_class, Context context, void* instance, string name)
The type of get_property in ClassVTable.
- public delegate bool ClassHasPropertyFunction (Class jsc_class, Context context, void* instance, string name)
The type of has_property in ClassVTable.
- public delegate T ClassMethodCb<T> (Class instance, GenericArray<Value> values)
- public delegate void ClassSetPropertyCb<T> (Class instance, T value)
- public delegate bool ClassSetPropertyFunction (Class jsc_class, Context context, void* instance, string name, Value value)
The type of set_property in ClassVTable.
- public delegate void ExceptionHandler (Context context, Exception exception)
Function used to handle JavaScript exceptions in a Context.
- public delegate bool OptionsFunc (string option, OptionType type, string? description)
Function used to iterate options.
- public uint get_major_version ()
Returns the major version number of the JavaScriptCore library.
- public uint get_micro_version ()
Returns the micro version number of the JavaScriptCore library.
- public uint get_minor_version ()
Returns the minor version number of the JavaScriptCore library.
- Options
- public const string USE_DFG
Allows the DFG JIT to be used if true.
- public const string USE_FTL
Allows the FTL JIT to be used if true.
- public const string USE_JIT
Allows the executable pages to be allocated for JIT and thunks if true.
- public const string USE_LLINT
Allows the LLINT to be used if true.
- public void @foreach (OptionsFunc function)
Iterates all available options calling
function
for each one. - public bool get_boolean (string option, out bool value)
Get
option
as a bool value. - public bool get_double (string option, out double value)
Get
option
as a double value. - public bool get_int (string option, out int value)
Get
option
as a int value. - public OptionGroup get_option_group ()
Create a OptionGroup to handle JSCOptions as command line arguments.
- public bool get_range_string (string option, out string value)
Get
option
as a range string. - public bool get_size (string option, out size_t value)
Get
option
as a size_t value. - public bool get_string (string option, out string value)
Get
option
as a string. - public bool get_uint (string option, out uint value)
Get
option
as a Signal value. - public bool set_boolean (string option, bool value)
Set
option
as a bool value. - public bool set_double (string option, double value)
Set
option
as a double value. - public bool set_int (string option, int value)
Set
option
as a int value. - public bool set_range_string (string option, string value)
Set
option
as a range string. - public bool set_size (string option, size_t value)
Set
option
as a size_t value. - public bool set_string (string option, string value)
Set
option
as a string. - public bool set_uint (string option, uint value)
Set
option
as a Signal value.