]> git.saurik.com Git - apple/javascriptcore.git/blob - replay/scripts/tests/generate-enums-with-same-base-name.json
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / replay / scripts / tests / generate-enums-with-same-base-name.json
1 {
2 "types": {
3 "JavaScriptCore": [
4 {
5 "name": "Type", "mode": "SCALAR", "storage": "uint64_t",
6 "enclosing_class": "PlatformEvent1",
7 "flags": ["ENUM"],
8 "values": ["Mouse", "Keyboard"],
9 "header": "replay/PlatformEvent.h"
10 },
11 {
12 "name": "Type", "mode": "SCALAR",
13 "enclosing_class": "PlatformEvent2",
14 "flags": ["ENUM_CLASS"],
15 "values": ["Mouse", "Keyboard"],
16 "header": "replay/PlatformEvent.h"
17 }
18 ],
19 "Test": [
20 {
21 "name": "Type", "mode": "SCALAR", "storage": "uint64_t",
22 "enclosing_class": "FormData1",
23 "flags": ["ENUM"],
24 "values": ["Text", "Blob"],
25 "header": "replay/FormData1.h"
26 },
27 {
28 "name": "Type", "mode": "SCALAR",
29 "enclosing_class": "FormData2",
30 "flags": ["ENUM_CLASS"],
31 "values": ["Text", "Blob"],
32 "header": "replay/FormData2.h"
33 }
34 ]
35 },
36
37 "inputs": {
38 "Test": [
39 {
40 "name": "FormCombo",
41 "description": "Combines an event type and form data type.",
42 "queue": "SCRIPT_MEMOIZED",
43 "members": [
44 { "name": "eventType1", "type": "PlatformEvent1::Type" },
45 { "name": "eventType2", "type": "PlatformEvent2::Type" },
46 { "name": "formType1", "type": "FormData1::Type" },
47 { "name": "formType2", "type": "FormData2::Type" }
48 ]
49 }
50 ]
51 }
52 }