| 1 | /**************************************************************************** |
| 2 | ** |
| 3 | ** Copyright (C) 2015 The Qt Company Ltd. |
| 4 | ** Contact: http://www.qt.io/licensing/ |
| 5 | ** |
| 6 | ** This file is part of the QtScript module of the Qt Toolkit. |
| 7 | ** |
| 8 | ** $QT_BEGIN_LICENSE:LGPL$ |
| 9 | ** Commercial License Usage |
| 10 | ** Licensees holding valid commercial Qt licenses may use this file in |
| 11 | ** accordance with the commercial license agreement provided with the |
| 12 | ** Software or, alternatively, in accordance with the terms contained in |
| 13 | ** a written agreement between you and The Qt Company. For licensing terms |
| 14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 | ** information use the contact form at https://www.qt.io/contact-us. |
| 16 | ** |
| 17 | ** GNU Lesser General Public License Usage |
| 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
| 19 | ** General Public License version 3 as published by the Free Software |
| 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
| 21 | ** packaging of this file. Please review the following information to |
| 22 | ** ensure the GNU Lesser General Public License version 3 requirements |
| 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
| 24 | ** |
| 25 | ** GNU General Public License Usage |
| 26 | ** Alternatively, this file may be used under the terms of the GNU |
| 27 | ** General Public License version 2.0 or (at your option) the GNU General |
| 28 | ** Public license version 3 or any later version approved by the KDE Free |
| 29 | ** Qt Foundation. The licenses are as published by the Free Software |
| 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
| 31 | ** included in the packaging of this file. Please review the following |
| 32 | ** information to ensure the GNU General Public License requirements will |
| 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
| 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
| 35 | ** |
| 36 | ** $QT_END_LICENSE$ |
| 37 | ** |
| 38 | ****************************************************************************/ |
| 39 | |
| 40 | #ifndef QSCRIPTCONTEXT_H |
| 41 | #define QSCRIPTCONTEXT_Hcxx . . $ `src/script/api/qscriptcontext.h:41:9`! |
| 42 | |
| 43 | #include <QtCore/qobjectdefs.h> |
| 44 | |
| 45 | #include <QtScript/qscriptvalue.h>cxx . . $ `<file>/include/QtScript/qscriptvalue.h`/ |
| 46 | |
| 47 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`! |
| 48 | |
| 49 | |
| 50 | class QScriptContextPrivatecxx . . $ QScriptContextPrivate#; |
| 51 | |
| 52 | class Q_SCRIPT_EXPORTcxx . . $ `src/script/api/qtscriptglobal.h:49:13`! QScriptContextcxx . . $ QScriptContext# |
| 53 | { |
| 54 | public: |
| 55 | enum ExecutionStatecxx . . $ QScriptContext#ExecutionState# { |
| 56 | NormalStatecxx . . $ QScriptContext#NormalState., |
| 57 | ExceptionStatecxx . . $ QScriptContext#ExceptionState. |
| 58 | }; |
| 59 | |
| 60 | enum Errorcxx . . $ QScriptContext#Error# { |
| 61 | UnknownErrorcxx . . $ QScriptContext#UnknownError., |
| 62 | ReferenceErrorcxx . . $ QScriptContext#ReferenceError., |
| 63 | SyntaxErrorcxx . . $ QScriptContext#SyntaxError., |
| 64 | TypeErrorcxx . . $ QScriptContext#TypeError., |
| 65 | RangeErrorcxx . . $ QScriptContext#RangeError., |
| 66 | URIErrorcxx . . $ QScriptContext#URIError. |
| 67 | }; |
| 68 | |
| 69 | ~cxx . . $ QScriptContext#`~QScriptContext`(49f6e7a06ebc5aa8).QScriptContextcxx . . $ QScriptContext#(); |
| 70 | |
| 71 | QScriptContextcxx . . $ QScriptContext# *parentContextcxx . . $ QScriptContext#parentContext(3b7b8e48bf7da82e).() const; |
| 72 | QScriptEnginecxx . . $ QScriptEngine# *enginecxx . . $ QScriptContext#engine(18bf45d2c163ce9b).() const; |
| 73 | |
| 74 | ExecutionStatecxx . . $ QScriptContext#ExecutionState# statecxx . . $ QScriptContext#state(d85ffd99b7d34284).() const; |
| 75 | QScriptValuecxx . . $ QScriptValue# calleecxx . . $ QScriptContext#callee(73013aefd0020d47).() const; |
| 76 | |
| 77 | int argumentCountcxx . . $ QScriptContext#argumentCount(455f465bc33b4cdf).() const; |
| 78 | QScriptValuecxx . . $ QScriptValue# argumentcxx . . $ QScriptContext#argument(437c608299e89444).(int index) const; |
| 79 | QScriptValuecxx . . $ QScriptValue# argumentsObjectcxx . . $ QScriptContext#argumentsObject(73013aefd0020d47).() const; |
| 80 | |
| 81 | QScriptValueListcxx . . $ QScriptValueList# scopeChaincxx . . $ QScriptContext#scopeChain(ca7380bea0cabe02).() const; |
| 82 | void pushScopecxx . . $ QScriptContext#pushScope(6b35c8bde2804237).(const QScriptValuecxx . . $ QScriptValue# &object); |
| 83 | QScriptValuecxx . . $ QScriptValue# popScopecxx . . $ QScriptContext#popScope(68040aa6d67732df).(); |
| 84 | |
| 85 | QScriptValuecxx . . $ QScriptValue# returnValuecxx . . $ QScriptContext#returnValue(73013aefd0020d47).() const; |
| 86 | void setReturnValuecxx . . $ QScriptContext#setReturnValue(6b35c8bde2804237).(const QScriptValuecxx . . $ QScriptValue# &result); |
| 87 | |
| 88 | QScriptValuecxx . . $ QScriptValue# activationObjectcxx . . $ QScriptContext#activationObject(73013aefd0020d47).() const; |
| 89 | void setActivationObjectcxx . . $ QScriptContext#setActivationObject(6b35c8bde2804237).(const QScriptValuecxx . . $ QScriptValue# &activation); |
| 90 | |
| 91 | QScriptValuecxx . . $ QScriptValue# thisObjectcxx . . $ QScriptContext#thisObject(73013aefd0020d47).() const; |
| 92 | void setThisObjectcxx . . $ QScriptContext#setThisObject(6b35c8bde2804237).(const QScriptValuecxx . . $ QScriptValue# &thisObject); |
| 93 | |
| 94 | bool isCalledAsConstructorcxx . . $ QScriptContext#isCalledAsConstructor(50ce9a9e25b4a850).() const; |
| 95 | |
| 96 | QScriptValuecxx . . $ QScriptValue# throwValuecxx . . $ QScriptContext#throwValue(2919df72fd7d3c9d).(const QScriptValuecxx . . $ QScriptValue# &value); |
| 97 | QScriptValuecxx . . $ QScriptValue# throwErrorcxx . . $ QScriptContext#throwError(ed3deecfe430379).(Errorcxx . . $ QScriptContext#Error# error, const QStringcxx . . $ QString# &text); |
| 98 | QScriptValuecxx . . $ QScriptValue# throwErrorcxx . . $ QScriptContext#throwError(df477f971a39d688).(const QStringcxx . . $ QString# &text); |
| 99 | |
| 100 | QStringListcxx . . $ QStringList# backtracecxx . . $ QScriptContext#backtrace(e1dbd5c4feadc8f5).() const; |
| 101 | |
| 102 | QStringcxx . . $ QString# toStringcxx . . $ QScriptContext#toString(6ef7b6c27b00b43d).() const; |
| 103 | |
| 104 | private: |
| 105 | QScriptContextcxx . . $ QScriptContext#QScriptContext(49f6e7a06ebc5aa8).(); |
| 106 | |
| 107 | QScriptContextPrivatecxx . . $ QScriptContextPrivate# *d_ptrcxx . . $ QScriptContext#d_ptr.; |
| 108 | |
| 109 | Q_DECLARE_PRIVATEcxx . . $ QScriptContext#d_func(5910248ca180dc57).(QScriptContext) |
| 110 | Q_DISABLE_COPYcxx . . $ QScriptContext#(QScriptContext) |
| 111 | }; |
| 112 | |
| 113 | QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`! |
| 114 | |
| 115 | #endif |