libgpac
Documentation of the core library of GPAC
JSContext Struct Reference
+ Collaboration diagram for JSContext:

Data Fields

JSGCObjectHeader header
 
JSRuntimert
 
struct list_head link
 
uint16_t binary_object_count
 
int binary_object_size
 
JSShapearray_shape
 
JSValueclass_proto
 
JSValue function_proto
 
JSValue function_ctor
 
JSValue array_ctor
 
JSValue regexp_ctor
 
JSValue promise_ctor
 
JSValue native_error_proto [JS_NATIVE_ERROR_COUNT]
 
JSValue iterator_proto
 
JSValue async_iterator_proto
 
JSValue array_proto_values
 
JSValue throw_type_error
 
JSValue eval_obj
 
JSValue global_obj
 
JSValue global_var_obj
 
uint64_t random_state
 
int interrupt_counter
 
BOOL is_error_property_enabled
 
struct list_head loaded_modules
 
JSValue(* compile_regexp )(JSContext *ctx, JSValueConst pattern, JSValueConst flags)
 
JSValue(* eval_internal )(JSContext *ctx, JSValueConst this_obj, const char *input, size_t input_len, const char *filename, int flags, int scope_idx)
 
void * user_opaque
 

Field Documentation

◆ header

JSGCObjectHeader JSContext::header

◆ rt

JSRuntime* JSContext::rt

◆ link

struct list_head JSContext::link

◆ binary_object_count

uint16_t JSContext::binary_object_count

◆ binary_object_size

int JSContext::binary_object_size

◆ array_shape

JSShape* JSContext::array_shape

◆ class_proto

JSValue* JSContext::class_proto

◆ function_proto

JSValue JSContext::function_proto

◆ function_ctor

JSValue JSContext::function_ctor

◆ array_ctor

JSValue JSContext::array_ctor

◆ regexp_ctor

JSValue JSContext::regexp_ctor

◆ promise_ctor

JSValue JSContext::promise_ctor

◆ native_error_proto

JSValue JSContext::native_error_proto[JS_NATIVE_ERROR_COUNT]

◆ iterator_proto

JSValue JSContext::iterator_proto

◆ async_iterator_proto

JSValue JSContext::async_iterator_proto

◆ array_proto_values

JSValue JSContext::array_proto_values

◆ throw_type_error

JSValue JSContext::throw_type_error

◆ eval_obj

JSValue JSContext::eval_obj

◆ global_obj

JSValue JSContext::global_obj

◆ global_var_obj

JSValue JSContext::global_var_obj

◆ random_state

uint64_t JSContext::random_state

◆ interrupt_counter

int JSContext::interrupt_counter

◆ is_error_property_enabled

BOOL JSContext::is_error_property_enabled

◆ loaded_modules

struct list_head JSContext::loaded_modules

◆ compile_regexp

JSValue(* JSContext::compile_regexp) (JSContext *ctx, JSValueConst pattern, JSValueConst flags)

◆ eval_internal

JSValue(* JSContext::eval_internal) (JSContext *ctx, JSValueConst this_obj, const char *input, size_t input_len, const char *filename, int flags, int scope_idx)

◆ user_opaque

void* JSContext::user_opaque