Re-exports§
Modules§
Structs§
- Class
- A JSSClass represents a custom JavaScript class registered by the user in a
Context. It allows to create new JavaScripts objects whose instances are created by the user using this API. It’s possible to add constructors, properties and methods for a JSSClass by providingGCallbacks to implement them. - 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. The JSCValue protects the referenced value from being garbage collected. - Value
Property Flags - Flags used when defining properties with
Value::object_define_property_data()andjsc_value_object_define_property_accessor(). - Virtual
Machine - JSCVirtualMachine represents a group of JSCContexts. It allows concurrent JavaScript execution by creating a different instance of JSCVirtualMachine in each thread.
- Weak
Value - JSCWeakValue represents a weak reference to a value in a
Context. It can be used to keep a reference to a JavaScript value without protecting it from being garbage collected and without referencing theContexteither.
Enums§
- Check
Syntax Mode - Enum values to specify a mode to check for syntax errors in
Context::check_syntax(). - Check
Syntax Result - Enum values to specify the result of
Context::check_syntax(). - Option
Type - Enum values for options types.
- Typed
Array Type - Possible types of the elements contained in a typed array.
Statics§
- OPTIONS_
USE_ DFG - Allows the DFG JIT to be used if
true. Option type:OptionType::BooleanDefault value:true. - OPTIONS_
USE_ FTL - Allows the FTL JIT to be used if
true. Option type:OptionType::BooleanDefault value:true. - OPTIONS_
USE_ JIT - Allows the executable pages to be allocated for JIT and thunks if
true. Option type:OptionType::BooleanDefault value:true. - OPTIONS_
USE_ LLINT - Allows the LLINT to be used if
true. Option type:OptionType::BooleanDefault value:true.