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::MetaTypesStackFrame Struct Reference

#include <qv4stackframe_p.h>

+ Inheritance diagram for QV4::MetaTypesStackFrame:
+ Collaboration diagram for QV4::MetaTypesStackFrame:

Public Member Functions

void init (Function *v4Function, QObject *thisObject, ExecutionContext *context, void **returnAndArgs, const QMetaType *metaTypes, int argc)
 
QMetaType returnType () const
 
voidreturnValue () const
 
bool isReturnValueUndefined () const
 
void setReturnValueUndefined ()
 
const QMetaTypeargTypes () const
 
void ** argv () const
 
const QMetaTypereturnAndArgTypes () const
 
void ** returnAndArgValues () const
 
QObjectthisObject () const
 
ExecutionContextcontext () const
 
void setContext (ExecutionContext *context)
 
Heap::CallContext * callContext () const
 
void push (EngineBase *engine)
 
void pop (EngineBase *engine)
 
- Public Member Functions inherited from QV4::CppStackFrame
void init (Function *v4Function, int argc, Kind kind)
 
bool isJSTypesFrame () const
 
bool isMetaTypesFrame () const
 
QString source () const
 
QString function () const
 
int lineNumber () const
 
int statementNumber () const
 
int missingLineNumber () const
 
CppStackFrameparentFrame () const
 
void setParentFrame (CppStackFrame *parentFrame)
 
int argc () const
 
ExecutionContextcontext () const
 
Heap::CallContext * callContext () const
 
ReturnedValue thisObject () const
 

Additional Inherited Members

- Public Attributes inherited from QV4::CppStackFrame
int instructionPointer
 
Functionv4Function
 
- Protected Types inherited from QV4::CppStackFrameBase
enum class  Kind : quint8 { JS , Meta }
 
- Protected Member Functions inherited from QV4::CppStackFrame
 CppStackFrame ()=default
 
void push (EngineBase *engine)
 
void pop (EngineBase *engine)
 
Heap::CallContext * callContext (Heap::ExecutionContext *ctx) const
 
- Protected Attributes inherited from QV4::CppStackFrameBase
CppStackFrameparent
 
Functionv4Function
 
int originalArgumentsCount
 
int instructionPointer
 
union { 
 
   struct { 
 
      Value *   savedStackTop 
 
      CallData *   jsFrame 
 
      const Value *   originalArguments 
 
      const char *   yield 
 
      const char *   unwindHandler 
 
      const char *   unwindLabel 
 
      int   unwindLevel 
 
      bool   yieldIsIterator 
 
      bool   callerCanHandleTailCall 
 
      bool   pendingTailCall 
 
      bool   isTailCalling 
 
   }  
 
   struct { 
 
      ExecutionContext *   context 
 
      QObject *   thisObject 
 
      const QMetaType *   metaTypes 
 
      void **   returnAndArgs 
 
      bool   returnValueIsUndefined 
 
   }  
 
};  
 
QT_WARNING_POP Kind kind
 

Detailed Description

Definition at line 125 of file qv4stackframe_p.h.

Member Function Documentation

◆ argTypes()

const QMetaType * QV4::MetaTypesStackFrame::argTypes ( ) const
inline

Definition at line 147 of file qv4stackframe_p.h.

◆ argv()

void ** QV4::MetaTypesStackFrame::argv ( ) const
inline

Definition at line 148 of file qv4stackframe_p.h.

◆ callContext()

Heap::CallContext * QV4::MetaTypesStackFrame::callContext ( ) const
inline

Definition at line 158 of file qv4stackframe_p.h.

References d.

◆ context()

ExecutionContext * QV4::MetaTypesStackFrame::context ( ) const
inline

Definition at line 155 of file qv4stackframe_p.h.

◆ init()

void QV4::MetaTypesStackFrame::init ( Function * v4Function,
QObject * thisObject,
ExecutionContext * context,
void ** returnAndArgs,
const QMetaType * metaTypes,
int argc )
inline

Definition at line 130 of file qv4stackframe_p.h.

References context.

Referenced by QV4::ScopedStackFrame::ScopedStackFrame().

+ Here is the caller graph for this function:

◆ isReturnValueUndefined()

bool QV4::MetaTypesStackFrame::isReturnValueUndefined ( ) const
inline

Definition at line 144 of file qv4stackframe_p.h.

◆ pop()

void QV4::CppStackFrame::pop ( EngineBase * engine)
inline

Definition at line 112 of file qv4stackframe_p.h.

Referenced by QV4::ScopedStackFrame::~ScopedStackFrame().

+ Here is the caller graph for this function:

◆ push()

void QV4::CppStackFrame::push ( EngineBase * engine)
inline

Definition at line 105 of file qv4stackframe_p.h.

Referenced by QV4::ScopedStackFrame::ScopedStackFrame().

+ Here is the caller graph for this function:

◆ returnAndArgTypes()

const QMetaType * QV4::MetaTypesStackFrame::returnAndArgTypes ( ) const
inline

Definition at line 150 of file qv4stackframe_p.h.

◆ returnAndArgValues()

void ** QV4::MetaTypesStackFrame::returnAndArgValues ( ) const
inline

Definition at line 151 of file qv4stackframe_p.h.

◆ returnType()

QMetaType QV4::MetaTypesStackFrame::returnType ( ) const
inline

Definition at line 141 of file qv4stackframe_p.h.

◆ returnValue()

void * QV4::MetaTypesStackFrame::returnValue ( ) const
inline

Definition at line 142 of file qv4stackframe_p.h.

◆ setContext()

void QV4::MetaTypesStackFrame::setContext ( ExecutionContext * context)
inline

Definition at line 156 of file qv4stackframe_p.h.

References context.

◆ setReturnValueUndefined()

void QV4::MetaTypesStackFrame::setReturnValueUndefined ( )
inline

Definition at line 145 of file qv4stackframe_p.h.

◆ thisObject()

QObject * QV4::MetaTypesStackFrame::thisObject ( ) const
inline

Definition at line 153 of file qv4stackframe_p.h.


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