mrdocs::js::Context

An instance of a JavaScript interpreter.

Synopsis

Declared in <mrdocs/Support/JavaScript.hpp>

class Context;

Member Functions

Name

Description

Context [constructor]

Constructor.

~Context [destructor]

Destructor.

operator= [deleted]

Copy assignment.

Friends

Name

Description

mrdocs::js::Access

Description

This class represents a JavaScript interpreter context under which we can create Scope objects to define variables and execute scripts.

A context represents a JavaScript heap where variables can be allocated and will be later garbage collected.

Each context is associated with a single heap allocated with default memory management.

Once the context is created, a Scope in this context can be created to define variables and execute scripts.

See Also

Scope

Created with MrDocs