Packages
javascriptcoregtk-4.1
JSC
Context
virtual_machine
get_current
Context
Context.with_virtual_machine
@throw
check_syntax
clear_exception
evaluate
evaluate_in_object
evaluate_with_source_uri
get_exception
get_global_object
get_value
get_virtual_machine
pop_exception_handler
push_exception_handler
register_class
set_value
throw_exception
throw_with_name
Context.with_virtual_machine
Description:
[
CCode
( has_construct_function =
false
) ]
public
Context.with_virtual_machine
(
VirtualMachine
vm)
Create a new
Context
in
virtual_machine
.
Parameters:
vm
a
VirtualMachine
Returns:
the newly created
Context
.