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