mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-20 09:45:37 +08:00
2296 lines
63 KiB
JSON
2296 lines
63 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 746,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 30
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 746,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 30
|
|
}
|
|
},
|
|
"sourceType": "module",
|
|
"body": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 38,
|
|
"end": 712,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 44,
|
|
"end": 58,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 20
|
|
},
|
|
"identifierName": "KeyboardLayout"
|
|
},
|
|
"name": "KeyboardLayout",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 59,
|
|
"end": 712,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 173,
|
|
"end": 709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": true,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 180,
|
|
"end": 196,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 25
|
|
},
|
|
"identifierName": "getDefaultLayout"
|
|
},
|
|
"name": "getDefaultLayout"
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 198,
|
|
"end": 709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start": 205,
|
|
"end": 703,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 5
|
|
}
|
|
},
|
|
"argument": {
|
|
"type": "ObjectExpression",
|
|
"start": 212,
|
|
"end": 703,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 5
|
|
}
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 221,
|
|
"end": 456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"start": 221,
|
|
"end": 230,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 15
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "default",
|
|
"raw": "'default'"
|
|
},
|
|
"value": "default"
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"start": 232,
|
|
"end": 456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 243,
|
|
"end": 277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 42
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
|
|
"raw": "'` 1 2 3 4 5 6 7 8 9 0 - = {bksp}'"
|
|
},
|
|
"value": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 288,
|
|
"end": 322,
|
|
"loc": {
|
|
"start": {
|
|
"line": 13,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 13,
|
|
"column": 42
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{tab} q w e r t y u i o p [ ] \\",
|
|
"raw": "'{tab} q w e r t y u i o p [ ] \\\\'"
|
|
},
|
|
"value": "{tab} q w e r t y u i o p [ ] \\"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 333,
|
|
"end": 372,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{lock} a s d f g h j k l ; ' {enter}",
|
|
"raw": "'{lock} a s d f g h j k l ; \\' {enter}'"
|
|
},
|
|
"value": "{lock} a s d f g h j k l ; ' {enter}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 383,
|
|
"end": 420,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 45
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{shift} z x c v b n m , . / {shift}",
|
|
"raw": "'{shift} z x c v b n m , . / {shift}'"
|
|
},
|
|
"value": "{shift} z x c v b n m , . / {shift}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 431,
|
|
"end": 447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 24
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".com @ {space}",
|
|
"raw": "'.com @ {space}'"
|
|
},
|
|
"value": ".com @ {space}"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 465,
|
|
"end": 696,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 7
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"start": 465,
|
|
"end": 472,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 13
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "shift",
|
|
"raw": "'shift'"
|
|
},
|
|
"value": "shift"
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"start": 474,
|
|
"end": 696,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 7
|
|
}
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 485,
|
|
"end": 519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "~ ! @ # $ % ^ & * ( ) _ + {bksp}",
|
|
"raw": "'~ ! @ # $ % ^ & * ( ) _ + {bksp}'"
|
|
},
|
|
"value": "~ ! @ # $ % ^ & * ( ) _ + {bksp}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 530,
|
|
"end": 563,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 41
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{tab} Q W E R T Y U I O P { } |",
|
|
"raw": "'{tab} Q W E R T Y U I O P { } |'"
|
|
},
|
|
"value": "{tab} Q W E R T Y U I O P { } |"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 574,
|
|
"end": 612,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 46
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{lock} A S D F G H J K L : \" {enter}",
|
|
"raw": "'{lock} A S D F G H J K L : \" {enter}'"
|
|
},
|
|
"value": "{lock} A S D F G H J K L : \" {enter}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 623,
|
|
"end": 660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 45
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{shift} Z X C V B N M < > ? {shift}",
|
|
"raw": "'{shift} Z X C V B N M < > ? {shift}'"
|
|
},
|
|
"value": "{shift} Z X C V B N M < > ? {shift}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 671,
|
|
"end": 687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 24
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".com @ {space}",
|
|
"raw": "'.com @ {space}'"
|
|
},
|
|
"value": ".com @ {space}"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n ",
|
|
"start": 64,
|
|
"end": 169,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [],
|
|
"name": "_",
|
|
"trailingComments": []
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 716,
|
|
"end": 746,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 30
|
|
}
|
|
},
|
|
"declaration": {
|
|
"type": "Identifier",
|
|
"start": 731,
|
|
"end": 745,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 29
|
|
},
|
|
"identifierName": "KeyboardLayout"
|
|
},
|
|
"name": "KeyboardLayout"
|
|
},
|
|
"name": "_",
|
|
"leadingComments": [],
|
|
"trailingComments": []
|
|
},
|
|
{
|
|
"type": "ExportDefaultDeclaration",
|
|
"start": 716,
|
|
"end": 746,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 30
|
|
}
|
|
},
|
|
"declaration": {
|
|
"type": "ClassDeclaration",
|
|
"start": 38,
|
|
"end": 712,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 44,
|
|
"end": 58,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 20
|
|
},
|
|
"identifierName": "KeyboardLayout"
|
|
},
|
|
"name": "KeyboardLayout",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 59,
|
|
"end": 712,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 173,
|
|
"end": 709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": true,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 180,
|
|
"end": 196,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 25
|
|
},
|
|
"identifierName": "getDefaultLayout"
|
|
},
|
|
"name": "getDefaultLayout"
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 198,
|
|
"end": 709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start": 205,
|
|
"end": 703,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 5
|
|
}
|
|
},
|
|
"argument": {
|
|
"type": "ObjectExpression",
|
|
"start": 212,
|
|
"end": 703,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 5
|
|
}
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 221,
|
|
"end": 456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"start": 221,
|
|
"end": 230,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 15
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "default",
|
|
"raw": "'default'"
|
|
},
|
|
"value": "default"
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"start": 232,
|
|
"end": 456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 243,
|
|
"end": 277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 42
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
|
|
"raw": "'` 1 2 3 4 5 6 7 8 9 0 - = {bksp}'"
|
|
},
|
|
"value": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 288,
|
|
"end": 322,
|
|
"loc": {
|
|
"start": {
|
|
"line": 13,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 13,
|
|
"column": 42
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{tab} q w e r t y u i o p [ ] \\",
|
|
"raw": "'{tab} q w e r t y u i o p [ ] \\\\'"
|
|
},
|
|
"value": "{tab} q w e r t y u i o p [ ] \\"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 333,
|
|
"end": 372,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{lock} a s d f g h j k l ; ' {enter}",
|
|
"raw": "'{lock} a s d f g h j k l ; \\' {enter}'"
|
|
},
|
|
"value": "{lock} a s d f g h j k l ; ' {enter}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 383,
|
|
"end": 420,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 45
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{shift} z x c v b n m , . / {shift}",
|
|
"raw": "'{shift} z x c v b n m , . / {shift}'"
|
|
},
|
|
"value": "{shift} z x c v b n m , . / {shift}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 431,
|
|
"end": 447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 24
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".com @ {space}",
|
|
"raw": "'.com @ {space}'"
|
|
},
|
|
"value": ".com @ {space}"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 465,
|
|
"end": 696,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 7
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"start": 465,
|
|
"end": 472,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 13
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "shift",
|
|
"raw": "'shift'"
|
|
},
|
|
"value": "shift"
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"start": 474,
|
|
"end": 696,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 7
|
|
}
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 485,
|
|
"end": 519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "~ ! @ # $ % ^ & * ( ) _ + {bksp}",
|
|
"raw": "'~ ! @ # $ % ^ & * ( ) _ + {bksp}'"
|
|
},
|
|
"value": "~ ! @ # $ % ^ & * ( ) _ + {bksp}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 530,
|
|
"end": 563,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 41
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{tab} Q W E R T Y U I O P { } |",
|
|
"raw": "'{tab} Q W E R T Y U I O P { } |'"
|
|
},
|
|
"value": "{tab} Q W E R T Y U I O P { } |"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 574,
|
|
"end": 612,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 46
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{lock} A S D F G H J K L : \" {enter}",
|
|
"raw": "'{lock} A S D F G H J K L : \" {enter}'"
|
|
},
|
|
"value": "{lock} A S D F G H J K L : \" {enter}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 623,
|
|
"end": 660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 45
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{shift} Z X C V B N M < > ? {shift}",
|
|
"raw": "'{shift} Z X C V B N M < > ? {shift}'"
|
|
},
|
|
"value": "{shift} Z X C V B N M < > ? {shift}"
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 671,
|
|
"end": 687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 24
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".com @ {space}",
|
|
"raw": "'.com @ {space}'"
|
|
},
|
|
"value": ".com @ {space}"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n ",
|
|
"start": 64,
|
|
"end": 169,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Keyboard Layout Service\r\n ",
|
|
"start": 0,
|
|
"end": 36,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 3
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"__PseudoExport__": false,
|
|
"trailingComments": []
|
|
},
|
|
"leadingComments": null
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Keyboard Layout Service\r\n ",
|
|
"start": 0,
|
|
"end": 36,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n ",
|
|
"start": 64,
|
|
"end": 169,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tokens": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Keyboard Layout Service\r\n ",
|
|
"start": 0,
|
|
"end": 36,
|
|
"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": 38,
|
|
"end": 43,
|
|
"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": "KeyboardLayout",
|
|
"start": 44,
|
|
"end": 58,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 59,
|
|
"end": 60,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n ",
|
|
"start": 64,
|
|
"end": 169,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "static",
|
|
"start": 173,
|
|
"end": 179,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getDefaultLayout",
|
|
"start": 180,
|
|
"end": 196,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 196,
|
|
"end": 197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 197,
|
|
"end": 198,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 198,
|
|
"end": 199,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": 205,
|
|
"end": 211,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 212,
|
|
"end": 213,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "default",
|
|
"start": 221,
|
|
"end": 230,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 230,
|
|
"end": 231,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "[",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 232,
|
|
"end": 233,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
|
|
"start": 243,
|
|
"end": 277,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 277,
|
|
"end": 278,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{tab} q w e r t y u i o p [ ] \\",
|
|
"start": 288,
|
|
"end": 322,
|
|
"loc": {
|
|
"start": {
|
|
"line": 13,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 13,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 322,
|
|
"end": 323,
|
|
"loc": {
|
|
"start": {
|
|
"line": 13,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 13,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{lock} a s d f g h j k l ; ' {enter}",
|
|
"start": 333,
|
|
"end": 372,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 372,
|
|
"end": 373,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{shift} z x c v b n m , . / {shift}",
|
|
"start": 383,
|
|
"end": 420,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 420,
|
|
"end": 421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": ".com @ {space}",
|
|
"start": 431,
|
|
"end": 447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": 17,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 456,
|
|
"end": 457,
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "shift",
|
|
"start": 465,
|
|
"end": 472,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 472,
|
|
"end": 473,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "[",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 474,
|
|
"end": 475,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "~ ! @ # $ % ^ & * ( ) _ + {bksp}",
|
|
"start": 485,
|
|
"end": 519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 519,
|
|
"end": 520,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{tab} Q W E R T Y U I O P { } |",
|
|
"start": 530,
|
|
"end": 563,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 563,
|
|
"end": 564,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{lock} A S D F G H J K L : \" {enter}",
|
|
"start": 574,
|
|
"end": 612,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 612,
|
|
"end": 613,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{shift} Z X C V B N M < > ? {shift}",
|
|
"start": 623,
|
|
"end": 660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 660,
|
|
"end": 661,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": ".com @ {space}",
|
|
"start": 671,
|
|
"end": 687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "]",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 695,
|
|
"end": 696,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 702,
|
|
"end": 703,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 708,
|
|
"end": 709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 26,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 711,
|
|
"end": 712,
|
|
"loc": {
|
|
"start": {
|
|
"line": 27,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"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": 716,
|
|
"end": 722,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"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": 723,
|
|
"end": 730,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "KeyboardLayout",
|
|
"start": 731,
|
|
"end": 745,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 745,
|
|
"end": 746,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "eof",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 746,
|
|
"end": 746,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 30
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |