Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/runtime/Completion.h

raw symbols SCIP
1 /*
2 * Copyright (C) 1999-2001 Harri Porten ([email protected])
3 * Copyright (C) 2001 Peter Kelly ([email protected])
4 * Copyright (C) 2003, 2007 Apple Inc. All rights reserved.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 */
22
23 #ifndef Completion_h
24 #define Completion_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Completion.h:24:9`!
25
26 #include "JSValue.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h`/
27
28 namespace JSCcxx . . $ QTJSC/ {
29
30 class ExecStatecxx . . $ QTJSC/ExecState#;
31 class ScopeChaincxx . . $ QTJSC/ScopeChain#;
32 class SourceCodecxx . . $ QTJSC/SourceCode#;
33
34 enum ComplTypecxx . . $ QTJSC/ComplType# { Normalcxx . . $ QTJSC/Normal., Breakcxx . . $ QTJSC/Break., Continuecxx . . $ QTJSC/Continue., ReturnValuecxx . . $ QTJSC/ReturnValue., Throwcxx . . $ QTJSC/Throw., Interruptedcxx . . $ QTJSC/Interrupted. };
35
36 /*
37 * Completion objects are used to convey the return status and value
38 * from functions.
39 */
40 class Completioncxx . . $ QTJSC/Completion# {
41 public:
42 Completioncxx . . $ QTJSC/Completion#Completion(7c7290f0f5fd1f62).(ComplTypecxx . . $ QTJSC/ComplType# type = Normalcxx . . $ QTJSC/Normal., JSValuecxx . . $ QTJSC/JSValue# value = JSValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).())
43 : m_typecxx . . $ QTJSC/Completion#m_type.(type)
44 , m_valuecxx . . $ QTJSC/Completion#m_value.(value)
45 {
46 }
47
48 ComplTypecxx . . $ QTJSC/ComplType# complTypecxx . . $ QTJSC/Completion#complType(3af9e8cf6780c59).() const { return m_typecxx . . $ QTJSC/Completion#m_type.; }
49 JSValuecxx . . $ QTJSC/JSValue# valuecxx . . $ QTJSC/Completion#value(888c053acf364da1).() const { return m_valuecxx . . $ QTJSC/Completion#m_value.; }
50 void setValuecxx . . $ QTJSC/Completion#setValue(5c2ac18db087b3e6).(JSValuecxx . . $ QTJSC/JSValue# v) { m_valuecxx . . $ QTJSC/Completion#m_value. =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). v; }
51 bool isValueCompletioncxx . . $ QTJSC/Completion#isValueCompletion(50ce9a9e25b4a850).() const { return m_valuecxx . . $ QTJSC/Completion#m_value.; }
52
53 private:
54 ComplTypecxx . . $ QTJSC/ComplType# m_typecxx . . $ QTJSC/Completion#m_type.;
55 JSValuecxx . . $ QTJSC/JSValue# m_valuecxx . . $ QTJSC/Completion#m_value.;
56 };
57
58 Completioncxx . . $ QTJSC/Completion# checkSyntaxcxx . . $ QTJSC/checkSyntax(f2f2cfe398780fc).(ExecStatecxx . . $ QTJSC/ExecState#*, const SourceCodecxx . . $ QTJSC/SourceCode#&);
59 Completioncxx . . $ QTJSC/Completion# evaluatecxx . . $ QTJSC/evaluate(20feb6f8316b5685).(ExecStatecxx . . $ QTJSC/ExecState#*, ScopeChaincxx . . $ QTJSC/ScopeChain#&, const SourceCodecxx . . $ QTJSC/SourceCode#&, JSValuecxx . . $ QTJSC/JSValue# thisValue = JSValuecxx . . $ QTJSC/JSValue#JSValue(49f6e7a06ebc5aa8).());
60
61 } // namespace JSC
62
63 #endif // Completion_h