Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSNotAnObject.cpp

raw symbols SCIP
1 /*
2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
14 * its contributors may be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29
30 #include "config.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/config.h`/
31 #include "JSNotAnObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSNotAnObject.h`/
32
33 #include <wtf/UnusedParam.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h`/
34
35 namespace JSCcxx . . $ `<built-in>:463:9`! {
36
37 ASSERT_CLASS_FITS_IN_CELLcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:42:9`!(JSNotAnObject);
38
39 // JSValue methods
40 JSValuecxx . . $ QTJSC/JSValue# JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::toPrimitivecxx . . $ QTJSC/JSNotAnObject#toPrimitive(9c1c7f5535dadf1e).(ExecStatecxx . . $ QTJSC/ExecState#* exec, PreferredPrimitiveTypecxx . . $ QTJSC/PreferredPrimitiveType#) const
41 {
42 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
43 return m_exceptioncxx . . $ QTJSC/JSNotAnObject#m_exception.;
44 }
45
46 bool JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::getPrimitiveNumbercxx . . $ QTJSC/JSNotAnObject#getPrimitiveNumber(5ae801b0dd2b44e9).(ExecStatecxx . . $ QTJSC/ExecState#* exec, double&, JSValuecxx . . $ QTJSC/JSValue#&)
47 {
48 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
49 return false;
50 }
51
52 bool JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::toBooleancxx . . $ QTJSC/JSNotAnObject#toBoolean(9608304f86fd7dc).(ExecStatecxx . . $ QTJSC/ExecState#* exec) const
53 {
54 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
55 return false;
56 }
57
58 double JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::toNumbercxx . . $ QTJSC/JSNotAnObject#toNumber(1fd034e372fd1279).(ExecStatecxx . . $ QTJSC/ExecState#* exec) const
59 {
60 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
61 return NaNcxx . . $ QTJSC/NaN.;
62 }
63
64 UStringcxx . . $ QTJSC/UString# JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::toStringcxx . . $ QTJSC/JSNotAnObject#toString(9c94f5abb1995042).(ExecStatecxx . . $ QTJSC/ExecState#* exec) const
65 {
66 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
67 returncxx . . $ QTJSC/UString#UString(e6bad6cb9b63b14d). ""cxx . . $ QTJSC/UString#UString(85c52e162fed56f9).;
68 }
69
70 JSObjectcxx . . $ QTJSC/JSObject#* JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::toObjectcxx . . $ QTJSC/JSNotAnObject#toObject(8709ed4849a165ab).(ExecStatecxx . . $ QTJSC/ExecState#* exec) const
71 {
72 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
73 return m_exceptioncxx . . $ QTJSC/JSNotAnObject#m_exception.;
74 }
75
76 // Marking
77 void JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::markChildrencxx . . $ QTJSC/JSNotAnObject#markChildren(bd9cae851d80a865).(MarkStackcxx . . $ QTJSC/MarkStack#& markStack)
78 {
79 JSObjectcxx . . $ QTJSC/JSObject#::markChildrencxx . . $ QTJSC/JSObject#markChildren(bd9cae851d80a865).(markStack);
80 markStack.appendcxx . . $ QTJSC/MarkStack#append(c6d88d3bdacccd64).(m_exceptioncxx . . $ QTJSC/JSNotAnObject#m_exception.);
81 }
82
83 // JSObject methods
84 bool JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::getOwnPropertySlotcxx . . $ QTJSC/JSNotAnObject#getOwnPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#&, PropertySlotcxx . . $ QTJSC/PropertySlot#&)
85 {
86 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
87 return false;
88 }
89
90 bool JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::getOwnPropertySlotcxx . . $ QTJSC/JSNotAnObject#getOwnPropertySlot(d57d1c8d4b24d235).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned, PropertySlotcxx . . $ QTJSC/PropertySlot#&)
91 {
92 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
93 return false;
94 }
95
96 bool JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::getOwnPropertyDescriptorcxx . . $ QTJSC/JSNotAnObject#getOwnPropertyDescriptor(dce4ef7012294c32).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#&, PropertyDescriptorcxx . . $ QTJSC/PropertyDescriptor#&)
97 {
98 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
99 return false;
100 }
101
102 void JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::putcxx . . $ QTJSC/JSNotAnObject#put(dfb3133dafbe9ff4).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& , JSValuecxx . . $ QTJSC/JSValue#, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#&)
103 {
104 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
105 }
106
107 void JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::putcxx . . $ QTJSC/JSNotAnObject#put(b1b60585cf3bb95).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned, JSValuecxx . . $ QTJSC/JSValue#)
108 {
109 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
110 }
111
112 bool JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::deletePropertycxx . . $ QTJSC/JSNotAnObject#deleteProperty(13154ef9bddc9416).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#&)
113 {
114 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
115 return false;
116 }
117
118 bool JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::deletePropertycxx . . $ QTJSC/JSNotAnObject#deleteProperty(2f8cbeb04562a47b).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned)
119 {
120 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
121 return false;
122 }
123
124 void JSNotAnObjectcxx . . $ QTJSC/JSNotAnObject#::getOwnPropertyNamescxx . . $ QTJSC/JSNotAnObject#getOwnPropertyNames(2f9e3f18de200b4e).(ExecStatecxx . . $ QTJSC/ExecState#* exec, PropertyNameArraycxx . . $ QTJSC/PropertyNameArray#&, EnumerationModecxx . . $ QTJSC/EnumerationMode#)
125 {
126 ASSERT_UNUSEDcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:186:9`!(exec, exec->hadException() && exec->exception() == m_exception);
127 }
128
129 } // namespace JSC