Debian Codegraph @

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

raw symbols SCIP
1 /*
2 * Copyright (C) 1999-2000 Harri Porten ([email protected])
3 * Copyright (C) 2003, 2007, 2008 Apple Inc. All Rights Reserved.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 *
19 */
20
21 #ifndef RegExpObject_h
22 #define RegExpObject_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExpObject.h:22:9`!
23
24 #include "JSObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h`/
25 #include "RegExp.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExp.h`/
26
27 namespace JSCcxx . . $ `<built-in>:463:9`! {
28
29 class RegExpObjectcxx . . $ QTJSC/RegExpObject# : public JSObjectcxx . . $ QTJSC/JSObject# {
30 public:
31 RegExpObjectcxx . . $ QTJSC/RegExpObject#RegExpObject(896c625ff37d99a4).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#>, NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<RegExpcxx . . $ QTJSC/RegExp#>);
32 virtual ~cxx . . $ QTJSC/RegExpObject#`~RegExpObject`(49f6e7a06ebc5aa8).RegExpObjectcxx . . $ QTJSC/RegExpObject#();
33
34 void setRegExpcxx . . $ QTJSC/RegExpObject#setRegExp(129e2a9c54c8ebd3).(PassRefPtrcxx . . $ PassRefPtr#<RegExpcxx . . $ QTJSC/RegExp#> r) { d->regExp = r; }
35 RegExpcxx . . $ QTJSC/RegExp#* regExpcxx . . $ QTJSC/RegExpObject#regExp(4a8334b8e2c199f0).() const { return d->regExp.get(); }
36
37 void setLastIndexcxx . . $ QTJSC/RegExpObject#setLastIndex(ba8836b59fb42830).(double lastIndex) { d->lastIndex = lastIndex; }
38 double lastIndexcxx . . $ QTJSC/RegExpObject#lastIndex(21b6c25e127938e2).() const { return d->lastIndex; }
39
40 JSValuecxx . . $ QTJSC/JSValue# testcxx . . $ QTJSC/RegExpObject#test(ea6737424ad1a2f7).(ExecStatecxx . . $ QTJSC/ExecState#*, const ArgListcxx . . $ QTJSC/ArgList#&);
41 JSValuecxx . . $ QTJSC/JSValue# execcxx . . $ QTJSC/RegExpObject#exec(ea6737424ad1a2f7).(ExecStatecxx . . $ QTJSC/ExecState#*, const ArgListcxx . . $ QTJSC/ArgList#&);
42
43 virtual bool getOwnPropertySlotcxx . . $ QTJSC/RegExpObject#getOwnPropertySlot(6f4ef3dbfe7d5ab9).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, PropertySlotcxx . . $ QTJSC/PropertySlot#&);
44 virtual bool getOwnPropertyDescriptorcxx . . $ QTJSC/RegExpObject#getOwnPropertyDescriptor(dce4ef7012294c32).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#&, PropertyDescriptorcxx . . $ QTJSC/PropertyDescriptor#&);
45 virtual void putcxx . . $ QTJSC/RegExpObject#put(dfb3133dafbe9ff4).(ExecStatecxx . . $ QTJSC/ExecState#*, const Identifiercxx . . $ QTJSC/Identifier#& propertyName, JSValuecxx . . $ QTJSC/JSValue#, PutPropertySlotcxx . . $ QTJSC/PutPropertySlot#&);
46
47 virtual const ClassInfocxx . . $ QTJSC/ClassInfo#* classInfocxx . . $ QTJSC/RegExpObject#classInfo(f90fb4cda7a7c2e2).() const { return &infocxx . . $ QTJSC/RegExpObject#info.; }
48 static const ClassInfocxx . . $ QTJSC/ClassInfo# infocxx . . $ QTJSC/RegExpObject#info.;
49
50 static PassRefPtrcxx . . $ PassRefPtr#<Structurecxx . . $ QTJSC/Structure#> createStructurecxx . . $ QTJSC/RegExpObject#createStructure(da75fbe5e97e240f).(JSValuecxx . . $ QTJSC/JSValue# prototype)
51 {
52 return Structure::create(prototype, TypeInfocxx . . $ QTJSC/TypeInfo#(ObjectTypecxx . . $ QTJSC/ObjectType., StructureFlagscxx . . $ QTJSC/RegExpObject#StructureFlags.));
53 }
54
55 protected:
56 static const unsigned StructureFlagscxx . . $ QTJSC/RegExpObject#StructureFlags. = OverridesGetOwnPropertySlotcxx . . $ QTJSC/OverridesGetOwnPropertySlot. | JSObjectcxx . . $ QTJSC/JSObject#::StructureFlagscxx . . $ QTJSC/JSObject#StructureFlags.;
57
58 private:
59 bool matchcxx . . $ QTJSC/RegExpObject#match(baea6669571f6a4c).(ExecStatecxx . . $ QTJSC/ExecState#*, const ArgListcxx . . $ QTJSC/ArgList#&);
60
61 virtual CallTypecxx . . $ QTJSC/CallType# getCallDatacxx . . $ QTJSC/RegExpObject#getCallData(9482040cf952d29d).(CallDatacxx . . $ QTJSC/CallData#&);
62
63 struct RegExpObjectDatacxx . . $ QTJSC/RegExpObject#RegExpObjectData# : FastAllocBasecxx . . $ FastAllocBase# {
64 RegExpObjectDatacxx . . $ QTJSC/RegExpObject#RegExpObjectData#RegExpObjectData(8f5c0cb85ffa1c9f).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<RegExpcxx . . $ QTJSC/RegExp#> regExp, double lastIndex)
65 : regExp(regExp)
66 , lastIndexcxx . . $ QTJSC/RegExpObject#RegExpObjectData#lastIndex.(lastIndex)
67 {
68 }
69
70 RefPtrcxx . . $ RefPtr#<RegExpcxx . . $ QTJSC/RegExp#> regExpcxx . . $ QTJSC/RegExpObject#RegExpObjectData#regExp.;
71 double lastIndexcxx . . $ QTJSC/RegExpObject#RegExpObjectData#lastIndex.;
72 };
73
74 OwnPtrcxx . . $ OwnPtr#<RegExpObjectDatacxx . . $ QTJSC/RegExpObject#RegExpObjectData#> dcxx . . $ QTJSC/RegExpObject#d.;
75 };
76
77 RegExpObjectcxx . . $ QTJSC/RegExpObject#* asRegExpObjectcxx . . $ QTJSC/asRegExpObject(b4b81e749ecabfea).(JSValuecxx . . $ QTJSC/JSValue#);
78
79 inline RegExpObjectcxx . . $ QTJSC/RegExpObject#* asRegExpObjectcxx . . $ QTJSC/asRegExpObject(b4b81e749ecabfea).(JSValuecxx . . $ QTJSC/JSValue# value)
80 {
81 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(asObject(value)->inherits(&RegExpObject::info));
82 return static_cast<RegExpObject*>(asObject(value));
83 }
84
85 } // namespace JSC
86
87 #endif // RegExpObject_h