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
fxv8 Namespace Reference

Functions

bool IsUndefined (v8::Local< v8::Value > value)
bool IsNull (v8::Local< v8::Value > value)
bool IsBoolean (v8::Local< v8::Value > value)
bool IsString (v8::Local< v8::Value > value)
bool IsNumber (v8::Local< v8::Value > value)
bool IsInteger (v8::Local< v8::Value > value)
bool IsObject (v8::Local< v8::Value > value)
bool IsArray (v8::Local< v8::Value > value)
bool IsDate (v8::Local< v8::Value > value)
bool IsFunction (v8::Local< v8::Value > value)
v8::Local< v8::Value > NewNullHelper (v8::Isolate *pIsolate)
v8::Local< v8::Value > NewUndefinedHelper (v8::Isolate *pIsolate)
v8::Local< v8::Number > NewNumberHelper (v8::Isolate *pIsolate, int number)
v8::Local< v8::Number > NewNumberHelper (v8::Isolate *pIsolate, double number)
v8::Local< v8::Number > NewNumberHelper (v8::Isolate *pIsolate, float number)
v8::Local< v8::Boolean > NewBooleanHelper (v8::Isolate *pIsolate, bool b)
v8::Local< v8::String > NewStringHelper (v8::Isolate *pIsolate, ByteStringView str)
v8::Local< v8::String > NewStringHelper (v8::Isolate *pIsolate, WideStringView str)
v8::Local< v8::Array > NewArrayHelper (v8::Isolate *pIsolate)
v8::Local< v8::Array > NewArrayHelper (v8::Isolate *pIsolate, pdfium::span< v8::Local< v8::Value > > values)
v8::Local< v8::Object > NewObjectHelper (v8::Isolate *pIsolate)
v8::Local< v8::Date > NewDateHelper (v8::Isolate *pIsolate, double d)
WideString ToWideString (v8::Isolate *pIsolate, v8::Local< v8::String > pValue)
ByteString ToByteString (v8::Isolate *pIsolate, v8::Local< v8::String > pValue)
int32_t ReentrantToInt32Helper (v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
bool ReentrantToBooleanHelper (v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
float ReentrantToFloatHelper (v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
double ReentrantToDoubleHelper (v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
WideString ReentrantToWideStringHelper (v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
ByteString ReentrantToByteStringHelper (v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
v8::Local< v8::Object > ReentrantToObjectHelper (v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
v8::Local< v8::Array > ReentrantToArrayHelper (v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
v8::Local< v8::Value > ReentrantGetObjectPropertyHelper (v8::Isolate *pIsolate, v8::Local< v8::Object > pObj, ByteStringView bsUTF8PropertyName)
std::vector< WideStringReentrantGetObjectPropertyNamesHelper (v8::Isolate *pIsolate, v8::Local< v8::Object > pObj)
bool ReentrantHasObjectOwnPropertyHelper (v8::Isolate *pIsolate, v8::Local< v8::Object > pObj, ByteStringView bsUTF8PropertyName)
bool ReentrantSetObjectOwnPropertyHelper (v8::Isolate *pIsolate, v8::Local< v8::Object > pObj, ByteStringView bsUTF8PropertyName, v8::Local< v8::Value > pValue)
bool ReentrantPutObjectPropertyHelper (v8::Isolate *pIsolate, v8::Local< v8::Object > pObj, ByteStringView bsUTF8PropertyName, v8::Local< v8::Value > pPut)
void ReentrantDeleteObjectPropertyHelper (v8::Isolate *pIsolate, v8::Local< v8::Object > pObj, ByteStringView bsUTF8PropertyName)
bool ReentrantPutArrayElementHelper (v8::Isolate *pIsolate, v8::Local< v8::Array > pArray, size_t index, v8::Local< v8::Value > pValue)
v8::Local< v8::Value > ReentrantGetArrayElementHelper (v8::Isolate *pIsolate, v8::Local< v8::Array > pArray, size_t index)
size_t GetArrayLengthHelper (v8::Local< v8::Array > pArray)
void ThrowExceptionHelper (v8::Isolate *pIsolate, ByteStringView str)
void ThrowExceptionHelper (v8::Isolate *pIsolate, WideStringView str)

Function Documentation

◆ GetArrayLengthHelper()

size_t fxv8::GetArrayLengthHelper ( v8::Local< v8::Array > pArray)

Definition at line 326 of file fxv8.cpp.

◆ IsArray()

bool fxv8::IsArray ( v8::Local< v8::Value > value)

Definition at line 48 of file fxv8.cpp.

Referenced by CFXJSE_FormCalcContext::concat_fm_object(), CFXJSE_FormCalcContext::is_fm_array(), and CJS_Field::set_text_color().

Here is the caller graph for this function:

◆ IsBoolean()

bool fxv8::IsBoolean ( v8::Local< v8::Value > value)

Definition at line 28 of file fxv8.cpp.

◆ IsDate()

bool fxv8::IsDate ( v8::Local< v8::Value > value)

Definition at line 52 of file fxv8.cpp.

◆ IsFunction()

bool fxv8::IsFunction ( v8::Local< v8::Value > value)

Definition at line 56 of file fxv8.cpp.

◆ IsInteger()

bool fxv8::IsInteger ( v8::Local< v8::Value > value)

Definition at line 40 of file fxv8.cpp.

◆ IsNull()

bool fxv8::IsNull ( v8::Local< v8::Value > value)

Definition at line 24 of file fxv8.cpp.

Referenced by CFXJSE_FormCalcContext::Mod(), and CFXJSE_FormCalcContext::Round().

Here is the caller graph for this function:

◆ IsNumber()

bool fxv8::IsNumber ( v8::Local< v8::Value > value)

Definition at line 36 of file fxv8.cpp.

◆ IsObject()

bool fxv8::IsObject ( v8::Local< v8::Value > value)

Definition at line 44 of file fxv8.cpp.

Referenced by CFXJSE_FormCalcContext::Exists(), and CFXJSE_FormCalcContext::is_fm_object().

Here is the caller graph for this function:

◆ IsString()

bool fxv8::IsString ( v8::Local< v8::Value > value)

Definition at line 32 of file fxv8.cpp.

◆ IsUndefined()

bool fxv8::IsUndefined ( v8::Local< v8::Value > value)

Definition at line 20 of file fxv8.cpp.

Referenced by CFXJSE_Engine::GlobalPropertySetter().

Here is the caller graph for this function:

◆ NewArrayHelper() [1/2]

v8::Local< v8::Array > fxv8::NewArrayHelper ( v8::Isolate * pIsolate)

Definition at line 97 of file fxv8.cpp.

◆ NewArrayHelper() [2/2]

v8::Local< v8::Array > fxv8::NewArrayHelper ( v8::Isolate * pIsolate,
pdfium::span< v8::Local< v8::Value > > values )

Definition at line 101 of file fxv8.cpp.

◆ NewBooleanHelper()

v8::Local< v8::Boolean > fxv8::NewBooleanHelper ( v8::Isolate * pIsolate,
bool b )

Definition at line 80 of file fxv8.cpp.

◆ NewDateHelper()

v8::Local< v8::Date > fxv8::NewDateHelper ( v8::Isolate * pIsolate,
double d )

Definition at line 116 of file fxv8.cpp.

◆ NewNullHelper()

v8::Local< v8::Value > fxv8::NewNullHelper ( v8::Isolate * pIsolate)

Definition at line 60 of file fxv8.cpp.

◆ NewNumberHelper() [1/3]

v8::Local< v8::Number > fxv8::NewNumberHelper ( v8::Isolate * pIsolate,
double number )

Definition at line 72 of file fxv8.cpp.

◆ NewNumberHelper() [2/3]

v8::Local< v8::Number > fxv8::NewNumberHelper ( v8::Isolate * pIsolate,
float number )

Definition at line 76 of file fxv8.cpp.

◆ NewNumberHelper() [3/3]

v8::Local< v8::Number > fxv8::NewNumberHelper ( v8::Isolate * pIsolate,
int number )

Definition at line 68 of file fxv8.cpp.

◆ NewObjectHelper()

v8::Local< v8::Object > fxv8::NewObjectHelper ( v8::Isolate * pIsolate)

Definition at line 112 of file fxv8.cpp.

◆ NewStringHelper() [1/2]

v8::Local< v8::String > fxv8::NewStringHelper ( v8::Isolate * pIsolate,
ByteStringView str )

Definition at line 84 of file fxv8.cpp.

◆ NewStringHelper() [2/2]

v8::Local< v8::String > fxv8::NewStringHelper ( v8::Isolate * pIsolate,
WideStringView str )

Definition at line 92 of file fxv8.cpp.

◆ NewUndefinedHelper()

v8::Local< v8::Value > fxv8::NewUndefinedHelper ( v8::Isolate * pIsolate)

Definition at line 64 of file fxv8.cpp.

◆ ReentrantDeleteObjectPropertyHelper()

void fxv8::ReentrantDeleteObjectPropertyHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Object > pObj,
ByteStringView bsUTF8PropertyName )

Definition at line 286 of file fxv8.cpp.

◆ ReentrantGetArrayElementHelper()

v8::Local< v8::Value > fxv8::ReentrantGetArrayElementHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Array > pArray,
size_t index )

Definition at line 309 of file fxv8.cpp.

◆ ReentrantGetObjectPropertyHelper()

v8::Local< v8::Value > fxv8::ReentrantGetObjectPropertyHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Object > pObj,
ByteStringView bsUTF8PropertyName )

Definition at line 210 of file fxv8.cpp.

◆ ReentrantGetObjectPropertyNamesHelper()

std::vector< WideString > fxv8::ReentrantGetObjectPropertyNamesHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Object > pObj )

Definition at line 227 of file fxv8.cpp.

◆ ReentrantHasObjectOwnPropertyHelper()

bool fxv8::ReentrantHasObjectOwnPropertyHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Object > pObj,
ByteStringView bsUTF8PropertyName )

Definition at line 247 of file fxv8.cpp.

◆ ReentrantPutArrayElementHelper()

bool fxv8::ReentrantPutArrayElementHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Array > pArray,
size_t index,
v8::Local< v8::Value > pValue )

Definition at line 295 of file fxv8.cpp.

◆ ReentrantPutObjectPropertyHelper()

bool fxv8::ReentrantPutObjectPropertyHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Object > pObj,
ByteStringView bsUTF8PropertyName,
v8::Local< v8::Value > pPut )

Definition at line 273 of file fxv8.cpp.

◆ ReentrantSetObjectOwnPropertyHelper()

bool fxv8::ReentrantSetObjectOwnPropertyHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Object > pObj,
ByteStringView bsUTF8PropertyName,
v8::Local< v8::Value > pValue )

Definition at line 260 of file fxv8.cpp.

◆ ReentrantToArrayHelper()

v8::Local< v8::Array > fxv8::ReentrantToArrayHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Value > pValue )

Definition at line 200 of file fxv8.cpp.

◆ ReentrantToBooleanHelper()

bool fxv8::ReentrantToBooleanHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Value > pValue )

Definition at line 141 of file fxv8.cpp.

◆ ReentrantToByteStringHelper()

ByteString fxv8::ReentrantToByteStringHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Value > pValue )

Definition at line 176 of file fxv8.cpp.

◆ ReentrantToDoubleHelper()

double fxv8::ReentrantToDoubleHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Value > pValue )

Definition at line 154 of file fxv8.cpp.

◆ ReentrantToFloatHelper()

float fxv8::ReentrantToFloatHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Value > pValue )

Definition at line 149 of file fxv8.cpp.

◆ ReentrantToInt32Helper()

int fxv8::ReentrantToInt32Helper ( v8::Isolate * pIsolate,
v8::Local< v8::Value > pValue )

Definition at line 134 of file fxv8.cpp.

◆ ReentrantToObjectHelper()

v8::Local< v8::Object > fxv8::ReentrantToObjectHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Value > pValue )

Definition at line 190 of file fxv8.cpp.

◆ ReentrantToWideStringHelper()

WideString fxv8::ReentrantToWideStringHelper ( v8::Isolate * pIsolate,
v8::Local< v8::Value > pValue )

Definition at line 162 of file fxv8.cpp.

◆ ThrowExceptionHelper() [1/2]

void fxv8::ThrowExceptionHelper ( v8::Isolate * pIsolate,
ByteStringView str )

Definition at line 332 of file fxv8.cpp.

◆ ThrowExceptionHelper() [2/2]

void fxv8::ThrowExceptionHelper ( v8::Isolate * pIsolate,
WideStringView str )

Definition at line 336 of file fxv8.cpp.

Referenced by CFXJS_ObjDefinition::CallHandler().

Here is the caller graph for this function:

◆ ToByteString()

ByteString fxv8::ToByteString ( v8::Isolate * pIsolate,
v8::Local< v8::String > pValue )

Definition at line 128 of file fxv8.cpp.

◆ ToWideString()

WideString fxv8::ToWideString ( v8::Isolate * pIsolate,
v8::Local< v8::String > pValue )

Definition at line 122 of file fxv8.cpp.