JSBase.h

Defines the JavaScriptCore interface engine.

Topics

Functions

JSCheckScriptSyntax

Checks for syntax errors in a string of JavaScript.

JSEvaluateScript

Evaluates a string of JavaScript.

JSGarbageCollect

Performs a JavaScript garbage collection.

Data Types

JSClassRef

A JavaScript class.

JSContextGroupRef

A group that associates JavaScript contexts with one another.

JSContextRef

A JavaScript execution context.

JSGlobalContextRef

A global JavaScript execution context.

JSObjectRef

A JavaScript object.

JSPropertyNameAccumulatorRef

An ordered set used to collect the names of a JavaScript object’s properties.

JSPropertyNameArrayRef

An array of JavaScript property names.

JSStringRef

A UTF16 character buffer.

JSValueRef

A JavaScript value.

See Also

Legacy JavaScriptCore APIs

JSObjectRef.h

A JavaScript Object.

JSStringRef.h

A UTF16 character buffer that is the fundamental string representation in JavaScript.

JSStringRefCF.h

Contains CFString convenience methods.

JSValueRef.h

A JavaScript value that is the base type for all JavaScript values and the polymorphic functions on them.