[][src]Module ul::jsc

JavaScriptCore Bindings

Evaluate JavaScript programs from within an app, and support JavaScript scripting of your app.

Structs

JSClass

A JavaScript class.

JSContext

A JavaScript execution context.

JSContextGroup

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.

JSValue

A JavaScript value.

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.

Type Definitions

JSType

@enum JSType @abstract A constant identifying the type of a JSValue. @constant kJSTypeUndefined The unique undefined value. @constant kJSTypeNull The unique null value. @constant kJSTypeBoolean A primitive boolean value, one of true or false. @constant kJSTypeNumber A primitive number value. @constant kJSTypeString A primitive string value. @constant kJSTypeObject An object value (meaning that this JSValueRef is a JSObjectRef).

JSTypedArrayType

@enum JSTypedArrayType @abstract A constant identifying the Typed Array type of a JSObjectRef. @constant kJSTypedArrayTypeInt8Array Int8Array @constant kJSTypedArrayTypeInt16Array Int16Array @constant kJSTypedArrayTypeInt32Array Int32Array @constant kJSTypedArrayTypeUint8Array Uint8Array @constant kJSTypedArrayTypeUint8ClampedArray Uint8ClampedArray @constant kJSTypedArrayTypeUint16Array Uint16Array @constant kJSTypedArrayTypeUint32Array Uint32Array @constant kJSTypedArrayTypeFloat32Array Float32Array @constant kJSTypedArrayTypeFloat64Array Float64Array @constant kJSTypedArrayTypeArrayBuffer ArrayBuffer @constant kJSTypedArrayTypeNone Not a Typed Array