Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QV4::GlobalFunctions Struct Reference

#include <qv4globalobject_p.h>

+ Collaboration diagram for QV4::GlobalFunctions:

Static Public Member Functions

static ReturnedValue method_parseInt (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 
static ReturnedValue method_parseFloat (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 
static ReturnedValue method_isNaN (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 isNaN [15.1.2.4]
 
static ReturnedValue method_isFinite (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 isFinite [15.1.2.5]
 
static ReturnedValue method_decodeURI (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 decodeURI [15.1.3.1]
 
static ReturnedValue method_decodeURIComponent (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 decodeURIComponent [15.1.3.2]
 
static ReturnedValue method_encodeURI (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 encodeURI [15.1.3.3]
 
static ReturnedValue method_encodeURIComponent (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 encodeURIComponent [15.1.3.4]
 
static ReturnedValue method_escape (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 
static ReturnedValue method_unescape (const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
 

Detailed Description

Definition at line 41 of file qv4globalobject_p.h.

Member Function Documentation

◆ method_decodeURI()

ReturnedValue GlobalFunctions::method_decodeURI ( const FunctionObject * b,
const Value * thisObject,
const Value * argv,
int argc )
static

decodeURI [15.1.3.1]

Definition at line 508 of file qv4globalobject.cpp.

References decode, DecodeNonReserved, QV4::Scope::engine, QV4::ExecutionEngine::newString(), ok, out, QStringLiteral, RETURN_RESULT, RETURN_UNDEFINED, QV4::ExecutionEngine::throwURIError(), and QV4::Value::toQString().

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ method_decodeURIComponent()

ReturnedValue GlobalFunctions::method_decodeURIComponent ( const FunctionObject * b,
const Value * thisObject,
const Value * argv,
int argc )
static

decodeURIComponent [15.1.3.2]

Definition at line 527 of file qv4globalobject.cpp.

References decode, DecodeAll, QV4::Scope::engine, QV4::ExecutionEngine::newString(), ok, out, QStringLiteral, RETURN_RESULT, RETURN_UNDEFINED, QV4::ExecutionEngine::throwURIError(), and QV4::Value::toQString().

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ method_encodeURI()

ReturnedValue GlobalFunctions::method_encodeURI ( const FunctionObject * b,
const Value * thisObject,
const Value * argv,
int argc )
static

encodeURI [15.1.3.3]

Definition at line 546 of file qv4globalobject.cpp.

References encode, QV4::Scope::engine, QV4::ExecutionEngine::newString(), ok, out, QStringLiteral, RETURN_RESULT, RETURN_UNDEFINED, QV4::ExecutionEngine::throwURIError(), QV4::Value::toQString(), and uriUnescapedReserved.

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ method_encodeURIComponent()

ReturnedValue GlobalFunctions::method_encodeURIComponent ( const FunctionObject * b,
const Value * thisObject,
const Value * argv,
int argc )
static

encodeURIComponent [15.1.3.4]

Definition at line 565 of file qv4globalobject.cpp.

References encode, QV4::Scope::engine, QV4::ExecutionEngine::newString(), ok, out, QStringLiteral, RETURN_RESULT, RETURN_UNDEFINED, QV4::ExecutionEngine::throwURIError(), QV4::Value::toQString(), and uriUnescaped.

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ method_escape()

ReturnedValue GlobalFunctions::method_escape ( const FunctionObject * b,
const Value * thisObject,
const Value * argv,
int argc )
static

Definition at line 583 of file qv4globalobject.cpp.

References escape(), QV4::ExecutionEngine::newString(), QStringLiteral, RETURN_RESULT, str, and QV4::Value::toQString().

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ method_isFinite()

ReturnedValue GlobalFunctions::method_isFinite ( const FunctionObject * ,
const Value * thisObject,
const Value * argv,
int argc )
static

isFinite [15.1.2.5]

Definition at line 494 of file qv4globalobject.cpp.

References d, RETURN_RESULT, and QV4::Value::toNumber().

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ method_isNaN()

ReturnedValue GlobalFunctions::method_isNaN ( const FunctionObject * ,
const Value * thisObject,
const Value * argv,
int argc )
static

isNaN [15.1.2.4]

Definition at line 480 of file qv4globalobject.cpp.

References d, RETURN_RESULT, and QV4::Value::toNumber().

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ method_parseFloat()

ReturnedValue GlobalFunctions::method_parseFloat ( const FunctionObject * b,
const Value * thisObject,
const Value * argv,
int argc )
static

Definition at line 453 of file qv4globalobject.cpp.

References ba, begin(), CHECK_EXCEPTION, QByteArray::constData(), d, ok, Q_INFINITY, qstrtod(), RETURN_RESULT, and QV4::Value::undefinedValue().

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ method_parseInt()

ReturnedValue GlobalFunctions::method_parseInt ( const FunctionObject * b,
const Value * thisObject,
const Value * argv,
int argc )
static

Definition at line 372 of file qv4globalobject.cpp.

References CHECK_EXCEPTION, d, pos, R, RETURN_RESULT, sign(), toInt(), and QV4::Value::undefinedValue().

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ method_unescape()

ReturnedValue GlobalFunctions::method_unescape ( const FunctionObject * b,
const Value * thisObject,
const Value * argv,
int argc )
static

Definition at line 593 of file qv4globalobject.cpp.

References QV4::ExecutionEngine::newString(), QStringLiteral, RETURN_RESULT, str, QV4::Value::toQString(), and unescape().

Referenced by QV4::ExecutionEngine::ExecutionEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this struct was generated from the following files: