Debian Codegraph @

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

raw symbols SCIP
1 /*
2 * Copyright (C) 1999-2000 Harri Porten ([email protected])
3 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Cameron Zwarich ([email protected])
5 * Copyright (C) 2007 Maks Orlovich
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 *
22 */
23
24 #ifndef InternalFunction_h
25 #define InternalFunction_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/InternalFunction.h:25:9`!
26
27 #include "JSObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h`/
28 #include "Identifier.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Identifier.h`/
29
30 namespace JSCcxx . . $ QTJSC/ {
31
32 class FunctionPrototypecxx . . $ QTJSC/FunctionPrototype#;
33
34 class InternalFunctioncxx . . $ QTJSC/InternalFunction# : public JSObjectcxx . . $ QTJSC/JSObject# {
35 public:
36 virtual const ClassInfocxx . . $ QTJSC/ClassInfo#* classInfocxx . . $ QTJSC/InternalFunction#classInfo(f90fb4cda7a7c2e2).() const;
37 static JS_EXPORTDATAcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/config.h:36:9`! const ClassInfocxx . . $ QTJSC/ClassInfo# infocxx . . $ QTJSC/InternalFunction#info.;
38
39 const UStringcxx . . $ QTJSC/UString#& namecxx . . $ QTJSC/InternalFunction#name(1c31f8efbb776821).(ExecStatecxx . . $ QTJSC/ExecState#*);
40 const UStringcxx . . $ QTJSC/UString# displayNamecxx . . $ QTJSC/InternalFunction#displayName(607b87b3e5df695).(ExecStatecxx . . $ QTJSC/ExecState#*);
41 const UStringcxx . . $ QTJSC/UString# calculatedDisplayNamecxx . . $ QTJSC/InternalFunction#calculatedDisplayName(607b87b3e5df695).(ExecStatecxx . . $ QTJSC/ExecState#*);
42
43 static PassRefPtrcxx . . $ PassRefPtr#<Structurecxx . . $ QTJSC/Structure#> createStructurecxx . . $ QTJSC/InternalFunction#createStructure(da75fbe5e97e240f).(JSValuecxx . . $ QTJSC/JSValue# proto)
44 {
45 return Structure::create(proto, TypeInfocxx . . $ QTJSC/TypeInfo#TypeInfo(85e540a0e5560fef).(ObjectTypecxx . . $ QTJSC/ObjectType., StructureFlagscxx . . $ QTJSC/InternalFunction#StructureFlags.));
46 }
47
48 protected:
49 static const unsigned StructureFlagscxx . . $ QTJSC/InternalFunction#StructureFlags. = ImplementsHasInstancecxx . . $ QTJSC/ImplementsHasInstance. | JSObjectcxx . . $ QTJSC/JSObject#::StructureFlagscxx . . $ QTJSC/JSObject#StructureFlags.;
50
51 InternalFunctioncxx . . $ QTJSC/InternalFunction#InternalFunction(9678d77265d996b).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#> structure) : JSObjectcxx . . $ QTJSC/JSObject#(structure) { }
52 InternalFunctioncxx . . $ QTJSC/InternalFunction#InternalFunction(9dfd739751a5f9a8).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#*, NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#>, const Identifiercxx . . $ QTJSC/Identifier#&);
53
54 private:
55 virtual CallTypecxx . . $ QTJSC/CallType# getCallDatacxx . . $ QTJSC/InternalFunction#getCallData(9482040cf952d29d).(CallDatacxx . . $ QTJSC/CallData#&) = 0;
56 };
57
58 InternalFunctioncxx . . $ QTJSC/InternalFunction#* asInternalFunctioncxx . . $ QTJSC/asInternalFunction(8b8993b96a7ef84c).(JSValuecxx . . $ QTJSC/JSValue#);
59
60 inline InternalFunctioncxx . . $ QTJSC/InternalFunction#* asInternalFunctioncxx . . $ QTJSC/asInternalFunction(8b8993b96a7ef84c).(JSValuecxx . . $ QTJSC/JSValue# value)
61 {
62 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(asObject(value)->inherits(&InternalFunction::info));
63 return static_cast<InternalFunction*>(asObject(value));
64 }
65
66 } // namespace JSC
67
68 #endif // InternalFunction_h