Context


Object Hierarchy:

JSC.Context JSC.Context JSC.Context GLib.Object GLib.Object GLib.Object->JSC.Context

Description:

[ CCode ( type_id = "jsc_context_get_type ()" ) ]
public class Context : Object

JSCContext represents a JavaScript execution context, where all operations take place and where the values will be associated.

When a new context is created, a global object is allocated and the built-in JavaScript objects (Object, Function, String, Array) are populated. You can execute JavaScript in the context by using evaluate or evaluate_with_source_uri. It's also possible to register custom objects in the context with register_class.


Namespace: JSC

Content:

Properties:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org