| 1 | /* |
| 2 | * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 | * |
| 4 | * This library is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU Lesser General Public |
| 6 | * License as published by the Free Software Foundation; either |
| 7 | * version 2 of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | * Lesser General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Lesser General Public |
| 15 | * License along with this library; if not, write to the Free Software |
| 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 | * |
| 18 | */ |
| 19 | |
| 20 | #ifndef RegExpMatchesArray_h |
| 21 | #define RegExpMatchesArray_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExpMatchesArray.h:21:9`! |
| 22 | |
| 23 | #include "JSArray.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h`/ |
| 24 | |
| 25 | namespace JSCcxx . . $ `<built-in>:463:9`! { |
| 26 | |
| 27 | class RegExpMatchesArraycxx . . $ QTJSC/RegExpMatchesArray# : public JSArraycxx . . $ QTJSC/JSArray# { |
| 28 | public: |
| 29 | RegExpMatchesArraycxx . . $ QTJSC/RegExpMatchesArray#RegExpMatchesArray(6f9118b0473d8ffc).(ExecStatecxx . . $ QTJSC/ExecState#*, RegExpConstructorPrivatecxx . . $ QTJSC/RegExpConstructorPrivate#*); |
| 30 | virtual ~cxx . . $ QTJSC/RegExpMatchesArray#`~RegExpMatchesArray`(49f6e7a06ebc5aa8).RegExpMatchesArraycxx . . $ QTJSC/RegExpMatchesArray#(); |
| 31 | |
| 32 | private: |
| 33 | virtual bool getOwnPropertySlotcxx . . $ QTJSC/RegExpMatchesArray#getOwnPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#& slot) |
| 34 | { |
| 35 | if (lazyCreationDatacxx . . $ QTJSC/JSArray#lazyCreationData(50c7df7de5344ebb).()) |
| 36 | fillArrayInstancecxx . . $ QTJSC/RegExpMatchesArray#fillArrayInstance(d2cb180e190a9680).(exec); |
| 37 | return JSArraycxx . . $ QTJSC/JSArray#::getOwnPropertySlotcxx . . $ QTJSC/RegExpMatchesArray#getOwnPropertySlot(6f4ef3dbfe7d5ab9).(exec, propertyName, slot); |
| 38 | } |
| 39 | |
| 40 | virtual bool getOwnPropertySlotcxx . . $ QTJSC/RegExpMatchesArray#getOwnPropertySlot(d57d1c8d4b24d235).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#& slot) |
| 41 | { |
| 42 | if (lazyCreationDatacxx . . $ QTJSC/JSArray#lazyCreationData(50c7df7de5344ebb).()) |
| 43 | fillArrayInstancecxx . . $ QTJSC/RegExpMatchesArray#fillArrayInstance(d2cb180e190a9680).(exec); |
| 44 | return JSArraycxx . . $ QTJSC/JSArray#::getOwnPropertySlotcxx . . $ QTJSC/RegExpMatchesArray#getOwnPropertySlot(6f4ef3dbfe7d5ab9).(exec, propertyName, slot); |
| 45 | } |
| 46 | |
| 47 | virtual bool getOwnPropertyDescriptorcxx . . $ QTJSC/RegExpMatchesArray#getOwnPropertyDescriptor(dce4ef7012294c32).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertyDescriptorcxx . . $ QTJSC/PropertyDescriptor#& descriptor) |
| 48 | { |
| 49 | if (lazyCreationDatacxx . . $ QTJSC/JSArray#lazyCreationData(50c7df7de5344ebb).()) |
| 50 | fillArrayInstancecxx . . $ QTJSC/RegExpMatchesArray#fillArrayInstance(d2cb180e190a9680).(exec); |
| 51 | return JSArraycxx . . $ QTJSC/JSArray#::getOwnPropertyDescriptorcxx . . $ QTJSC/JSArray#getOwnPropertyDescriptor(dce4ef7012294c32).(exec, propertyName, descriptor); |
| 52 | } |
| 53 | |
| 54 | virtual void putcxx . . $ QTJSC/RegExpMatchesArray#put(dfb3133dafbe9ff4).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue# v, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#& slot) |
| 55 | { |
| 56 | if (lazyCreationDatacxx . . $ QTJSC/JSArray#lazyCreationData(50c7df7de5344ebb).()) |
| 57 | fillArrayInstancecxx . . $ QTJSC/RegExpMatchesArray#fillArrayInstance(d2cb180e190a9680).(exec); |
| 58 | JSArraycxx . . $ QTJSC/JSArray#::putcxx . . $ QTJSC/RegExpMatchesArray#put(dfb3133dafbe9ff4).(exec, propertyName, v, slot); |
| 59 | } |
| 60 | |
| 61 | virtual void putcxx . . $ QTJSC/RegExpMatchesArray#put(b1b60585cf3bb95).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned propertyName, JSValuecxx . . $ QTJSC/JSValue# v) |
| 62 | { |
| 63 | if (lazyCreationDatacxx . . $ QTJSC/JSArray#lazyCreationData(50c7df7de5344ebb).()) |
| 64 | fillArrayInstancecxx . . $ QTJSC/RegExpMatchesArray#fillArrayInstance(d2cb180e190a9680).(exec); |
| 65 | JSArraycxx . . $ QTJSC/JSArray#::putcxx . . $ QTJSC/RegExpMatchesArray#put(dfb3133dafbe9ff4).(exec, propertyName, v); |
| 66 | } |
| 67 | |
| 68 | virtual bool deletePropertycxx . . $ QTJSC/RegExpMatchesArray#deleteProperty(13154ef9bddc9416).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const Identifiercxx . . $ QTJSC/Identifier#& propertyName) |
| 69 | { |
| 70 | if (lazyCreationDatacxx . . $ QTJSC/JSArray#lazyCreationData(50c7df7de5344ebb).()) |
| 71 | fillArrayInstancecxx . . $ QTJSC/RegExpMatchesArray#fillArrayInstance(d2cb180e190a9680).(exec); |
| 72 | return JSArraycxx . . $ QTJSC/JSArray#::deletePropertycxx . . $ QTJSC/RegExpMatchesArray#deleteProperty(13154ef9bddc9416).(exec, propertyName); |
| 73 | } |
| 74 | |
| 75 | virtual bool deletePropertycxx . . $ QTJSC/RegExpMatchesArray#deleteProperty(2f8cbeb04562a47b).(ExecStatecxx . . $ QTJSC/ExecState#* exec, unsigned propertyName) |
| 76 | { |
| 77 | if (lazyCreationDatacxx . . $ QTJSC/JSArray#lazyCreationData(50c7df7de5344ebb).()) |
| 78 | fillArrayInstancecxx . . $ QTJSC/RegExpMatchesArray#fillArrayInstance(d2cb180e190a9680).(exec); |
| 79 | return JSArraycxx . . $ QTJSC/JSArray#::deletePropertycxx . . $ QTJSC/RegExpMatchesArray#deleteProperty(13154ef9bddc9416).(exec, propertyName); |
| 80 | } |
| 81 | |
| 82 | virtual void getOwnPropertyNamescxx . . $ QTJSC/RegExpMatchesArray#getOwnPropertyNames(2f9e3f18de200b4e).(ExecStatecxx . . $ QTJSC/ExecState#* exec, PropertyNameArraycxx . . $ QTJSC/PropertyNameArray#& arr, EnumerationModecxx . . $ QTJSC/EnumerationMode# mode = ExcludeDontEnumPropertiescxx . . $ QTJSC/ExcludeDontEnumProperties.) |
| 83 | { |
| 84 | if (lazyCreationDatacxx . . $ QTJSC/JSArray#lazyCreationData(50c7df7de5344ebb).()) |
| 85 | fillArrayInstancecxx . . $ QTJSC/RegExpMatchesArray#fillArrayInstance(d2cb180e190a9680).(exec); |
| 86 | JSArraycxx . . $ QTJSC/JSArray#::getOwnPropertyNamescxx . . $ QTJSC/JSArray#getOwnPropertyNames(2f9e3f18de200b4e).(exec, arr, mode); |
| 87 | } |
| 88 | |
| 89 | void fillArrayInstancecxx . . $ QTJSC/RegExpMatchesArray#fillArrayInstance(d2cb180e190a9680).(ExecStatecxx . . $ QTJSC/ExecState#*); |
| 90 | }; |
| 91 | |
| 92 | } |
| 93 | |
| 94 | #endif // RegExpMatchesArray_h |