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
cfxjs_engine.cpp File Reference

(acbcf08a6dffdfe90a6eaf661fcd6923f0de2447)

#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"
+ Include dependency graph for cfxjs_engine.cpp:

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 ()
 

Function Documentation

◆ FXJS_GetIsolate()

bool FXJS_GetIsolate ( v8::Isolate ** pResultIsolate)

Definition at line 329 of file cfxjs_engine.cpp.

References CFX_V8ArrayBufferAllocator::CFX_V8ArrayBufferAllocator().

+ Here is the call graph for this function:

◆ FXJS_GlobalIsolateRefCount()

size_t FXJS_GlobalIsolateRefCount ( )

Definition at line 343 of file cfxjs_engine.cpp.

◆ FXJS_Initialize()

void FXJS_Initialize ( unsigned int embedderDataSlot,
v8::Isolate * pIsolate )

Definition at line 309 of file cfxjs_engine.cpp.

◆ FXJS_Release()

void FXJS_Release ( )

Definition at line 319 of file cfxjs_engine.cpp.

Referenced by FXJSEngineUnitTest::TearDown().

+ Here is the caller graph for this function:

◆ GetGlobalObjectTemplate()

static v8::Local< v8::ObjectTemplate > GetGlobalObjectTemplate ( v8::Isolate * pIsolate)
static

Definition at line 261 of file cfxjs_engine.cpp.

References FXJS_PerIsolateData::CurrentMaxObjDefinitionID(), FXJSOBJTYPE_GLOBAL, CFXJS_ObjDefinition::GetObjType(), and FXJS_PerIsolateData::ObjDefinitionForID().

+ Here is the call graph for this function: