mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-12 18:56:16 +08:00
22321 lines
782 KiB
JSON
22321 lines
782 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 2908,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 32
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 2908,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 32
|
|
}
|
|
},
|
|
"sourceType": "module",
|
|
"body": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 40,
|
|
"end": 2872,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 46,
|
|
"end": 62,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 22
|
|
},
|
|
"identifierName": "PhysicalKeyboard"
|
|
},
|
|
"name": "PhysicalKeyboard",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 63,
|
|
"end": 2872,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 140,
|
|
"end": 586,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 140,
|
|
"end": 151,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 13
|
|
},
|
|
"identifierName": "constructor"
|
|
},
|
|
"name": "constructor",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "constructor",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 152,
|
|
"end": 174,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 36
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 175,
|
|
"end": 586,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 250,
|
|
"end": 303,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 57
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 250,
|
|
"end": 302,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 56
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 250,
|
|
"end": 277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 31
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 250,
|
|
"end": 254,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 255,
|
|
"end": 277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 31
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 280,
|
|
"end": 302,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 56
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * @type {object} A simple-keyboard instance\r\n ",
|
|
"start": 182,
|
|
"end": 244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Bindings\r\n ",
|
|
"start": 311,
|
|
"end": 340,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 346,
|
|
"end": 411,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 69
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 346,
|
|
"end": 410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 68
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 346,
|
|
"end": 371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 346,
|
|
"end": 350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 351,
|
|
"end": 371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 29
|
|
},
|
|
"identifierName": "initKeyboardListener"
|
|
},
|
|
"name": "initKeyboardListener"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 374,
|
|
"end": 410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 68
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 374,
|
|
"end": 404,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 62
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 374,
|
|
"end": 399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 57
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 374,
|
|
"end": 378,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 379,
|
|
"end": 399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 57
|
|
},
|
|
"identifierName": "initKeyboardListener"
|
|
},
|
|
"name": "initKeyboardListener"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 400,
|
|
"end": 404,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 58
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 62
|
|
},
|
|
"identifierName": "bind"
|
|
},
|
|
"name": "bind"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ThisExpression",
|
|
"start": 405,
|
|
"end": 409,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 67
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Bindings\r\n ",
|
|
"start": 311,
|
|
"end": 340,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 417,
|
|
"end": 494,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 81
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 417,
|
|
"end": 493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 80
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 417,
|
|
"end": 448,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 417,
|
|
"end": 421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 422,
|
|
"end": 448,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 35
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 451,
|
|
"end": 493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 80
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 451,
|
|
"end": 487,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 74
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 451,
|
|
"end": 482,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 69
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 451,
|
|
"end": 455,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 456,
|
|
"end": 482,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 69
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 483,
|
|
"end": 487,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 74
|
|
},
|
|
"identifierName": "bind"
|
|
},
|
|
"name": "bind"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ThisExpression",
|
|
"start": 488,
|
|
"end": 492,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 79
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initialize key listeners\r\n ",
|
|
"start": 502,
|
|
"end": 547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 553,
|
|
"end": 581,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 32
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 553,
|
|
"end": 580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 31
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 553,
|
|
"end": 578,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 553,
|
|
"end": 557,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 558,
|
|
"end": 578,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 29
|
|
},
|
|
"identifierName": "initKeyboardListener"
|
|
},
|
|
"name": "initKeyboardListener"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [],
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initialize key listeners\r\n ",
|
|
"start": 502,
|
|
"end": 547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Creates an instance of the PhysicalKeyboard service\r\n ",
|
|
"start": 68,
|
|
"end": 136,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initializes key event listeners\r\n ",
|
|
"start": 592,
|
|
"end": 640,
|
|
"loc": {
|
|
"start": {
|
|
"line": 26,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 644,
|
|
"end": 1982,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 644,
|
|
"end": 664,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 22
|
|
},
|
|
"identifierName": "initKeyboardListener"
|
|
},
|
|
"name": "initKeyboardListener",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 666,
|
|
"end": 1982,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 712,
|
|
"end": 1408,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 712,
|
|
"end": 1407,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 712,
|
|
"end": 737,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 712,
|
|
"end": 720,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document",
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 721,
|
|
"end": 737,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 738,
|
|
"end": 747,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 39
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "keydown",
|
|
"raw": "\"keydown\""
|
|
},
|
|
"value": "keydown"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 749,
|
|
"end": 1406,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 5
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 750,
|
|
"end": 755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 47
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 760,
|
|
"end": 1406,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 769,
|
|
"end": 1399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"start": 772,
|
|
"end": 833,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 70
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 772,
|
|
"end": 807,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 44
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 772,
|
|
"end": 799,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 36
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 772,
|
|
"end": 776,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 777,
|
|
"end": 799,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 36
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 800,
|
|
"end": 807,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 44
|
|
},
|
|
"identifierName": "options"
|
|
},
|
|
"name": "options"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 808,
|
|
"end": 833,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 70
|
|
},
|
|
"identifierName": "physicalKeyboardHighlight"
|
|
},
|
|
"name": "physicalKeyboardHighlight"
|
|
},
|
|
"computed": false
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 834,
|
|
"end": 1399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 71
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 845,
|
|
"end": 904,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 67
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 849,
|
|
"end": 903,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 66
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 849,
|
|
"end": 862,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 25
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"start": 865,
|
|
"end": 903,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 66
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 865,
|
|
"end": 896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 59
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 865,
|
|
"end": 869,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 870,
|
|
"end": 896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 59
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 897,
|
|
"end": 902,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 65
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 916,
|
|
"end": 1390,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 916,
|
|
"end": 1389,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 916,
|
|
"end": 952,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 44
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 916,
|
|
"end": 943,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 916,
|
|
"end": 920,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 921,
|
|
"end": 943,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 35
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 944,
|
|
"end": 952,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 44
|
|
},
|
|
"identifierName": "dispatch"
|
|
},
|
|
"name": "dispatch"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 953,
|
|
"end": 1388,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 953,
|
|
"end": 961,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 53
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 965,
|
|
"end": 1388,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 57
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 978,
|
|
"end": 1086,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 118
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 982,
|
|
"end": 1085,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 117
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 982,
|
|
"end": 991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 23
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"init": {
|
|
"type": "LogicalExpression",
|
|
"start": 994,
|
|
"end": 1085,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 117
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "CallExpression",
|
|
"start": 994,
|
|
"end": 1034,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 66
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 994,
|
|
"end": 1019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 51
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 994,
|
|
"end": 1002,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 34
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1003,
|
|
"end": 1019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 51
|
|
},
|
|
"identifierName": "getButtonElement"
|
|
},
|
|
"name": "getButtonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1020,
|
|
"end": 1033,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 65
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
}
|
|
]
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 1038,
|
|
"end": 1085,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 117
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1038,
|
|
"end": 1063,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 95
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1038,
|
|
"end": 1046,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 78
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1047,
|
|
"end": 1063,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 79
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 95
|
|
},
|
|
"identifierName": "getButtonElement"
|
|
},
|
|
"name": "getButtonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "TemplateLiteral",
|
|
"start": 1064,
|
|
"end": 1084,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 116
|
|
}
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1068,
|
|
"end": 1081,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 100
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 113
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 1065,
|
|
"end": 1066,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 97
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 98
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "{",
|
|
"cooked": "{"
|
|
},
|
|
"tail": false
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 1082,
|
|
"end": 1083,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 114
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 115
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "}",
|
|
"cooked": "}"
|
|
},
|
|
"tail": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1100,
|
|
"end": 1377,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 11
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "Identifier",
|
|
"start": 1103,
|
|
"end": 1112,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 22
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1113,
|
|
"end": 1377,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 11
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1128,
|
|
"end": 1244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 128
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1128,
|
|
"end": 1243,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 127
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1128,
|
|
"end": 1159,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1128,
|
|
"end": 1143,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 27
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1128,
|
|
"end": 1137,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 21
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1138,
|
|
"end": 1143,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 27
|
|
},
|
|
"identifierName": "style"
|
|
},
|
|
"name": "style"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1144,
|
|
"end": 1159,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 43
|
|
},
|
|
"identifierName": "backgroundColor"
|
|
},
|
|
"name": "backgroundColor"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"start": 1162,
|
|
"end": 1243,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 127
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1162,
|
|
"end": 1230,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 114
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1162,
|
|
"end": 1197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 81
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1162,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 73
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1162,
|
|
"end": 1166,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1167,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 73
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1190,
|
|
"end": 1197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 81
|
|
},
|
|
"identifierName": "options"
|
|
},
|
|
"name": "options"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1198,
|
|
"end": 1230,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 82
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 114
|
|
},
|
|
"identifierName": "physicalKeyboardHighlightBgColor"
|
|
},
|
|
"name": "physicalKeyboardHighlightBgColor"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1234,
|
|
"end": 1243,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 118
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 127
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "#9ab4d0",
|
|
"raw": "\"#9ab4d0\""
|
|
},
|
|
"value": "#9ab4d0"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1258,
|
|
"end": 1364,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 118
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1258,
|
|
"end": 1363,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 117
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1258,
|
|
"end": 1279,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1258,
|
|
"end": 1273,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 27
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1258,
|
|
"end": 1267,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 21
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1268,
|
|
"end": 1273,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 27
|
|
},
|
|
"identifierName": "style"
|
|
},
|
|
"name": "style"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1274,
|
|
"end": 1279,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 33
|
|
},
|
|
"identifierName": "color"
|
|
},
|
|
"name": "color"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"start": 1282,
|
|
"end": 1363,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 117
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1282,
|
|
"end": 1352,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 106
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1282,
|
|
"end": 1317,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 71
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1282,
|
|
"end": 1309,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 63
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1282,
|
|
"end": 1286,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1287,
|
|
"end": 1309,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 63
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1310,
|
|
"end": 1317,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 71
|
|
},
|
|
"identifierName": "options"
|
|
},
|
|
"name": "options"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1318,
|
|
"end": 1352,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 72
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 106
|
|
},
|
|
"identifierName": "physicalKeyboardHighlightTextColor"
|
|
},
|
|
"name": "physicalKeyboardHighlightTextColor"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1356,
|
|
"end": 1363,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 110
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 117
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "white",
|
|
"raw": "\"white\""
|
|
},
|
|
"value": "white"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Adding button style on keydown",
|
|
"start": 673,
|
|
"end": 706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 37
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Removing button style on keyup",
|
|
"start": 1416,
|
|
"end": 1449,
|
|
"loc": {
|
|
"start": {
|
|
"line": 46,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 46,
|
|
"column": 37
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1455,
|
|
"end": 1977,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1455,
|
|
"end": 1976,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1455,
|
|
"end": 1480,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1455,
|
|
"end": 1463,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document",
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1464,
|
|
"end": 1480,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 29
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1481,
|
|
"end": 1488,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 37
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "keyup",
|
|
"raw": "\"keyup\""
|
|
},
|
|
"value": "keyup"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1490,
|
|
"end": 1975,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 5
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1491,
|
|
"end": 1496,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 45
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1501,
|
|
"end": 1975,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1510,
|
|
"end": 1968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 7
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"start": 1513,
|
|
"end": 1574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 70
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1513,
|
|
"end": 1548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 44
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1513,
|
|
"end": 1540,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 36
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1513,
|
|
"end": 1517,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1518,
|
|
"end": 1540,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 36
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1541,
|
|
"end": 1548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 44
|
|
},
|
|
"identifierName": "options"
|
|
},
|
|
"name": "options"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1549,
|
|
"end": 1574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 70
|
|
},
|
|
"identifierName": "physicalKeyboardHighlight"
|
|
},
|
|
"name": "physicalKeyboardHighlight"
|
|
},
|
|
"computed": false
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1575,
|
|
"end": 1968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 71
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1586,
|
|
"end": 1645,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 67
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1590,
|
|
"end": 1644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 66
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1590,
|
|
"end": 1603,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 25
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"start": 1606,
|
|
"end": 1644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 66
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1606,
|
|
"end": 1637,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 59
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1606,
|
|
"end": 1610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1611,
|
|
"end": 1637,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 59
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1638,
|
|
"end": 1643,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 65
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1657,
|
|
"end": 1959,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1657,
|
|
"end": 1958,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1657,
|
|
"end": 1693,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 44
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1657,
|
|
"end": 1684,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1657,
|
|
"end": 1661,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1662,
|
|
"end": 1684,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 35
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1685,
|
|
"end": 1693,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 44
|
|
},
|
|
"identifierName": "dispatch"
|
|
},
|
|
"name": "dispatch"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1694,
|
|
"end": 1957,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1694,
|
|
"end": 1702,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 53
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1706,
|
|
"end": 1957,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 57
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1719,
|
|
"end": 1827,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 118
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1723,
|
|
"end": 1826,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 117
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1723,
|
|
"end": 1732,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 23
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"init": {
|
|
"type": "LogicalExpression",
|
|
"start": 1735,
|
|
"end": 1826,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 117
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "CallExpression",
|
|
"start": 1735,
|
|
"end": 1775,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 66
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1735,
|
|
"end": 1760,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 51
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1735,
|
|
"end": 1743,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 34
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1744,
|
|
"end": 1760,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 51
|
|
},
|
|
"identifierName": "getButtonElement"
|
|
},
|
|
"name": "getButtonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1761,
|
|
"end": 1774,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 65
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
}
|
|
]
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 1779,
|
|
"end": 1826,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 117
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1779,
|
|
"end": 1804,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 95
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1779,
|
|
"end": 1787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 78
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1788,
|
|
"end": 1804,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 79
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 95
|
|
},
|
|
"identifierName": "getButtonElement"
|
|
},
|
|
"name": "getButtonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "TemplateLiteral",
|
|
"start": 1805,
|
|
"end": 1825,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 116
|
|
}
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1809,
|
|
"end": 1822,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 100
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 113
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 1806,
|
|
"end": 1807,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 97
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 98
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "{",
|
|
"cooked": "{"
|
|
},
|
|
"tail": false
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 1823,
|
|
"end": 1824,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 114
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 115
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "}",
|
|
"cooked": "}"
|
|
},
|
|
"tail": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1841,
|
|
"end": 1946,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 11
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "LogicalExpression",
|
|
"start": 1844,
|
|
"end": 1882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 51
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 1844,
|
|
"end": 1853,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 22
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"operator": "&&",
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"start": 1857,
|
|
"end": 1882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 51
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1857,
|
|
"end": 1866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 35
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1867,
|
|
"end": 1882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 51
|
|
},
|
|
"identifierName": "removeAttribute"
|
|
},
|
|
"name": "removeAttribute"
|
|
},
|
|
"computed": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1883,
|
|
"end": 1946,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 11
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1898,
|
|
"end": 1933,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 47
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1898,
|
|
"end": 1932,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 46
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1898,
|
|
"end": 1923,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 37
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1898,
|
|
"end": 1907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 21
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1908,
|
|
"end": 1923,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 37
|
|
},
|
|
"identifierName": "removeAttribute"
|
|
},
|
|
"name": "removeAttribute"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1924,
|
|
"end": 1931,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 45
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "style",
|
|
"raw": "\"style\""
|
|
},
|
|
"value": "style"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Removing button style on keyup",
|
|
"start": 1416,
|
|
"end": 1449,
|
|
"loc": {
|
|
"start": {
|
|
"line": 46,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 46,
|
|
"column": 37
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initializes key event listeners\r\n ",
|
|
"start": 592,
|
|
"end": 640,
|
|
"loc": {
|
|
"start": {
|
|
"line": 26,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ",
|
|
"start": 1988,
|
|
"end": 2135,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 2139,
|
|
"end": 2869,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 2139,
|
|
"end": 2165,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 28
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2166,
|
|
"end": 2171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 34
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 2172,
|
|
"end": 2869,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 2179,
|
|
"end": 2190,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 15
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 2183,
|
|
"end": 2189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 14
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 2183,
|
|
"end": 2189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 14
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"init": null
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 2198,
|
|
"end": 2559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 69,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 5
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2475,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 33
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 32
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2400,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 36
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2359,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 38
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2316,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 34
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 34
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "CallExpression",
|
|
"start": 2209,
|
|
"end": 2238,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 35
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2209,
|
|
"end": 2228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2209,
|
|
"end": 2219,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2209,
|
|
"end": 2214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2215,
|
|
"end": 2219,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2220,
|
|
"end": 2228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2229,
|
|
"end": 2237,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 34
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Numpad",
|
|
"raw": "\"Numpad\""
|
|
},
|
|
"value": "Numpad"
|
|
}
|
|
]
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2249,
|
|
"end": 2277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 34
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2249,
|
|
"end": 2268,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2249,
|
|
"end": 2259,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2249,
|
|
"end": 2254,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2255,
|
|
"end": 2259,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2260,
|
|
"end": 2268,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2269,
|
|
"end": 2276,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 33
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Shift",
|
|
"raw": "\"Shift\""
|
|
},
|
|
"value": "Shift"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2288,
|
|
"end": 2316,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 34
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2288,
|
|
"end": 2307,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2288,
|
|
"end": 2298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2288,
|
|
"end": 2293,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2294,
|
|
"end": 2298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2299,
|
|
"end": 2307,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2308,
|
|
"end": 2315,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 33
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Space",
|
|
"raw": "\"Space\""
|
|
},
|
|
"value": "Space"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2327,
|
|
"end": 2359,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 38
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2327,
|
|
"end": 2346,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2327,
|
|
"end": 2337,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2327,
|
|
"end": 2332,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2333,
|
|
"end": 2337,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2338,
|
|
"end": 2346,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2347,
|
|
"end": 2358,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 37
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Backspace",
|
|
"raw": "\"Backspace\""
|
|
},
|
|
"value": "Backspace"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2370,
|
|
"end": 2400,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 36
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2370,
|
|
"end": 2389,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2370,
|
|
"end": 2380,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2370,
|
|
"end": 2375,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2376,
|
|
"end": 2380,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2381,
|
|
"end": 2389,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2390,
|
|
"end": 2399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 35
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Control",
|
|
"raw": "\"Control\""
|
|
},
|
|
"value": "Control"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2411,
|
|
"end": 2437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 32
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2411,
|
|
"end": 2430,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2411,
|
|
"end": 2421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2411,
|
|
"end": 2416,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2417,
|
|
"end": 2421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2422,
|
|
"end": 2430,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2431,
|
|
"end": 2436,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 31
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Alt",
|
|
"raw": "\"Alt\""
|
|
},
|
|
"value": "Alt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2448,
|
|
"end": 2475,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 33
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2448,
|
|
"end": 2467,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2448,
|
|
"end": 2458,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2448,
|
|
"end": 2453,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2454,
|
|
"end": 2458,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2459,
|
|
"end": 2467,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2468,
|
|
"end": 2474,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 32
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Meta",
|
|
"raw": "\"Meta\""
|
|
},
|
|
"value": "Meta"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 2482,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 2491,
|
|
"end": 2511,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 26
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 2491,
|
|
"end": 2510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 25
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 2491,
|
|
"end": 2497,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 12
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"start": 2500,
|
|
"end": 2510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2500,
|
|
"end": 2505,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 20
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2506,
|
|
"end": 2510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 25
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"start": 2524,
|
|
"end": 2559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 79,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 2533,
|
|
"end": 2552,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 25
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 2533,
|
|
"end": 2551,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 24
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 2533,
|
|
"end": 2539,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 12
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"start": 2542,
|
|
"end": 2551,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 24
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2542,
|
|
"end": 2547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 20
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2548,
|
|
"end": 2551,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 24
|
|
},
|
|
"identifierName": "key"
|
|
},
|
|
"name": "key"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ",
|
|
"start": 2567,
|
|
"end": 2636,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 2642,
|
|
"end": 2842,
|
|
"loc": {
|
|
"start": {
|
|
"line": 86,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 91,
|
|
"column": 5
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "LogicalExpression",
|
|
"start": 2654,
|
|
"end": 2788,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 98
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2654,
|
|
"end": 2685,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 37
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 2654,
|
|
"end": 2660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 12
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output",
|
|
"leadingComments": null
|
|
},
|
|
"operator": "!==",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2665,
|
|
"end": 2685,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 37
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2665,
|
|
"end": 2683,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2665,
|
|
"end": 2671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 23
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2672,
|
|
"end": 2683,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 35
|
|
},
|
|
"identifierName": "toUpperCase"
|
|
},
|
|
"name": "toUpperCase"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"start": 2697,
|
|
"end": 2787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 97
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2697,
|
|
"end": 2761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 71
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2697,
|
|
"end": 2718,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 28
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 2697,
|
|
"end": 2710,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 20
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2697,
|
|
"end": 2707,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 17
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2697,
|
|
"end": 2702,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 12
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2703,
|
|
"end": 2707,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 17
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "NumericLiteral",
|
|
"start": 2708,
|
|
"end": 2709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 19
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "0"
|
|
},
|
|
"value": 0
|
|
},
|
|
"computed": true
|
|
},
|
|
"operator": "===",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 2715,
|
|
"end": 2718,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 28
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "F",
|
|
"raw": "\"F\""
|
|
},
|
|
"value": "F"
|
|
}
|
|
},
|
|
"operator": "&&",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2722,
|
|
"end": 2761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 71
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2722,
|
|
"end": 2738,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 48
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2722,
|
|
"end": 2728,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 38
|
|
},
|
|
"identifierName": "Number"
|
|
},
|
|
"name": "Number"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2729,
|
|
"end": 2738,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 48
|
|
},
|
|
"identifierName": "isInteger"
|
|
},
|
|
"name": "isInteger"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "CallExpression",
|
|
"start": 2739,
|
|
"end": 2760,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 70
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start": 2739,
|
|
"end": 2745,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 55
|
|
},
|
|
"identifierName": "Number"
|
|
},
|
|
"name": "Number"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "MemberExpression",
|
|
"start": 2746,
|
|
"end": 2759,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 69
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2746,
|
|
"end": 2756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 66
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2746,
|
|
"end": 2751,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 61
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2752,
|
|
"end": 2756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 66
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "NumericLiteral",
|
|
"start": 2757,
|
|
"end": 2758,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 68
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
},
|
|
"computed": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "&&",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 2765,
|
|
"end": 2787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 97
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 2765,
|
|
"end": 2782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 92
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2765,
|
|
"end": 2775,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 85
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2765,
|
|
"end": 2770,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 80
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2771,
|
|
"end": 2775,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 81
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 85
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2776,
|
|
"end": 2782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 92
|
|
},
|
|
"identifierName": "length"
|
|
},
|
|
"name": "length"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "<=",
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start": 2786,
|
|
"end": 2787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 97
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 3,
|
|
"raw": "3"
|
|
},
|
|
"value": 3
|
|
}
|
|
},
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 2696
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 2796,
|
|
"end": 2842,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 91,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 2805,
|
|
"end": 2835,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 36
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 2805,
|
|
"end": 2834,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 35
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 2805,
|
|
"end": 2811,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 12
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2814,
|
|
"end": 2834,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 35
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2814,
|
|
"end": 2832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2814,
|
|
"end": 2820,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 21
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2821,
|
|
"end": 2832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 33
|
|
},
|
|
"identifierName": "toLowerCase"
|
|
},
|
|
"name": "toLowerCase"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null,
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ",
|
|
"start": 2567,
|
|
"end": 2636,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start": 2850,
|
|
"end": 2864,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 18
|
|
}
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start": 2857,
|
|
"end": 2863,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 17
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ",
|
|
"start": 1988,
|
|
"end": 2135,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [],
|
|
"name": "_",
|
|
"trailingComments": []
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2876,
|
|
"end": 2908,
|
|
"loc": {
|
|
"start": {
|
|
"line": 97,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 32
|
|
}
|
|
},
|
|
"declaration": {
|
|
"type": "Identifier",
|
|
"start": 2891,
|
|
"end": 2907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 97,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 31
|
|
},
|
|
"identifierName": "PhysicalKeyboard"
|
|
},
|
|
"name": "PhysicalKeyboard"
|
|
},
|
|
"name": "_",
|
|
"leadingComments": [],
|
|
"trailingComments": []
|
|
},
|
|
{
|
|
"type": "ExportDefaultDeclaration",
|
|
"start": 2876,
|
|
"end": 2908,
|
|
"loc": {
|
|
"start": {
|
|
"line": 97,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 32
|
|
}
|
|
},
|
|
"declaration": {
|
|
"type": "ClassDeclaration",
|
|
"start": 40,
|
|
"end": 2872,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 46,
|
|
"end": 62,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 22
|
|
},
|
|
"identifierName": "PhysicalKeyboard"
|
|
},
|
|
"name": "PhysicalKeyboard",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 63,
|
|
"end": 2872,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 140,
|
|
"end": 586,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 140,
|
|
"end": 151,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 13
|
|
},
|
|
"identifierName": "constructor"
|
|
},
|
|
"name": "constructor",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "constructor",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 152,
|
|
"end": 174,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 36
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 175,
|
|
"end": 586,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 250,
|
|
"end": 303,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 57
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 250,
|
|
"end": 302,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 56
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 250,
|
|
"end": 277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 31
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 250,
|
|
"end": 254,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 255,
|
|
"end": 277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 31
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 280,
|
|
"end": 302,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 56
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * @type {object} A simple-keyboard instance\r\n ",
|
|
"start": 182,
|
|
"end": 244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Bindings\r\n ",
|
|
"start": 311,
|
|
"end": 340,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 346,
|
|
"end": 411,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 69
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 346,
|
|
"end": 410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 68
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 346,
|
|
"end": 371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 346,
|
|
"end": 350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 351,
|
|
"end": 371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 29
|
|
},
|
|
"identifierName": "initKeyboardListener"
|
|
},
|
|
"name": "initKeyboardListener"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 374,
|
|
"end": 410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 68
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 374,
|
|
"end": 404,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 62
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 374,
|
|
"end": 399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 57
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 374,
|
|
"end": 378,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 379,
|
|
"end": 399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 57
|
|
},
|
|
"identifierName": "initKeyboardListener"
|
|
},
|
|
"name": "initKeyboardListener"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 400,
|
|
"end": 404,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 58
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 62
|
|
},
|
|
"identifierName": "bind"
|
|
},
|
|
"name": "bind"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ThisExpression",
|
|
"start": 405,
|
|
"end": 409,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 67
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Bindings\r\n ",
|
|
"start": 311,
|
|
"end": 340,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 417,
|
|
"end": 494,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 81
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 417,
|
|
"end": 493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 80
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 417,
|
|
"end": 448,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 417,
|
|
"end": 421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 422,
|
|
"end": 448,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 35
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 451,
|
|
"end": 493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 80
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 451,
|
|
"end": 487,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 74
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 451,
|
|
"end": 482,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 69
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 451,
|
|
"end": 455,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 456,
|
|
"end": 482,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 69
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 483,
|
|
"end": 487,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 74
|
|
},
|
|
"identifierName": "bind"
|
|
},
|
|
"name": "bind"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ThisExpression",
|
|
"start": 488,
|
|
"end": 492,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 79
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initialize key listeners\r\n ",
|
|
"start": 502,
|
|
"end": 547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 553,
|
|
"end": 581,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 32
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 553,
|
|
"end": 580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 31
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 553,
|
|
"end": 578,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 553,
|
|
"end": 557,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 558,
|
|
"end": 578,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 29
|
|
},
|
|
"identifierName": "initKeyboardListener"
|
|
},
|
|
"name": "initKeyboardListener"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [],
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initialize key listeners\r\n ",
|
|
"start": 502,
|
|
"end": 547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Creates an instance of the PhysicalKeyboard service\r\n ",
|
|
"start": 68,
|
|
"end": 136,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initializes key event listeners\r\n ",
|
|
"start": 592,
|
|
"end": 640,
|
|
"loc": {
|
|
"start": {
|
|
"line": 26,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 644,
|
|
"end": 1982,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 644,
|
|
"end": 664,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 22
|
|
},
|
|
"identifierName": "initKeyboardListener"
|
|
},
|
|
"name": "initKeyboardListener",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 666,
|
|
"end": 1982,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 712,
|
|
"end": 1408,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 712,
|
|
"end": 1407,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 712,
|
|
"end": 737,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 712,
|
|
"end": 720,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document",
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 721,
|
|
"end": 737,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 738,
|
|
"end": 747,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 39
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "keydown",
|
|
"raw": "\"keydown\""
|
|
},
|
|
"value": "keydown"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 749,
|
|
"end": 1406,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 5
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 750,
|
|
"end": 755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 47
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 760,
|
|
"end": 1406,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 769,
|
|
"end": 1399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"start": 772,
|
|
"end": 833,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 70
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 772,
|
|
"end": 807,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 44
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 772,
|
|
"end": 799,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 36
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 772,
|
|
"end": 776,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 777,
|
|
"end": 799,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 36
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 800,
|
|
"end": 807,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 44
|
|
},
|
|
"identifierName": "options"
|
|
},
|
|
"name": "options"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 808,
|
|
"end": 833,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 70
|
|
},
|
|
"identifierName": "physicalKeyboardHighlight"
|
|
},
|
|
"name": "physicalKeyboardHighlight"
|
|
},
|
|
"computed": false
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 834,
|
|
"end": 1399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 71
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 845,
|
|
"end": 904,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 67
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 849,
|
|
"end": 903,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 66
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 849,
|
|
"end": 862,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 25
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"start": 865,
|
|
"end": 903,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 66
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 865,
|
|
"end": 896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 59
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 865,
|
|
"end": 869,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 870,
|
|
"end": 896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 59
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 897,
|
|
"end": 902,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 65
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 916,
|
|
"end": 1390,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 916,
|
|
"end": 1389,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 916,
|
|
"end": 952,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 44
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 916,
|
|
"end": 943,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 916,
|
|
"end": 920,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 921,
|
|
"end": 943,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 35
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 944,
|
|
"end": 952,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 44
|
|
},
|
|
"identifierName": "dispatch"
|
|
},
|
|
"name": "dispatch"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 953,
|
|
"end": 1388,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 953,
|
|
"end": 961,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 53
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 965,
|
|
"end": 1388,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 57
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 978,
|
|
"end": 1086,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 118
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 982,
|
|
"end": 1085,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 117
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 982,
|
|
"end": 991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 23
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"init": {
|
|
"type": "LogicalExpression",
|
|
"start": 994,
|
|
"end": 1085,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 117
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "CallExpression",
|
|
"start": 994,
|
|
"end": 1034,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 66
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 994,
|
|
"end": 1019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 51
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 994,
|
|
"end": 1002,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 34
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1003,
|
|
"end": 1019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 51
|
|
},
|
|
"identifierName": "getButtonElement"
|
|
},
|
|
"name": "getButtonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1020,
|
|
"end": 1033,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 65
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
}
|
|
]
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 1038,
|
|
"end": 1085,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 117
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1038,
|
|
"end": 1063,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 95
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1038,
|
|
"end": 1046,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 78
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1047,
|
|
"end": 1063,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 79
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 95
|
|
},
|
|
"identifierName": "getButtonElement"
|
|
},
|
|
"name": "getButtonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "TemplateLiteral",
|
|
"start": 1064,
|
|
"end": 1084,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 116
|
|
}
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1068,
|
|
"end": 1081,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 100
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 113
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 1065,
|
|
"end": 1066,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 97
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 98
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "{",
|
|
"cooked": "{"
|
|
},
|
|
"tail": false
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 1082,
|
|
"end": 1083,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 114
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 115
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "}",
|
|
"cooked": "}"
|
|
},
|
|
"tail": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1100,
|
|
"end": 1377,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 11
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "Identifier",
|
|
"start": 1103,
|
|
"end": 1112,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 22
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1113,
|
|
"end": 1377,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 11
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1128,
|
|
"end": 1244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 128
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1128,
|
|
"end": 1243,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 127
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1128,
|
|
"end": 1159,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1128,
|
|
"end": 1143,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 27
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1128,
|
|
"end": 1137,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 21
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1138,
|
|
"end": 1143,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 27
|
|
},
|
|
"identifierName": "style"
|
|
},
|
|
"name": "style"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1144,
|
|
"end": 1159,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 43
|
|
},
|
|
"identifierName": "backgroundColor"
|
|
},
|
|
"name": "backgroundColor"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"start": 1162,
|
|
"end": 1243,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 127
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1162,
|
|
"end": 1230,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 114
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1162,
|
|
"end": 1197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 81
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1162,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 73
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1162,
|
|
"end": 1166,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1167,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 73
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1190,
|
|
"end": 1197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 81
|
|
},
|
|
"identifierName": "options"
|
|
},
|
|
"name": "options"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1198,
|
|
"end": 1230,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 82
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 114
|
|
},
|
|
"identifierName": "physicalKeyboardHighlightBgColor"
|
|
},
|
|
"name": "physicalKeyboardHighlightBgColor"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1234,
|
|
"end": 1243,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 118
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 127
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "#9ab4d0",
|
|
"raw": "\"#9ab4d0\""
|
|
},
|
|
"value": "#9ab4d0"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1258,
|
|
"end": 1364,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 118
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1258,
|
|
"end": 1363,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 117
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1258,
|
|
"end": 1279,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1258,
|
|
"end": 1273,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 27
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1258,
|
|
"end": 1267,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 21
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1268,
|
|
"end": 1273,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 27
|
|
},
|
|
"identifierName": "style"
|
|
},
|
|
"name": "style"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1274,
|
|
"end": 1279,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 33
|
|
},
|
|
"identifierName": "color"
|
|
},
|
|
"name": "color"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"start": 1282,
|
|
"end": 1363,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 117
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1282,
|
|
"end": 1352,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 106
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1282,
|
|
"end": 1317,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 71
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1282,
|
|
"end": 1309,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 63
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1282,
|
|
"end": 1286,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1287,
|
|
"end": 1309,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 63
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1310,
|
|
"end": 1317,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 71
|
|
},
|
|
"identifierName": "options"
|
|
},
|
|
"name": "options"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1318,
|
|
"end": 1352,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 72
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 106
|
|
},
|
|
"identifierName": "physicalKeyboardHighlightTextColor"
|
|
},
|
|
"name": "physicalKeyboardHighlightTextColor"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1356,
|
|
"end": 1363,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 110
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 117
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "white",
|
|
"raw": "\"white\""
|
|
},
|
|
"value": "white"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Adding button style on keydown",
|
|
"start": 673,
|
|
"end": 706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 37
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Removing button style on keyup",
|
|
"start": 1416,
|
|
"end": 1449,
|
|
"loc": {
|
|
"start": {
|
|
"line": 46,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 46,
|
|
"column": 37
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1455,
|
|
"end": 1977,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1455,
|
|
"end": 1976,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1455,
|
|
"end": 1480,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1455,
|
|
"end": 1463,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document",
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1464,
|
|
"end": 1480,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 29
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1481,
|
|
"end": 1488,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 37
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "keyup",
|
|
"raw": "\"keyup\""
|
|
},
|
|
"value": "keyup"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1490,
|
|
"end": 1975,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 5
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1491,
|
|
"end": 1496,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 45
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1501,
|
|
"end": 1975,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1510,
|
|
"end": 1968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 7
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"start": 1513,
|
|
"end": 1574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 70
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1513,
|
|
"end": 1548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 44
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1513,
|
|
"end": 1540,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 36
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1513,
|
|
"end": 1517,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1518,
|
|
"end": 1540,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 36
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1541,
|
|
"end": 1548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 44
|
|
},
|
|
"identifierName": "options"
|
|
},
|
|
"name": "options"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1549,
|
|
"end": 1574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 70
|
|
},
|
|
"identifierName": "physicalKeyboardHighlight"
|
|
},
|
|
"name": "physicalKeyboardHighlight"
|
|
},
|
|
"computed": false
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1575,
|
|
"end": 1968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 71
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1586,
|
|
"end": 1645,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 67
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1590,
|
|
"end": 1644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 66
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1590,
|
|
"end": 1603,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 25
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"start": 1606,
|
|
"end": 1644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 66
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1606,
|
|
"end": 1637,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 59
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1606,
|
|
"end": 1610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1611,
|
|
"end": 1637,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 59
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1638,
|
|
"end": 1643,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 65
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1657,
|
|
"end": 1959,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1657,
|
|
"end": 1958,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1657,
|
|
"end": 1693,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 44
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1657,
|
|
"end": 1684,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1657,
|
|
"end": 1661,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1662,
|
|
"end": 1684,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 35
|
|
},
|
|
"identifierName": "simpleKeyboardInstance"
|
|
},
|
|
"name": "simpleKeyboardInstance"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1685,
|
|
"end": 1693,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 44
|
|
},
|
|
"identifierName": "dispatch"
|
|
},
|
|
"name": "dispatch"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1694,
|
|
"end": 1957,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1694,
|
|
"end": 1702,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 53
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1706,
|
|
"end": 1957,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 57
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1719,
|
|
"end": 1827,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 118
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1723,
|
|
"end": 1826,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 117
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1723,
|
|
"end": 1732,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 23
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"init": {
|
|
"type": "LogicalExpression",
|
|
"start": 1735,
|
|
"end": 1826,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 117
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "CallExpression",
|
|
"start": 1735,
|
|
"end": 1775,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 66
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1735,
|
|
"end": 1760,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 51
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1735,
|
|
"end": 1743,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 34
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1744,
|
|
"end": 1760,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 51
|
|
},
|
|
"identifierName": "getButtonElement"
|
|
},
|
|
"name": "getButtonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1761,
|
|
"end": 1774,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 65
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
}
|
|
]
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 1779,
|
|
"end": 1826,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 117
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1779,
|
|
"end": 1804,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 95
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1779,
|
|
"end": 1787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 78
|
|
},
|
|
"identifierName": "instance"
|
|
},
|
|
"name": "instance"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1788,
|
|
"end": 1804,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 79
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 95
|
|
},
|
|
"identifierName": "getButtonElement"
|
|
},
|
|
"name": "getButtonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "TemplateLiteral",
|
|
"start": 1805,
|
|
"end": 1825,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 116
|
|
}
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1809,
|
|
"end": 1822,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 100
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 113
|
|
},
|
|
"identifierName": "buttonPressed"
|
|
},
|
|
"name": "buttonPressed"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 1806,
|
|
"end": 1807,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 97
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 98
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "{",
|
|
"cooked": "{"
|
|
},
|
|
"tail": false
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 1823,
|
|
"end": 1824,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 114
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 115
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "}",
|
|
"cooked": "}"
|
|
},
|
|
"tail": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1841,
|
|
"end": 1946,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 11
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "LogicalExpression",
|
|
"start": 1844,
|
|
"end": 1882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 51
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 1844,
|
|
"end": 1853,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 22
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"operator": "&&",
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"start": 1857,
|
|
"end": 1882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 51
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1857,
|
|
"end": 1866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 35
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1867,
|
|
"end": 1882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 51
|
|
},
|
|
"identifierName": "removeAttribute"
|
|
},
|
|
"name": "removeAttribute"
|
|
},
|
|
"computed": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1883,
|
|
"end": 1946,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 11
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1898,
|
|
"end": 1933,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 47
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1898,
|
|
"end": 1932,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 46
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1898,
|
|
"end": 1923,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 37
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1898,
|
|
"end": 1907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 21
|
|
},
|
|
"identifierName": "buttonDOM"
|
|
},
|
|
"name": "buttonDOM"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1908,
|
|
"end": 1923,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 37
|
|
},
|
|
"identifierName": "removeAttribute"
|
|
},
|
|
"name": "removeAttribute"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1924,
|
|
"end": 1931,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 45
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "style",
|
|
"raw": "\"style\""
|
|
},
|
|
"value": "style"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Removing button style on keyup",
|
|
"start": 1416,
|
|
"end": 1449,
|
|
"loc": {
|
|
"start": {
|
|
"line": 46,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 46,
|
|
"column": 37
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initializes key event listeners\r\n ",
|
|
"start": 592,
|
|
"end": 640,
|
|
"loc": {
|
|
"start": {
|
|
"line": 26,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ",
|
|
"start": 1988,
|
|
"end": 2135,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 2139,
|
|
"end": 2869,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 2139,
|
|
"end": 2165,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 28
|
|
},
|
|
"identifierName": "getSimpleKeyboardLayoutKey"
|
|
},
|
|
"name": "getSimpleKeyboardLayoutKey",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2166,
|
|
"end": 2171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 34
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 2172,
|
|
"end": 2869,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 2179,
|
|
"end": 2190,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 15
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 2183,
|
|
"end": 2189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 14
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 2183,
|
|
"end": 2189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 14
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"init": null
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 2198,
|
|
"end": 2559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 69,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 5
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2475,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 33
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 32
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2400,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 36
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2359,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 38
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2316,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 34
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2209,
|
|
"end": 2277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 34
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "CallExpression",
|
|
"start": 2209,
|
|
"end": 2238,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 35
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2209,
|
|
"end": 2228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2209,
|
|
"end": 2219,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2209,
|
|
"end": 2214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2215,
|
|
"end": 2219,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2220,
|
|
"end": 2228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2229,
|
|
"end": 2237,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 34
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Numpad",
|
|
"raw": "\"Numpad\""
|
|
},
|
|
"value": "Numpad"
|
|
}
|
|
]
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2249,
|
|
"end": 2277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 34
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2249,
|
|
"end": 2268,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2249,
|
|
"end": 2259,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2249,
|
|
"end": 2254,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2255,
|
|
"end": 2259,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2260,
|
|
"end": 2268,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2269,
|
|
"end": 2276,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 33
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Shift",
|
|
"raw": "\"Shift\""
|
|
},
|
|
"value": "Shift"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2288,
|
|
"end": 2316,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 34
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2288,
|
|
"end": 2307,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2288,
|
|
"end": 2298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2288,
|
|
"end": 2293,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2294,
|
|
"end": 2298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2299,
|
|
"end": 2307,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2308,
|
|
"end": 2315,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 33
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Space",
|
|
"raw": "\"Space\""
|
|
},
|
|
"value": "Space"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2327,
|
|
"end": 2359,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 38
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2327,
|
|
"end": 2346,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2327,
|
|
"end": 2337,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2327,
|
|
"end": 2332,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2333,
|
|
"end": 2337,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2338,
|
|
"end": 2346,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2347,
|
|
"end": 2358,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 37
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Backspace",
|
|
"raw": "\"Backspace\""
|
|
},
|
|
"value": "Backspace"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2370,
|
|
"end": 2400,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 36
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2370,
|
|
"end": 2389,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2370,
|
|
"end": 2380,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2370,
|
|
"end": 2375,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2376,
|
|
"end": 2380,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2381,
|
|
"end": 2389,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2390,
|
|
"end": 2399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 35
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Control",
|
|
"raw": "\"Control\""
|
|
},
|
|
"value": "Control"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2411,
|
|
"end": 2437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 32
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2411,
|
|
"end": 2430,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2411,
|
|
"end": 2421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2411,
|
|
"end": 2416,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2417,
|
|
"end": 2421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2422,
|
|
"end": 2430,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2431,
|
|
"end": 2436,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 31
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Alt",
|
|
"raw": "\"Alt\""
|
|
},
|
|
"value": "Alt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2448,
|
|
"end": 2475,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 33
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2448,
|
|
"end": 2467,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2448,
|
|
"end": 2458,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 16
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2448,
|
|
"end": 2453,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 11
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2454,
|
|
"end": 2458,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 16
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2459,
|
|
"end": 2467,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 25
|
|
},
|
|
"identifierName": "includes"
|
|
},
|
|
"name": "includes"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 2468,
|
|
"end": 2474,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 32
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Meta",
|
|
"raw": "\"Meta\""
|
|
},
|
|
"value": "Meta"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 2482,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 2491,
|
|
"end": 2511,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 26
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 2491,
|
|
"end": 2510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 25
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 2491,
|
|
"end": 2497,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 12
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"start": 2500,
|
|
"end": 2510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2500,
|
|
"end": 2505,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 20
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2506,
|
|
"end": 2510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 25
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"start": 2524,
|
|
"end": 2559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 79,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 2533,
|
|
"end": 2552,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 25
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 2533,
|
|
"end": 2551,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 24
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 2533,
|
|
"end": 2539,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 12
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"start": 2542,
|
|
"end": 2551,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 24
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2542,
|
|
"end": 2547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 20
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2548,
|
|
"end": 2551,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 24
|
|
},
|
|
"identifierName": "key"
|
|
},
|
|
"name": "key"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ",
|
|
"start": 2567,
|
|
"end": 2636,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 2642,
|
|
"end": 2842,
|
|
"loc": {
|
|
"start": {
|
|
"line": 86,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 91,
|
|
"column": 5
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "LogicalExpression",
|
|
"start": 2654,
|
|
"end": 2788,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 98
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2654,
|
|
"end": 2685,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 37
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 2654,
|
|
"end": 2660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 12
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output",
|
|
"leadingComments": null
|
|
},
|
|
"operator": "!==",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2665,
|
|
"end": 2685,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 37
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2665,
|
|
"end": 2683,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2665,
|
|
"end": 2671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 23
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2672,
|
|
"end": 2683,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 35
|
|
},
|
|
"identifierName": "toUpperCase"
|
|
},
|
|
"name": "toUpperCase"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"start": 2697,
|
|
"end": 2787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 97
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "LogicalExpression",
|
|
"start": 2697,
|
|
"end": 2761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 71
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2697,
|
|
"end": 2718,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 28
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 2697,
|
|
"end": 2710,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 20
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2697,
|
|
"end": 2707,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 17
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2697,
|
|
"end": 2702,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 12
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2703,
|
|
"end": 2707,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 17
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "NumericLiteral",
|
|
"start": 2708,
|
|
"end": 2709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 19
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "0"
|
|
},
|
|
"value": 0
|
|
},
|
|
"computed": true
|
|
},
|
|
"operator": "===",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 2715,
|
|
"end": 2718,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 28
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "F",
|
|
"raw": "\"F\""
|
|
},
|
|
"value": "F"
|
|
}
|
|
},
|
|
"operator": "&&",
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2722,
|
|
"end": 2761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 71
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2722,
|
|
"end": 2738,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 48
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2722,
|
|
"end": 2728,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 38
|
|
},
|
|
"identifierName": "Number"
|
|
},
|
|
"name": "Number"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2729,
|
|
"end": 2738,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 48
|
|
},
|
|
"identifierName": "isInteger"
|
|
},
|
|
"name": "isInteger"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "CallExpression",
|
|
"start": 2739,
|
|
"end": 2760,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 70
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start": 2739,
|
|
"end": 2745,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 55
|
|
},
|
|
"identifierName": "Number"
|
|
},
|
|
"name": "Number"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "MemberExpression",
|
|
"start": 2746,
|
|
"end": 2759,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 69
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2746,
|
|
"end": 2756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 66
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2746,
|
|
"end": 2751,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 61
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2752,
|
|
"end": 2756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 66
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "NumericLiteral",
|
|
"start": 2757,
|
|
"end": 2758,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 68
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
},
|
|
"computed": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "&&",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 2765,
|
|
"end": 2787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 97
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 2765,
|
|
"end": 2782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 92
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 2765,
|
|
"end": 2775,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 85
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2765,
|
|
"end": 2770,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 80
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2771,
|
|
"end": 2775,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 81
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 85
|
|
},
|
|
"identifierName": "code"
|
|
},
|
|
"name": "code"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2776,
|
|
"end": 2782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 92
|
|
},
|
|
"identifierName": "length"
|
|
},
|
|
"name": "length"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "<=",
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start": 2786,
|
|
"end": 2787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 97
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 3,
|
|
"raw": "3"
|
|
},
|
|
"value": 3
|
|
}
|
|
},
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 2696
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 2796,
|
|
"end": 2842,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 91,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 2805,
|
|
"end": 2835,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 36
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 2805,
|
|
"end": 2834,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 35
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 2805,
|
|
"end": 2811,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 12
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start": 2814,
|
|
"end": 2834,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 35
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2814,
|
|
"end": 2832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2814,
|
|
"end": 2820,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 21
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2821,
|
|
"end": 2832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 33
|
|
},
|
|
"identifierName": "toLowerCase"
|
|
},
|
|
"name": "toLowerCase"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null,
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ",
|
|
"start": 2567,
|
|
"end": 2636,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start": 2850,
|
|
"end": 2864,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 18
|
|
}
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start": 2857,
|
|
"end": 2863,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 17
|
|
},
|
|
"identifierName": "output"
|
|
},
|
|
"name": "output"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ",
|
|
"start": 1988,
|
|
"end": 2135,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Physical Keyboard Service\r\n ",
|
|
"start": 0,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 3
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"__PseudoExport__": false,
|
|
"trailingComments": []
|
|
},
|
|
"leadingComments": null
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Physical Keyboard Service\r\n ",
|
|
"start": 0,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Creates an instance of the PhysicalKeyboard service\r\n ",
|
|
"start": 68,
|
|
"end": 136,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * @type {object} A simple-keyboard instance\r\n ",
|
|
"start": 182,
|
|
"end": 244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Bindings\r\n ",
|
|
"start": 311,
|
|
"end": 340,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initialize key listeners\r\n ",
|
|
"start": 502,
|
|
"end": 547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initializes key event listeners\r\n ",
|
|
"start": 592,
|
|
"end": 640,
|
|
"loc": {
|
|
"start": {
|
|
"line": 26,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Adding button style on keydown",
|
|
"start": 673,
|
|
"end": 706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Removing button style on keyup",
|
|
"start": 1416,
|
|
"end": 1449,
|
|
"loc": {
|
|
"start": {
|
|
"line": 46,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 46,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ",
|
|
"start": 1988,
|
|
"end": 2135,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ",
|
|
"start": 2567,
|
|
"end": 2636,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tokens": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Physical Keyboard Service\r\n ",
|
|
"start": 0,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "class",
|
|
"keyword": "class",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "class",
|
|
"start": 40,
|
|
"end": 45,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "PhysicalKeyboard",
|
|
"start": 46,
|
|
"end": 62,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 63,
|
|
"end": 64,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Creates an instance of the PhysicalKeyboard service\r\n ",
|
|
"start": 68,
|
|
"end": 136,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "constructor",
|
|
"start": 140,
|
|
"end": 151,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 151,
|
|
"end": 152,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "simpleKeyboardInstance",
|
|
"start": 152,
|
|
"end": 174,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 174,
|
|
"end": 175,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 175,
|
|
"end": 176,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * @type {object} A simple-keyboard instance\r\n ",
|
|
"start": 182,
|
|
"end": 244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 250,
|
|
"end": 254,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 254,
|
|
"end": 255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "simpleKeyboardInstance",
|
|
"start": 255,
|
|
"end": 277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 278,
|
|
"end": 279,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "simpleKeyboardInstance",
|
|
"start": 280,
|
|
"end": 302,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 56
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 302,
|
|
"end": 303,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 57
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Bindings\r\n ",
|
|
"start": 311,
|
|
"end": 340,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 346,
|
|
"end": 350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 350,
|
|
"end": 351,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "initKeyboardListener",
|
|
"start": 351,
|
|
"end": 371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 372,
|
|
"end": 373,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 374,
|
|
"end": 378,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 378,
|
|
"end": 379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "initKeyboardListener",
|
|
"start": 379,
|
|
"end": 399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 57
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 399,
|
|
"end": 400,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 57
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 58
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "bind",
|
|
"start": 400,
|
|
"end": 404,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 58
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 404,
|
|
"end": 405,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 63
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 405,
|
|
"end": 409,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 67
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 409,
|
|
"end": 410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 68
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 410,
|
|
"end": 411,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 68
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 69
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 417,
|
|
"end": 421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 421,
|
|
"end": 422,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getSimpleKeyboardLayoutKey",
|
|
"start": 422,
|
|
"end": 448,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 449,
|
|
"end": 450,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 451,
|
|
"end": 455,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 455,
|
|
"end": 456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getSimpleKeyboardLayoutKey",
|
|
"start": 456,
|
|
"end": 482,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 69
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 482,
|
|
"end": 483,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 69
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 70
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "bind",
|
|
"start": 483,
|
|
"end": 487,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 74
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 487,
|
|
"end": 488,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 488,
|
|
"end": 492,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 79
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 492,
|
|
"end": 493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 79
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 80
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 493,
|
|
"end": 494,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 80
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 81
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initialize key listeners\r\n ",
|
|
"start": 502,
|
|
"end": 547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 553,
|
|
"end": 557,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 557,
|
|
"end": 558,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "initKeyboardListener",
|
|
"start": 558,
|
|
"end": 578,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 578,
|
|
"end": 579,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 579,
|
|
"end": 580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 580,
|
|
"end": 581,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 585,
|
|
"end": 586,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Initializes key event listeners\r\n ",
|
|
"start": 592,
|
|
"end": 640,
|
|
"loc": {
|
|
"start": {
|
|
"line": 26,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "initKeyboardListener",
|
|
"start": 644,
|
|
"end": 664,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 664,
|
|
"end": 665,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 665,
|
|
"end": 666,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 666,
|
|
"end": 667,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Adding button style on keydown",
|
|
"start": 673,
|
|
"end": 706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "document",
|
|
"start": 712,
|
|
"end": 720,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 720,
|
|
"end": 721,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "addEventListener",
|
|
"start": 721,
|
|
"end": 737,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 737,
|
|
"end": 738,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "keydown",
|
|
"start": 738,
|
|
"end": 747,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 747,
|
|
"end": 748,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 749,
|
|
"end": 750,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 750,
|
|
"end": 755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 755,
|
|
"end": 756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 757,
|
|
"end": 759,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 760,
|
|
"end": 761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 53
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 769,
|
|
"end": 771,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 771,
|
|
"end": 772,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 772,
|
|
"end": 776,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 776,
|
|
"end": 777,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "simpleKeyboardInstance",
|
|
"start": 777,
|
|
"end": 799,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 799,
|
|
"end": 800,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "options",
|
|
"start": 800,
|
|
"end": 807,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 807,
|
|
"end": 808,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "physicalKeyboardHighlight",
|
|
"start": 808,
|
|
"end": 833,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 70
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 833,
|
|
"end": 834,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 71
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 834,
|
|
"end": 835,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 71
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 72
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "let",
|
|
"keyword": "let",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "let",
|
|
"start": 845,
|
|
"end": 848,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonPressed",
|
|
"start": 849,
|
|
"end": 862,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 863,
|
|
"end": 864,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 865,
|
|
"end": 869,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 869,
|
|
"end": 870,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getSimpleKeyboardLayoutKey",
|
|
"start": 870,
|
|
"end": 896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 896,
|
|
"end": 897,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 59
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 897,
|
|
"end": 902,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 65
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 902,
|
|
"end": 903,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 66
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 903,
|
|
"end": 904,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 67
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 916,
|
|
"end": 920,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 920,
|
|
"end": 921,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "simpleKeyboardInstance",
|
|
"start": 921,
|
|
"end": 943,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 943,
|
|
"end": 944,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "dispatch",
|
|
"start": 944,
|
|
"end": 952,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 952,
|
|
"end": 953,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "instance",
|
|
"start": 953,
|
|
"end": 961,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 53
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 962,
|
|
"end": 964,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 56
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 965,
|
|
"end": 966,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 57
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 58
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "let",
|
|
"keyword": "let",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "let",
|
|
"start": 978,
|
|
"end": 981,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonDOM",
|
|
"start": 982,
|
|
"end": 991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 992,
|
|
"end": 993,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "instance",
|
|
"start": 994,
|
|
"end": 1002,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1002,
|
|
"end": 1003,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getButtonElement",
|
|
"start": 1003,
|
|
"end": 1019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1019,
|
|
"end": 1020,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonPressed",
|
|
"start": 1020,
|
|
"end": 1033,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 65
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1033,
|
|
"end": 1034,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 66
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 1035,
|
|
"end": 1037,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 69
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "instance",
|
|
"start": 1038,
|
|
"end": 1046,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 78
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1046,
|
|
"end": 1047,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 78
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 79
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getButtonElement",
|
|
"start": 1047,
|
|
"end": 1063,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 79
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 95
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1063,
|
|
"end": 1064,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 95
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 96
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "`",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1064,
|
|
"end": 1065,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 97
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "template",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{",
|
|
"start": 1065,
|
|
"end": 1066,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 97
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 98
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "${",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1066,
|
|
"end": 1068,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 98
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 100
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonPressed",
|
|
"start": 1068,
|
|
"end": 1081,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 100
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 113
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1081,
|
|
"end": 1082,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 113
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 114
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "template",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "}",
|
|
"start": 1082,
|
|
"end": 1083,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 114
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 115
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "`",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1083,
|
|
"end": 1084,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 115
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 116
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1084,
|
|
"end": 1085,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 116
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 117
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1085,
|
|
"end": 1086,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 117
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 118
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 1100,
|
|
"end": 1102,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1102,
|
|
"end": 1103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonDOM",
|
|
"start": 1103,
|
|
"end": 1112,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1112,
|
|
"end": 1113,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1113,
|
|
"end": 1114,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonDOM",
|
|
"start": 1128,
|
|
"end": 1137,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1137,
|
|
"end": 1138,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "style",
|
|
"start": 1138,
|
|
"end": 1143,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1143,
|
|
"end": 1144,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "backgroundColor",
|
|
"start": 1144,
|
|
"end": 1159,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1160,
|
|
"end": 1161,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1162,
|
|
"end": 1166,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1166,
|
|
"end": 1167,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "simpleKeyboardInstance",
|
|
"start": 1167,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 73
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1189,
|
|
"end": 1190,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 73
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 74
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "options",
|
|
"start": 1190,
|
|
"end": 1197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 81
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1197,
|
|
"end": 1198,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 81
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 82
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "physicalKeyboardHighlightBgColor",
|
|
"start": 1198,
|
|
"end": 1230,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 82
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 114
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 1231,
|
|
"end": 1233,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 115
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 117
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "#9ab4d0",
|
|
"start": 1234,
|
|
"end": 1243,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 118
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 127
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1243,
|
|
"end": 1244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 127
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 128
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonDOM",
|
|
"start": 1258,
|
|
"end": 1267,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1267,
|
|
"end": 1268,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "style",
|
|
"start": 1268,
|
|
"end": 1273,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1273,
|
|
"end": 1274,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "color",
|
|
"start": 1274,
|
|
"end": 1279,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1280,
|
|
"end": 1281,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1282,
|
|
"end": 1286,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1286,
|
|
"end": 1287,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "simpleKeyboardInstance",
|
|
"start": 1287,
|
|
"end": 1309,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 63
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1309,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 64
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "options",
|
|
"start": 1310,
|
|
"end": 1317,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 71
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1317,
|
|
"end": 1318,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 71
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 72
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "physicalKeyboardHighlightTextColor",
|
|
"start": 1318,
|
|
"end": 1352,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 72
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 106
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 1353,
|
|
"end": 1355,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 107
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 109
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "white",
|
|
"start": 1356,
|
|
"end": 1363,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 110
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 117
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1363,
|
|
"end": 1364,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 117
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 118
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1376,
|
|
"end": 1377,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1387,
|
|
"end": 1388,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1388,
|
|
"end": 1389,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1389,
|
|
"end": 1390,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1398,
|
|
"end": 1399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1405,
|
|
"end": 1406,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1406,
|
|
"end": 1407,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1407,
|
|
"end": 1408,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Removing button style on keyup",
|
|
"start": 1416,
|
|
"end": 1449,
|
|
"loc": {
|
|
"start": {
|
|
"line": 46,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 46,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "document",
|
|
"start": 1455,
|
|
"end": 1463,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1463,
|
|
"end": 1464,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "addEventListener",
|
|
"start": 1464,
|
|
"end": 1480,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1480,
|
|
"end": 1481,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "keyup",
|
|
"start": 1481,
|
|
"end": 1488,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1488,
|
|
"end": 1489,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1490,
|
|
"end": 1491,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 1491,
|
|
"end": 1496,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1496,
|
|
"end": 1497,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1498,
|
|
"end": 1500,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1501,
|
|
"end": 1502,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 1510,
|
|
"end": 1512,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1512,
|
|
"end": 1513,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1513,
|
|
"end": 1517,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1517,
|
|
"end": 1518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "simpleKeyboardInstance",
|
|
"start": 1518,
|
|
"end": 1540,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1540,
|
|
"end": 1541,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "options",
|
|
"start": 1541,
|
|
"end": 1548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1548,
|
|
"end": 1549,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "physicalKeyboardHighlight",
|
|
"start": 1549,
|
|
"end": 1574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 70
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1574,
|
|
"end": 1575,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 71
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1575,
|
|
"end": 1576,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 71
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 72
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "let",
|
|
"keyword": "let",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "let",
|
|
"start": 1586,
|
|
"end": 1589,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonPressed",
|
|
"start": 1590,
|
|
"end": 1603,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1604,
|
|
"end": 1605,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1606,
|
|
"end": 1610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1610,
|
|
"end": 1611,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getSimpleKeyboardLayoutKey",
|
|
"start": 1611,
|
|
"end": 1637,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1637,
|
|
"end": 1638,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 59
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 1638,
|
|
"end": 1643,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 65
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1643,
|
|
"end": 1644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 66
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1644,
|
|
"end": 1645,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 67
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1657,
|
|
"end": 1661,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1661,
|
|
"end": 1662,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "simpleKeyboardInstance",
|
|
"start": 1662,
|
|
"end": 1684,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1684,
|
|
"end": 1685,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "dispatch",
|
|
"start": 1685,
|
|
"end": 1693,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1693,
|
|
"end": 1694,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "instance",
|
|
"start": 1694,
|
|
"end": 1702,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 53
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1703,
|
|
"end": 1705,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 56
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1706,
|
|
"end": 1707,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 57
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 58
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "let",
|
|
"keyword": "let",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "let",
|
|
"start": 1719,
|
|
"end": 1722,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonDOM",
|
|
"start": 1723,
|
|
"end": 1732,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1733,
|
|
"end": 1734,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "instance",
|
|
"start": 1735,
|
|
"end": 1743,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1743,
|
|
"end": 1744,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getButtonElement",
|
|
"start": 1744,
|
|
"end": 1760,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1760,
|
|
"end": 1761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonPressed",
|
|
"start": 1761,
|
|
"end": 1774,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 65
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1774,
|
|
"end": 1775,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 66
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 1776,
|
|
"end": 1778,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 69
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "instance",
|
|
"start": 1779,
|
|
"end": 1787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 78
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1787,
|
|
"end": 1788,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 78
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 79
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getButtonElement",
|
|
"start": 1788,
|
|
"end": 1804,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 79
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 95
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1804,
|
|
"end": 1805,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 95
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 96
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "`",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1805,
|
|
"end": 1806,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 97
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "template",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{",
|
|
"start": 1806,
|
|
"end": 1807,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 97
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 98
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "${",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1807,
|
|
"end": 1809,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 98
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 100
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonPressed",
|
|
"start": 1809,
|
|
"end": 1822,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 100
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 113
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1822,
|
|
"end": 1823,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 113
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 114
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "template",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "}",
|
|
"start": 1823,
|
|
"end": 1824,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 114
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 115
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "`",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1824,
|
|
"end": 1825,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 115
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 116
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1825,
|
|
"end": 1826,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 116
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 117
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1826,
|
|
"end": 1827,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 117
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 118
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 1841,
|
|
"end": 1843,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1843,
|
|
"end": 1844,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonDOM",
|
|
"start": 1844,
|
|
"end": 1853,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "&&",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 2,
|
|
"updateContext": null
|
|
},
|
|
"value": "&&",
|
|
"start": 1854,
|
|
"end": 1856,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonDOM",
|
|
"start": 1857,
|
|
"end": 1866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1866,
|
|
"end": 1867,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "removeAttribute",
|
|
"start": 1867,
|
|
"end": 1882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1882,
|
|
"end": 1883,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1883,
|
|
"end": 1884,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 53
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonDOM",
|
|
"start": 1898,
|
|
"end": 1907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1907,
|
|
"end": 1908,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "removeAttribute",
|
|
"start": 1908,
|
|
"end": 1923,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1923,
|
|
"end": 1924,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "style",
|
|
"start": 1924,
|
|
"end": 1931,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1931,
|
|
"end": 1932,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1932,
|
|
"end": 1933,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1945,
|
|
"end": 1946,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1956,
|
|
"end": 1957,
|
|
"loc": {
|
|
"start": {
|
|
"line": 57,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1957,
|
|
"end": 1958,
|
|
"loc": {
|
|
"start": {
|
|
"line": 57,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1958,
|
|
"end": 1959,
|
|
"loc": {
|
|
"start": {
|
|
"line": 57,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1967,
|
|
"end": 1968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1974,
|
|
"end": 1975,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1975,
|
|
"end": 1976,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1976,
|
|
"end": 1977,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1981,
|
|
"end": 1982,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n ",
|
|
"start": 1988,
|
|
"end": 2135,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getSimpleKeyboardLayoutKey",
|
|
"start": 2139,
|
|
"end": 2165,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2165,
|
|
"end": 2166,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2166,
|
|
"end": 2171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2171,
|
|
"end": 2172,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2172,
|
|
"end": 2173,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "let",
|
|
"keyword": "let",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "let",
|
|
"start": 2179,
|
|
"end": 2182,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "output",
|
|
"start": 2183,
|
|
"end": 2189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2189,
|
|
"end": 2190,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 2198,
|
|
"end": 2200,
|
|
"loc": {
|
|
"start": {
|
|
"line": 69,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2200,
|
|
"end": 2201,
|
|
"loc": {
|
|
"start": {
|
|
"line": 69,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2209,
|
|
"end": 2214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2214,
|
|
"end": 2215,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2215,
|
|
"end": 2219,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2219,
|
|
"end": 2220,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "includes",
|
|
"start": 2220,
|
|
"end": 2228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2228,
|
|
"end": 2229,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "Numpad",
|
|
"start": 2229,
|
|
"end": 2237,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2237,
|
|
"end": 2238,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 2239,
|
|
"end": 2241,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2249,
|
|
"end": 2254,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2254,
|
|
"end": 2255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2255,
|
|
"end": 2259,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2259,
|
|
"end": 2260,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "includes",
|
|
"start": 2260,
|
|
"end": 2268,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2268,
|
|
"end": 2269,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "Shift",
|
|
"start": 2269,
|
|
"end": 2276,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2276,
|
|
"end": 2277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 2278,
|
|
"end": 2280,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2288,
|
|
"end": 2293,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2293,
|
|
"end": 2294,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2294,
|
|
"end": 2298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2298,
|
|
"end": 2299,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "includes",
|
|
"start": 2299,
|
|
"end": 2307,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2307,
|
|
"end": 2308,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "Space",
|
|
"start": 2308,
|
|
"end": 2315,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2315,
|
|
"end": 2316,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 2317,
|
|
"end": 2319,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2327,
|
|
"end": 2332,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2332,
|
|
"end": 2333,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2333,
|
|
"end": 2337,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2337,
|
|
"end": 2338,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "includes",
|
|
"start": 2338,
|
|
"end": 2346,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2346,
|
|
"end": 2347,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "Backspace",
|
|
"start": 2347,
|
|
"end": 2358,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2358,
|
|
"end": 2359,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 2360,
|
|
"end": 2362,
|
|
"loc": {
|
|
"start": {
|
|
"line": 73,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 73,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2370,
|
|
"end": 2375,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2375,
|
|
"end": 2376,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2376,
|
|
"end": 2380,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2380,
|
|
"end": 2381,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "includes",
|
|
"start": 2381,
|
|
"end": 2389,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2389,
|
|
"end": 2390,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "Control",
|
|
"start": 2390,
|
|
"end": 2399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2399,
|
|
"end": 2400,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 2401,
|
|
"end": 2403,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2411,
|
|
"end": 2416,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2416,
|
|
"end": 2417,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2417,
|
|
"end": 2421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2421,
|
|
"end": 2422,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "includes",
|
|
"start": 2422,
|
|
"end": 2430,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2430,
|
|
"end": 2431,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "Alt",
|
|
"start": 2431,
|
|
"end": 2436,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2436,
|
|
"end": 2437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 2438,
|
|
"end": 2440,
|
|
"loc": {
|
|
"start": {
|
|
"line": 75,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2448,
|
|
"end": 2453,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2453,
|
|
"end": 2454,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2454,
|
|
"end": 2458,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2458,
|
|
"end": 2459,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "includes",
|
|
"start": 2459,
|
|
"end": 2467,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2467,
|
|
"end": 2468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "Meta",
|
|
"start": 2468,
|
|
"end": 2474,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2474,
|
|
"end": 2475,
|
|
"loc": {
|
|
"start": {
|
|
"line": 76,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2481,
|
|
"end": 2482,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2482,
|
|
"end": 2483,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "output",
|
|
"start": 2491,
|
|
"end": 2497,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 2498,
|
|
"end": 2499,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2500,
|
|
"end": 2505,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2505,
|
|
"end": 2506,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2506,
|
|
"end": 2510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2510,
|
|
"end": 2511,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2517,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 79,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "else",
|
|
"keyword": "else",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "else",
|
|
"start": 2519,
|
|
"end": 2523,
|
|
"loc": {
|
|
"start": {
|
|
"line": 79,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2524,
|
|
"end": 2525,
|
|
"loc": {
|
|
"start": {
|
|
"line": 79,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "output",
|
|
"start": 2533,
|
|
"end": 2539,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 2540,
|
|
"end": 2541,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2542,
|
|
"end": 2547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2547,
|
|
"end": 2548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "key",
|
|
"start": 2548,
|
|
"end": 2551,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2551,
|
|
"end": 2552,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2558,
|
|
"end": 2559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * If button is not uppercase, casting to lowercase\r\n ",
|
|
"start": 2567,
|
|
"end": 2636,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 2642,
|
|
"end": 2644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 86,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 86,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2645,
|
|
"end": 2646,
|
|
"loc": {
|
|
"start": {
|
|
"line": 86,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 86,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "output",
|
|
"start": 2654,
|
|
"end": 2660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "==/!=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 6,
|
|
"updateContext": null
|
|
},
|
|
"value": "!==",
|
|
"start": 2661,
|
|
"end": 2664,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "output",
|
|
"start": 2665,
|
|
"end": 2671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2671,
|
|
"end": 2672,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "toUpperCase",
|
|
"start": 2672,
|
|
"end": 2683,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2683,
|
|
"end": 2684,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2684,
|
|
"end": 2685,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 2686,
|
|
"end": 2688,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2696,
|
|
"end": 2697,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2697,
|
|
"end": 2702,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2702,
|
|
"end": 2703,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2703,
|
|
"end": 2707,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "[",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2707,
|
|
"end": 2708,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "num",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": 0,
|
|
"start": 2708,
|
|
"end": 2709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "]",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2709,
|
|
"end": 2710,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "==/!=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 6,
|
|
"updateContext": null
|
|
},
|
|
"value": "===",
|
|
"start": 2711,
|
|
"end": 2714,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "F",
|
|
"start": 2715,
|
|
"end": 2718,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "&&",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 2,
|
|
"updateContext": null
|
|
},
|
|
"value": "&&",
|
|
"start": 2719,
|
|
"end": 2721,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "Number",
|
|
"start": 2722,
|
|
"end": 2728,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2728,
|
|
"end": 2729,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "isInteger",
|
|
"start": 2729,
|
|
"end": 2738,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2738,
|
|
"end": 2739,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "Number",
|
|
"start": 2739,
|
|
"end": 2745,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 55
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2745,
|
|
"end": 2746,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 56
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2746,
|
|
"end": 2751,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 61
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2751,
|
|
"end": 2752,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2752,
|
|
"end": 2756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 66
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "[",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2756,
|
|
"end": 2757,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 67
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "num",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": 1,
|
|
"start": 2757,
|
|
"end": 2758,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 68
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "]",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2758,
|
|
"end": 2759,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 68
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 69
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2759,
|
|
"end": 2760,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 69
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 70
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2760,
|
|
"end": 2761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 71
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "&&",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 2,
|
|
"updateContext": null
|
|
},
|
|
"value": "&&",
|
|
"start": 2762,
|
|
"end": 2764,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 72
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 74
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 2765,
|
|
"end": 2770,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 80
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2770,
|
|
"end": 2771,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 80
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 81
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "code",
|
|
"start": 2771,
|
|
"end": 2775,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 81
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 85
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2775,
|
|
"end": 2776,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 85
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 86
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "length",
|
|
"start": 2776,
|
|
"end": 2782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 92
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "</>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 7,
|
|
"updateContext": null
|
|
},
|
|
"value": "<=",
|
|
"start": 2783,
|
|
"end": 2785,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 93
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 95
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "num",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": 3,
|
|
"start": 2786,
|
|
"end": 2787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 97
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2787,
|
|
"end": 2788,
|
|
"loc": {
|
|
"start": {
|
|
"line": 88,
|
|
"column": 97
|
|
},
|
|
"end": {
|
|
"line": 88,
|
|
"column": 98
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2794,
|
|
"end": 2795,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2796,
|
|
"end": 2797,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "output",
|
|
"start": 2805,
|
|
"end": 2811,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 2812,
|
|
"end": 2813,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "output",
|
|
"start": 2814,
|
|
"end": 2820,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2820,
|
|
"end": 2821,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "toLowerCase",
|
|
"start": 2821,
|
|
"end": 2832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2832,
|
|
"end": 2833,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2833,
|
|
"end": 2834,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2834,
|
|
"end": 2835,
|
|
"loc": {
|
|
"start": {
|
|
"line": 90,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2841,
|
|
"end": 2842,
|
|
"loc": {
|
|
"start": {
|
|
"line": 91,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 91,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "return",
|
|
"keyword": "return",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "return",
|
|
"start": 2850,
|
|
"end": 2856,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "output",
|
|
"start": 2857,
|
|
"end": 2863,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2863,
|
|
"end": 2864,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2868,
|
|
"end": 2869,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2871,
|
|
"end": 2872,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "export",
|
|
"keyword": "export",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "export",
|
|
"start": 2876,
|
|
"end": 2882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 97,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "default",
|
|
"keyword": "default",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "default",
|
|
"start": 2883,
|
|
"end": 2890,
|
|
"loc": {
|
|
"start": {
|
|
"line": 97,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "PhysicalKeyboard",
|
|
"start": 2891,
|
|
"end": 2907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 97,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2907,
|
|
"end": 2908,
|
|
"loc": {
|
|
"start": {
|
|
"line": 97,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "eof",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2908,
|
|
"end": 2908,
|
|
"loc": {
|
|
"start": {
|
|
"line": 97,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"column": 32
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |