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 323 of file fxv8.cpp.

◆ IsArray()

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

Definition at line 47 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 27 of file fxv8.cpp.

◆ IsDate()

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

Definition at line 51 of file fxv8.cpp.

◆ IsFunction()

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

Definition at line 55 of file fxv8.cpp.

◆ IsInteger()

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

Definition at line 39 of file fxv8.cpp.

◆ IsNull()

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

Definition at line 23 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 35 of file fxv8.cpp.

◆ IsObject()

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

Definition at line 43 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 31 of file fxv8.cpp.

◆ IsUndefined()

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

Definition at line 19 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 96 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 100 of file fxv8.cpp.

◆ NewBooleanHelper()

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

Definition at line 79 of file fxv8.cpp.

◆ NewDateHelper()

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

Definition at line 115 of file fxv8.cpp.

◆ NewNullHelper()

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

Definition at line 59 of file fxv8.cpp.

◆ NewNumberHelper() [1/3]

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

Definition at line 71 of file fxv8.cpp.

◆ NewNumberHelper() [2/3]

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

Definition at line 75 of file fxv8.cpp.

◆ NewNumberHelper() [3/3]

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

Definition at line 67 of file fxv8.cpp.

◆ NewObjectHelper()

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

Definition at line 111 of file fxv8.cpp.

◆ NewStringHelper() [1/2]

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

Definition at line 83 of file fxv8.cpp.

◆ NewStringHelper() [2/2]

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

Definition at line 91 of file fxv8.cpp.

◆ NewUndefinedHelper()

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

Definition at line 63 of file fxv8.cpp.

◆ ReentrantDeleteObjectPropertyHelper()

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

Definition at line 283 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 306 of file fxv8.cpp.

◆ ReentrantGetObjectPropertyHelper()

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

Definition at line 207 of file fxv8.cpp.

◆ ReentrantGetObjectPropertyNamesHelper()

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

Definition at line 224 of file fxv8.cpp.

◆ ReentrantHasObjectOwnPropertyHelper()

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

Definition at line 244 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 292 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 270 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 257 of file fxv8.cpp.

◆ ReentrantToArrayHelper()

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

Definition at line 197 of file fxv8.cpp.

◆ ReentrantToBooleanHelper()

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

Definition at line 138 of file fxv8.cpp.

◆ ReentrantToByteStringHelper()

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

Definition at line 173 of file fxv8.cpp.

◆ ReentrantToDoubleHelper()

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

Definition at line 151 of file fxv8.cpp.

◆ ReentrantToFloatHelper()

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

Definition at line 146 of file fxv8.cpp.

◆ ReentrantToInt32Helper()

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

Definition at line 131 of file fxv8.cpp.

◆ ReentrantToObjectHelper()

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

Definition at line 187 of file fxv8.cpp.

◆ ReentrantToWideStringHelper()

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

Definition at line 159 of file fxv8.cpp.

◆ ThrowExceptionHelper() [1/2]

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

Definition at line 329 of file fxv8.cpp.

◆ ThrowExceptionHelper() [2/2]

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

Definition at line 333 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 126 of file fxv8.cpp.

◆ ToWideString()

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

Definition at line 121 of file fxv8.cpp.