Expand description
JavaScriptCore Bindings
Evaluate JavaScript programs from within an app, and support JavaScript scripting of your app.
Structs§
- JSClass
- A JavaScript class.
- JSClass
Builder - A builder for
JSClass
. - JSContext
- A JavaScript execution context.
- JSContext
Group - A group that associates JavaScript contexts with one another.
- JSException
- A wrapper for a
JSValue
that contains an exception. - JSObject
- A JavaScript object.
- JSString
- A UTF16 character buffer.
- JSTyped
Array - A JavaScript Typed Array.
- JSValue
- A JavaScript value.
Enums§
- JSType
- A constant identifying the type of a
JSValueRef
. - JSTyped
Array Type - A constant identifying the Typed Array type of a
JSObjectRef
.
Functions§
- check_
script_ syntax - Checks for syntax errors in a string of JavaScript.
- evaluate_
script - Evaluates a string of JavaScript.
- garbage_
collect - Performs a JavaScript garbage collection.
Attribute Macros§
- constructor_
callback - Transforms a Rust function into a C function for being used as a JavaScript constructor callback.
- function_
callback - Transforms a Rust function into a C function for being used as a JavaScript callback.