]> git.saurik.com Git - apple/javascriptcore.git/blob - replay/scripts/tests/generate-enum-encoding-helpers-with-guarded-values.json
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / replay / scripts / tests / generate-enum-encoding-helpers-with-guarded-values.json
1 {
2 "types": {
3 "WebCore": [
4 {
5 "name": "MouseButton", "mode": "SCALAR", "storage": "unsigned",
6 "flags": ["ENUM"],
7 "values": ["NoButton", "LeftButton", "MiddleButton", "RightButton"],
8 "guarded_values": {
9 "ENABLE(SIDE_BUTTONS)": ["LeftSideButton", "RightSideButton"],
10 "PLATFORM(WINDOWS)": ["WindowsButton"]
11 },
12 "header": "platform/PlatformMouseEvent.h"
13 }
14 ]
15 },
16
17 "inputs": {
18 "Test": [
19 {
20 "name": "SavedMouseButton",
21 "description": "Supplies a mouse button enum value.",
22 "queue": "SCRIPT_MEMOIZED",
23 "members": [
24 { "name": "button", "type": "MouseButton" }
25 ]
26 }
27 ]
28 }
29 }