![]() |
Qt 6.x
The Qt SDK
|
#include <qv4calldata_p.h>
Public Types | |
enum | Offsets { Function = 0 , Context = 1 , Accumulator = 2 , This = 3 , NewTarget = 4 , Argc = 5 , LastOffset = Argc , OffsetCount = LastOffset + 1 } |
Public Member Functions | |
int | argc () const |
void | setArgc (int argc) |
ReturnedValue | argument (int i) const |
template<typename Value > | |
Value * | argValues () |
template<typename Value > | |
const Value * | argValues () const |
template<> | |
Value * | argValues () |
template<> | |
const Value * | argValues () const |
Static Public Member Functions | |
static constexpr int | HeaderSize () |
Public Attributes | |
StaticValue | function |
StaticValue | context |
StaticValue | accumulator |
StaticValue | thisObject |
StaticValue | newTarget |
StaticValue | _argc |
StaticValue | args [1] |
Definition at line 24 of file qv4calldata_p.h.
Enumerator | |
---|---|
Function | |
Context | |
Accumulator | |
This | |
NewTarget | |
Argc | |
LastOffset | |
OffsetCount |
Definition at line 26 of file qv4calldata_p.h.
|
inline |
Definition at line 45 of file qv4calldata_p.h.
References _argc, QV4::StaticValue::int_32(), QV4::StaticValue::isInteger(), and Q_ASSERT.
Referenced by argument(), QV4::CallPrecise(), QQmlJavaScriptExpression::evaluate(), QQmlV4Function::length(), QV4::numDefinedArguments(), QV4::ResolveOverloaded(), and setArgc().
|
inline |
Definition at line 55 of file qv4calldata_p.h.
References argc(), args, QV4::StaticValue::asReturnedValue(), i, and QV4::StaticValue::undefinedValue().
|
inline |
Definition at line 260 of file qv4value_p.h.
References args.
|
inline |
Definition at line 266 of file qv4value_p.h.
References args.
|
inlinestaticconstexpr |
Definition at line 62 of file qv4calldata_p.h.
References args.
Referenced by QV4::Moth::dumpRegister(), and stackValue().
|
inline |
Definition at line 50 of file qv4calldata_p.h.
References _argc, argc(), Q_ASSERT, and QV4::StaticValue::setInt_32().
StaticValue QV4::CallData::_argc |
Definition at line 43 of file qv4calldata_p.h.
StaticValue QV4::CallData::accumulator |
Definition at line 40 of file qv4calldata_p.h.
Referenced by QV4::Runtime::PushWithContext::call().
StaticValue QV4::CallData::args[1] |
Definition at line 60 of file qv4calldata_p.h.
Referenced by argument(), argValues(), argValues(), QV4::CallMethod(), HeaderSize(), QV4::numDefinedArguments(), QQmlV4Function::operator[](), and QV4::ResolveOverloaded().
StaticValue QV4::CallData::context |
Definition at line 39 of file qv4calldata_p.h.
Referenced by QV4::Runtime::PushWithContext::call().
StaticValue QV4::CallData::function |
Definition at line 38 of file qv4calldata_p.h.
Referenced by QV4::ExecutionContext::newBlockContext(), and QV4::JSTypesStackFrame::setupJSFrame().
StaticValue QV4::CallData::newTarget |
Definition at line 42 of file qv4calldata_p.h.
StaticValue QV4::CallData::thisObject |
Definition at line 41 of file qv4calldata_p.h.
Referenced by QQmlJavaScriptExpression::evaluate().