Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "fxjs/cfxjs_engine.h"
#include <memory>
#include <utility>
#include "core/fxcrt/stl_util.h"
#include "core/fxcrt/unowned_ptr.h"
#include "fxjs/cfx_v8_array_buffer_allocator.h"
#include "fxjs/cjs_object.h"
#include "fxjs/fxv8.h"
#include "fxjs/xfa/cfxjse_runtimedata.h"
#include "third_party/base/check.h"
#include "third_party/base/check_op.h"
#include "v8/include/v8-context.h"
#include "v8/include/v8-exception.h"
#include "v8/include/v8-isolate.h"
#include "v8/include/v8-message.h"
#include "v8/include/v8-primitive.h"
#include "v8/include/v8-script.h"
#include "v8/include/v8-util.h"
Go to the source code of this file.
Classes | |
class | CFXJS_PerObjectData |
class | V8TemplateMapTraits |
class | V8TemplateMap |
class | CFXJS_ObjDefinition |
Functions | |
static v8::Local< v8::ObjectTemplate > | GetGlobalObjectTemplate (v8::Isolate *pIsolate) |
void | FXJS_Initialize (unsigned int embedderDataSlot, v8::Isolate *pIsolate) |
void | FXJS_Release () |
bool | FXJS_GetIsolate (v8::Isolate **pResultIsolate) |
size_t | FXJS_GlobalIsolateRefCount () |
bool FXJS_GetIsolate | ( | v8::Isolate ** | pResultIsolate | ) |
Definition at line 329 of file cfxjs_engine.cpp.
References CFX_V8ArrayBufferAllocator::CFX_V8ArrayBufferAllocator().
size_t FXJS_GlobalIsolateRefCount | ( | ) |
Definition at line 343 of file cfxjs_engine.cpp.
void FXJS_Initialize | ( | unsigned int | embedderDataSlot, |
v8::Isolate * | pIsolate ) |
Definition at line 309 of file cfxjs_engine.cpp.
void FXJS_Release | ( | ) |
Definition at line 319 of file cfxjs_engine.cpp.
Referenced by FXJSEngineUnitTest::TearDown().
|
static |
Definition at line 261 of file cfxjs_engine.cpp.
References FXJS_PerIsolateData::CurrentMaxObjDefinitionID(), FXJSOBJTYPE_GLOBAL, CFXJS_ObjDefinition::GetObjType(), and FXJS_PerIsolateData::ObjDefinitionForID().