1// Automatically generated from /home/user/data/webkitgtk-2.25.2/Source/JavaScriptCore/runtime/RegExpConstructor.cpp using /home/user/data/webkitgtk-2.25.2/Source/JavaScriptCore/create_hash_table. DO NOT EDIT!
2
3#include "Lookup.h"
4
5namespace JSC {
6
7static const struct CompactHashIndex regExpConstructorTableIndex[65] = {
8 { -1, -1 },
9 { 8, -1 },
10 { -1, -1 },
11 { -1, -1 },
12 { -1, -1 },
13 { -1, -1 },
14 { -1, -1 },
15 { 12, -1 },
16 { -1, -1 },
17 { -1, -1 },
18 { -1, -1 },
19 { 10, -1 },
20 { -1, -1 },
21 { -1, -1 },
22 { 7, -1 },
23 { 2, -1 },
24 { 9, -1 },
25 { 16, -1 },
26 { -1, -1 },
27 { -1, -1 },
28 { 19, -1 },
29 { -1, -1 },
30 { -1, -1 },
31 { -1, -1 },
32 { -1, -1 },
33 { 3, -1 },
34 { -1, -1 },
35 { -1, -1 },
36 { -1, -1 },
37 { -1, -1 },
38 { -1, -1 },
39 { -1, -1 },
40 { -1, -1 },
41 { 4, -1 },
42 { -1, -1 },
43 { -1, -1 },
44 { 5, 64 },
45 { -1, -1 },
46 { -1, -1 },
47 { -1, -1 },
48 { -1, -1 },
49 { -1, -1 },
50 { 17, -1 },
51 { -1, -1 },
52 { -1, -1 },
53 { -1, -1 },
54 { 14, -1 },
55 { -1, -1 },
56 { 11, -1 },
57 { -1, -1 },
58 { -1, -1 },
59 { -1, -1 },
60 { -1, -1 },
61 { 1, -1 },
62 { -1, -1 },
63 { -1, -1 },
64 { 6, -1 },
65 { -1, -1 },
66 { 15, -1 },
67 { -1, -1 },
68 { 0, -1 },
69 { -1, -1 },
70 { 18, -1 },
71 { 20, -1 },
72 { 13, -1 },
73};
74
75static const struct HashTableValue regExpConstructorTableValues[21] = {
76 { "input", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorInput), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(setRegExpConstructorInput) } },
77 { "$_", static_cast<unsigned>(PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorInput), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(setRegExpConstructorInput) } },
78 { "multiline", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorMultiline), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(setRegExpConstructorMultiline) } },
79 { "$*", static_cast<unsigned>(PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorMultiline), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(setRegExpConstructorMultiline) } },
80 { "lastMatch", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLastMatch), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
81 { "$&", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly|PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLastMatch), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
82 { "lastParen", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLastParen), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
83 { "$+", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly|PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLastParen), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
84 { "leftContext", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLeftContext), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
85 { "$`", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly|PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLeftContext), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
86 { "rightContext", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorRightContext), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
87 { "$'", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly|PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorRightContext), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
88 { "$1", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<1>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
89 { "$2", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<2>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
90 { "$3", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<3>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
91 { "$4", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<4>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
92 { "$5", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<5>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
93 { "$6", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<6>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
94 { "$7", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<7>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
95 { "$8", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<8>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
96 { "$9", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<9>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
97};
98
99static const struct HashTable regExpConstructorTable =
100 { 21, 63, true, nullptr, regExpConstructorTableValues, regExpConstructorTableIndex };
101
102} // namespace JSC
103