#include "fxjs/cfx_v8.h"
#include "fxjs/fxv8.h"
#include "v8/include/v8-isolate.h"
CFX_V8::CFX_V8(v8::Isolate* isolate) : … { … }
CFX_V8::~CFX_V8() = default;
v8::Local<v8::Value> CFX_V8::GetObjectProperty(
v8::Local<v8::Object> pObj,
ByteStringView bsUTF8PropertyName) { … }
std::vector<WideString> CFX_V8::GetObjectPropertyNames(
v8::Local<v8::Object> pObj) { … }
void CFX_V8::PutObjectProperty(v8::Local<v8::Object> pObj,
ByteStringView bsUTF8PropertyName,
v8::Local<v8::Value> pPut) { … }
void CFX_V8::DisposeIsolate() { … }
v8::Local<v8::Array> CFX_V8::NewArray() { … }
v8::Local<v8::Object> CFX_V8::NewObject() { … }
void CFX_V8::PutArrayElement(v8::Local<v8::Array> pArray,
size_t index,
v8::Local<v8::Value> pValue) { … }
v8::Local<v8::Value> CFX_V8::GetArrayElement(v8::Local<v8::Array> pArray,
size_t index) { … }
size_t CFX_V8::GetArrayLength(v8::Local<v8::Array> pArray) { … }
v8::Local<v8::Number> CFX_V8::NewNumber(int number) { … }
v8::Local<v8::Number> CFX_V8::NewNumber(double number) { … }
v8::Local<v8::Number> CFX_V8::NewNumber(float number) { … }
v8::Local<v8::Boolean> CFX_V8::NewBoolean(bool b) { … }
v8::Local<v8::String> CFX_V8::NewString(ByteStringView str) { … }
v8::Local<v8::String> CFX_V8::NewString(WideStringView str) { … }
v8::Local<v8::Value> CFX_V8::NewNull() { … }
v8::Local<v8::Value> CFX_V8::NewUndefined() { … }
v8::Local<v8::Date> CFX_V8::NewDate(double d) { … }
int CFX_V8::ToInt32(v8::Local<v8::Value> pValue) { … }
bool CFX_V8::ToBoolean(v8::Local<v8::Value> pValue) { … }
double CFX_V8::ToDouble(v8::Local<v8::Value> pValue) { … }
WideString CFX_V8::ToWideString(v8::Local<v8::Value> pValue) { … }
ByteString CFX_V8::ToByteString(v8::Local<v8::Value> pValue) { … }
v8::Local<v8::Object> CFX_V8::ToObject(v8::Local<v8::Value> pValue) { … }
v8::Local<v8::Array> CFX_V8::ToArray(v8::Local<v8::Value> pValue) { … }
void CFX_V8IsolateDeleter::operator()(v8::Isolate* ptr) { … }