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
qv4vme_moth_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant
4
5#ifndef QV4VME_MOTH_P_H
6#define QV4VME_MOTH_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <private/qv4global_p.h>
20#include <private/qv4staticvalue_p.h>
21
23
24namespace QV4 {
25namespace Moth {
26
27class VME
28{
29public:
30 struct ExecData {
31 QV4::Function *function;
32 const QV4::ExecutionContext *scope;
33 };
34
35 static void exec(MetaTypesStackFrame *frame, ExecutionEngine *engine);
36 static QV4::ReturnedValue exec(JSTypesStackFrame *frame, ExecutionEngine *engine);
37 static QV4::ReturnedValue interpret(JSTypesStackFrame *frame, ExecutionEngine *engine, const char *codeEntry);
38};
39
40} // namespace Moth
41} // namespace QV4
42
43QT_END_NAMESPACE
44
45#endif // QV4VME_MOTH_P_H
static QV4::ReturnedValue exec(JSTypesStackFrame *frame, ExecutionEngine *engine)
static QV4::ReturnedValue interpret(JSTypesStackFrame *frame, ExecutionEngine *engine, const char *codeEntry)
static void exec(MetaTypesStackFrame *frame, ExecutionEngine *engine)
DECLARE_HEAP_OBJECT(StrictArgumentsObject, Object)
Definition qjsvalue.h:23
#define CHECK_STACK_LIMITS(v4)
DEFINE_OBJECT_VTABLE(MemberGeneratorFunction)
DEFINE_OBJECT_VTABLE(GeneratorObject)
DEFINE_OBJECT_VTABLE(GeneratorFunctionCtor)
DEFINE_OBJECT_VTABLE(GeneratorFunction)
#define Q_MANAGED_TYPE(type)
#define V4_INTERNALCLASS(c)
static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc)
static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc)
static Heap::FunctionObject * create(ExecutionContext *scope, Function *function)
static ReturnedValue method_next(const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
static ReturnedValue method_return(const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
void init(ExecutionEngine *engine, Object *ctor)
static ReturnedValue method_throw(const FunctionObject *, const Value *thisObject, const Value *argv, int argc)
void init(QV4::ExecutionContext *scope, Function *function, QV4::String *name=nullptr)
void init(ExecutionEngine *engine)
void init(QV4::ExecutionContext *scope, Function *function, QV4::String *name=nullptr)
static Heap::FunctionObject * create(ExecutionContext *scope, Function *function, Object *homeObject, String *name)
static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc)
const QV4::ExecutionContext * scope
QV4::Function * function