Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfxjse_context.h>
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_Class * | GetClassByName (ByteStringView szName) const |
void | EnableCompatibleMode () |
ExecutionResult | ExecuteScript (ByteStringView bsScript, v8::Local< v8::Object > pNewThisObject) |
Static Public Member Functions | |
static std::unique_ptr< CFXJSE_Context > | Create (v8::Isolate *pIsolate, const FXJSE_CLASS_DESCRIPTOR *pGlobalClass, CFXJSE_HostObject *pGlobalObject, CXFA_ThisProxy *pProxy) |
Definition at line 25 of file cfxjse_context.h.
|
default |
void CFXJSE_Context::AddClass | ( | std::unique_ptr< CFXJSE_Class > | pClass | ) |
Definition at line 224 of file cfxjse_context.cpp.
|
static |
Definition at line 168 of file cfxjse_context.cpp.
References CFXJSE_Class::Create().
void CFXJSE_Context::EnableCompatibleMode | ( | ) |
Definition at line 237 of file cfxjse_context.cpp.
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().
CFXJSE_Class * CFXJSE_Context::GetClassByName | ( | ByteStringView | szName | ) | const |
Definition at line 228 of file cfxjse_context.cpp.
Referenced by CFXJSE_Class::Create().
v8::Local< v8::Context > CFXJSE_Context::GetContext | ( | ) |
Definition at line 220 of file cfxjse_context.cpp.
v8::Local< v8::Object > CFXJSE_Context::GetGlobalObject | ( | ) |
Definition at line 210 of file cfxjse_context.cpp.
|
inline |
Definition at line 46 of file cfxjse_context.h.