]> git.saurik.com Git - apple/javascriptcore.git/blob - replay/scripts/tests/generate-enum-encoding-helpers-with-guarded-values.json
JavaScriptCore-7600.1.4.17.5.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 {
19 "name": "SavedMouseButton",
20 "description": "Supplies a mouse button enum value.",
21 "queue": "SCRIPT_MEMOIZED",
22 "members": [
23 { "name": "button", "type": "MouseButton" }
24 ]
25 }
26 ]
27 }