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
QV4::Scope Struct Reference

#include <qv4scopedvalue_p.h>

Collaboration diagram for QV4::Scope:

Public Member Functions

 Scope (ExecutionContext *ctx)
 Scope (ExecutionEngine *e)
 Scope (const Managed *m)
 ~Scope ()
QML_NEARLY_ALWAYS_INLINE Valueconstruct (int nValues, const ReturnedValue &initialValue) const
QML_NEARLY_ALWAYS_INLINE Valueconstruct (int nValues, const Value &initialValue) const
QML_NEARLY_ALWAYS_INLINE Valueconstruct (int nValues, Heap::Base *initialValue) const
QML_NEARLY_ALWAYS_INLINE PropertyKeyconstruct (int nValues, const PropertyKey &initialValue) const
QML_NEARLY_ALWAYS_INLINE ValueconstructUndefined (int nValues) const
bool hasException () const

Public Attributes

ExecutionEngineengine
Valuemark

Friends

template<typename Args>
CallDatacallDatafromJS (const Scope &scope, const Args *args, const FunctionObject *f)

Detailed Description

Definition at line 61 of file qv4scopedvalue_p.h.

Constructor & Destructor Documentation

◆ Scope() [1/3]

QV4::Scope::Scope ( ExecutionContext * ctx)
inlineexplicit

Definition at line 62 of file qv4scopedvalue_p.h.

References Scope().

Referenced by Scope().

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

◆ Scope() [2/3]

QV4::Scope::Scope ( ExecutionEngine * e)
inlineexplicit

Definition at line 68 of file qv4scopedvalue_p.h.

References Scope().

Referenced by Scope(), QV4::Heap::InternalClass::asProtoClass(), QV4::Heap::InternalClass::canned(), QV4::Heap::InternalClass::changeMember(), QV4::Heap::cleanInternalClass(), QV4::coerce(), QV4::coerceAndCall(), QV4::coerceListType(), QV4::convertAndCall(), QV4::ErrorObject::create(), QV4::ErrorObject::create(), QV4::ErrorObject::create(), QV4::Heap::InternalClass::cryopreserved(), QV4::Heap::InternalClass::frozen(), QV4::ErrorPrototype::init(), QV4::FunctionPrototype::init(), QV4::StringPrototype::init(), QV4::Heap::InternalClass::locked(), QV4::FunctionPrototype::method_apply(), QV4::StringPrototype::method_concat(), QV4::GlobalFunctions::method_decodeURI(), QV4::GlobalFunctions::method_decodeURIComponent(), QV4::GlobalFunctions::method_encodeURI(), QV4::GlobalFunctions::method_encodeURIComponent(), QV4Include::method_include(), QV4::StringPrototype::method_match(), QV4::StringPrototype::method_padEnd(), QV4::StringPrototype::method_padStart(), QV4::StringPrototype::method_slice(), QV4::StringPrototype::method_split(), QV4::ErrorPrototype::method_toString(), QV4::Heap::InternalClass::nonExtensible(), QV4::Heap::InternalClass::sealed(), QV4::BoundFunction::virtualCall(), QV4::ConstructorFunction::virtualCallAsConstructor(), QV4::DefaultClassConstructorFunction::virtualCallAsConstructor(), QV4::FunctionCtor::virtualCallAsConstructor(), QV4::ScriptFunction::virtualCallAsConstructor(), and QV4::StringCtor::virtualCallAsConstructor().

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

◆ Scope() [3/3]

QV4::Scope::Scope ( const Managed * m)
inlineexplicit

Definition at line 74 of file qv4scopedvalue_p.h.

References Scope().

Referenced by Scope().

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

◆ ~Scope()

QV4::Scope::~Scope ( )
inline

Definition at line 80 of file qv4scopedvalue_p.h.

Member Function Documentation

◆ construct() [1/4]

QML_NEARLY_ALWAYS_INLINE PropertyKey * QV4::Scope::construct ( int nValues,
const PropertyKey & initialValue ) const
inline

Definition at line 116 of file qv4scopedvalue_p.h.

◆ construct() [2/4]

QML_NEARLY_ALWAYS_INLINE Value * QV4::Scope::construct ( int nValues,
const ReturnedValue & initialValue ) const
inline

Definition at line 92 of file qv4scopedvalue_p.h.

◆ construct() [3/4]

QML_NEARLY_ALWAYS_INLINE Value * QV4::Scope::construct ( int nValues,
const Value & initialValue ) const
inline

Definition at line 100 of file qv4scopedvalue_p.h.

◆ construct() [4/4]

QML_NEARLY_ALWAYS_INLINE Value * QV4::Scope::construct ( int nValues,
Heap::Base * initialValue ) const
inline

Definition at line 108 of file qv4scopedvalue_p.h.

◆ constructUndefined()

QML_NEARLY_ALWAYS_INLINE Value * QV4::Scope::constructUndefined ( int nValues) const
inline

Definition at line 124 of file qv4scopedvalue_p.h.

◆ hasException()

bool QV4::Scope::hasException ( ) const
inline

Definition at line 129 of file qv4scopedvalue_p.h.

◆ callDatafromJS

template<typename Args>
CallData * callDatafromJS ( const Scope & scope,
const Args * args,
const FunctionObject * f )
friend

Definition at line 41 of file qv4jscall_p.h.

Member Data Documentation

◆ engine

ExecutionEngine* QV4::Scope::engine

Definition at line 133 of file qv4scopedvalue_p.h.

◆ mark

Value* QV4::Scope::mark

Definition at line 134 of file qv4scopedvalue_p.h.


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