Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFXJSE_Context Class Reference

#include <cfxjse_context.h>

+ Collaboration diagram for CFXJSE_Context:

Classes

struct  ExecutionResult
 

Public Member Functions

 ~CFXJSE_Context ()
 
v8::Isolate * GetIsolate () const
 
v8::Local< v8::Context > GetContext ()
 
v8::Local< v8::Object > GetGlobalObject ()
 
void AddClass (std::unique_ptr< CFXJSE_Class > pClass)
 
CFXJSE_ClassGetClassByName (ByteStringView szName) const
 
void EnableCompatibleMode ()
 
ExecutionResult ExecuteScript (ByteStringView bsScript, v8::Local< v8::Object > pNewThisObject)
 

Static Public Member Functions

static std::unique_ptr< CFXJSE_ContextCreate (v8::Isolate *pIsolate, const FXJSE_CLASS_DESCRIPTOR *pGlobalClass, CFXJSE_HostObject *pGlobalObject, CXFA_ThisProxy *pProxy)
 

Detailed Description

Definition at line 25 of file cfxjse_context.h.

Constructor & Destructor Documentation

◆ ~CFXJSE_Context()

CFXJSE_Context::~CFXJSE_Context ( )
default

Member Function Documentation

◆ AddClass()

void CFXJSE_Context::AddClass ( std::unique_ptr< CFXJSE_Class > pClass)

Definition at line 224 of file cfxjse_context.cpp.

◆ Create()

std::unique_ptr< CFXJSE_Context > CFXJSE_Context::Create ( v8::Isolate * pIsolate,
const FXJSE_CLASS_DESCRIPTOR * pGlobalClass,
CFXJSE_HostObject * pGlobalObject,
CXFA_ThisProxy * pProxy )
static

Definition at line 168 of file cfxjse_context.cpp.

References CFXJSE_Class::Create().

+ Here is the call graph for this function:

◆ EnableCompatibleMode()

void CFXJSE_Context::EnableCompatibleMode ( )

Definition at line 237 of file cfxjse_context.cpp.

◆ ExecuteScript()

CFXJSE_Context::ExecutionResult CFXJSE_Context::ExecuteScript ( ByteStringView bsScript,
v8::Local< v8::Object > pNewThisObject )

Definition at line 242 of file cfxjse_context.cpp.

References CFXJSE_ScopeUtil_IsolateHandleContext::CFXJSE_ScopeUtil_IsolateHandleContext().

+ Here is the call graph for this function:

◆ GetClassByName()

CFXJSE_Class * CFXJSE_Context::GetClassByName ( ByteStringView szName) const

Definition at line 228 of file cfxjse_context.cpp.

Referenced by CFXJSE_Class::Create().

+ Here is the caller graph for this function:

◆ GetContext()

v8::Local< v8::Context > CFXJSE_Context::GetContext ( )

Definition at line 220 of file cfxjse_context.cpp.

◆ GetGlobalObject()

v8::Local< v8::Object > CFXJSE_Context::GetGlobalObject ( )

Definition at line 210 of file cfxjse_context.cpp.

◆ GetIsolate()

v8::Isolate * CFXJSE_Context::GetIsolate ( ) const
inline

Definition at line 46 of file cfxjse_context.h.


The documentation for this class was generated from the following files: