diff options
Diffstat (limited to 'src/script/api/qscriptengine_p.h')
-rw-r--r-- | src/script/api/qscriptengine_p.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/script/api/qscriptengine_p.h b/src/script/api/qscriptengine_p.h index bc6acfa..ced49bb 100644 --- a/src/script/api/qscriptengine_p.h +++ b/src/script/api/qscriptengine_p.h @@ -234,6 +234,24 @@ public: #endif }; +namespace QScript +{ +/*! \internal + Helper class to create QScriptActivationObject. + To be used on the stack +*/ +class QScriptPushScopeHelper +{ + public: + QScriptPushScopeHelper(JSC::CallFrame *newFrame, bool calledAsConstructor = false); + ~QScriptPushScopeHelper(); + private: + QScriptEnginePrivate *engine; + JSC::CallFrame *previousFrame; +}; +} // namespace QScript + + QT_END_NAMESPACE #endif // QT_NO_SCRIPT |