]> git.saurik.com Git - apple/javascriptcore.git/blob - replay/scripts/tests/generate-enum-encoding-helpers.json
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / replay / scripts / tests / generate-enum-encoding-helpers.json
1 {
2 "types": {
3 "Test": [
4 {
5 "name": "InputQueue", "mode": "SCALAR",
6 "flags": ["ENUM_CLASS"],
7 "values": ["EventLoopInput", "LoaderMemoizedData", "ScriptMemoizedData"],
8 "header": "replay/NondeterministicInput.h"
9 },
10 {
11 "name": "MouseButton", "mode": "SCALAR", "storage": "unsigned",
12 "flags": ["ENUM"],
13 "values": ["NoButton", "LeftButton", "MiddleButton", "RightButton"],
14 "header": "platform/PlatformMouseEvent.h"
15 },
16 {
17 "name": "Type", "mode": "SCALAR",
18 "flags": ["ENUM"],
19 "enclosing_class": "PlatformEvent",
20 "values": ["Mouse", "Key", "Touch", "Wheel"],
21 "header": "platform/PlatformEvent.h"
22 }
23 ]
24 },
25
26 "inputs": {
27 "Test": [
28 {
29 "name": "SavedMouseButton",
30 "description": "Supplies a mouse button enum value.",
31 "queue": "SCRIPT_MEMOIZED",
32 "members": [
33 { "name": "button", "type": "MouseButton" }
34 ]
35 }
36 ]
37 }
38 }