{ "type": "File", "start": 0, "end": 2648, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 95, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 2648, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 95, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 23, "end": 57, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 34 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 32, "end": 40, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 } }, "imported": { "type": "Identifier", "start": 32, "end": 40, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot", "leadingComments": null }, "local": { "type": "Identifier", "start": 32, "end": 40, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot" }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 48, "end": 56, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 33 } }, "extra": { "rawValue": "./root", "raw": "\"./root\"" }, "value": "./root" }, "leadingComments": [ { "type": "CommentBlock", "value": " typehints:start ", "start": 0, "end": 21, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 21 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": " typehints:end ", "start": 59, "end": 78, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } } ] }, { "type": "ImportDeclaration", "start": 82, "end": 122, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 40 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 91, "end": 97, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 } }, "imported": { "type": "Identifier", "start": 91, "end": 97, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Vector" }, "name": "Vector", "leadingComments": null }, "local": { "type": "Identifier", "start": 91, "end": 97, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Vector" }, "name": "Vector" }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 105, "end": 121, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 39 } }, "extra": { "rawValue": "../core/vector", "raw": "\"../core/vector\"" }, "value": "../core/vector" }, "leadingComments": [ { "type": "CommentBlock", "value": " typehints:end ", "start": 59, "end": 78, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } } ] }, { "type": "ImportDeclaration", "start": 124, "end": 167, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 43 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 133, "end": 139, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 } }, "imported": { "type": "Identifier", "start": 133, "end": 139, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" }, "local": { "type": "Identifier", "start": 133, "end": 139, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" } } ], "source": { "type": "StringLiteral", "start": 147, "end": 166, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 42 } }, "extra": { "rawValue": "../platform/sound", "raw": "\"../platform/sound\"" }, "value": "../platform/sound" } }, { "type": "VariableDeclaration", "start": 171, "end": 207, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 177, "end": 206, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 35 } }, "id": { "type": "Identifier", "start": 177, "end": 200, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 29 }, "identifierName": "avgSoundDurationSeconds" }, "name": "avgSoundDurationSeconds" }, "init": { "type": "NumericLiteral", "start": 203, "end": 206, "loc": { "start": { "line": 8, "column": 32 }, "end": { "line": 8, "column": 35 } }, "extra": { "rawValue": 0.1, "raw": "0.1" }, "value": 0.1 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 209, "end": 236, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 215, "end": 235, "loc": { "start": { "line": 9, "column": 6 }, "end": { "line": 9, "column": 26 } }, "id": { "type": "Identifier", "start": 215, "end": 231, "loc": { "start": { "line": 9, "column": 6 }, "end": { "line": 9, "column": 22 }, "identifierName": "maxOngoingSounds" }, "name": "maxOngoingSounds" }, "init": { "type": "NumericLiteral", "start": 234, "end": 235, "loc": { "start": { "line": 9, "column": 25 }, "end": { "line": 9, "column": 26 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 238, "end": 267, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 244, "end": 266, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 28 } }, "id": { "type": "Identifier", "start": 244, "end": 262, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 24 }, "identifierName": "maxOngoingUiSounds" }, "name": "maxOngoingUiSounds" }, "init": { "type": "NumericLiteral", "start": 265, "end": 266, "loc": { "start": { "line": 10, "column": 27 }, "end": { "line": 10, "column": 28 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Proxy to the application sound instance", "start": 271, "end": 313, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 42 } } } ] }, { "type": "ExportNamedDeclaration", "start": 315, "end": 2646, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 94, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 322, "end": 2646, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 94, "column": 1 } }, "id": { "type": "Identifier", "start": 328, "end": 338, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 23 }, "identifierName": "SoundProxy" }, "name": "SoundProxy", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 339, "end": 2646, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 94, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 395, "end": 582, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 23, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 395, "end": 406, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 407, "end": 411, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 20 }, "identifierName": "root" }, "name": "root" } ], "body": { "type": "BlockStatement", "start": 413, "end": 582, "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 23, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 424, "end": 441, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 424, "end": 440, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 424, "end": 433, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 17 } }, "object": { "type": "ThisExpression", "start": 424, "end": 428, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 12 } } }, "property": { "type": "Identifier", "start": 429, "end": 433, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "right": { "type": "Identifier", "start": 436, "end": 440, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 24 }, "identifierName": "root" }, "name": "root" } }, "trailingComments": [ { "type": "CommentLine", "value": " Store a list of sounds and when we started them", "start": 453, "end": 503, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 58 } } } ] }, { "type": "ExpressionStatement", "start": 513, "end": 539, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 513, "end": 538, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 513, "end": 533, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 28 } }, "object": { "type": "ThisExpression", "start": 513, "end": 517, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 518, "end": 533, "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 28 }, "identifierName": "playing3DSounds" }, "name": "playing3DSounds" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 536, "end": 538, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 33 } }, "elements": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Store a list of sounds and when we started them", "start": 453, "end": 503, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 58 } } } ] }, { "type": "ExpressionStatement", "start": 549, "end": 575, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 549, "end": 574, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 549, "end": 569, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 28 } }, "object": { "type": "ThisExpression", "start": 549, "end": 553, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 12 } } }, "property": { "type": "Identifier", "start": 554, "end": 569, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 28 }, "identifierName": "playingUiSounds" }, "name": "playingUiSounds" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 572, "end": 574, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 33 } }, "elements": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n ", "start": 346, "end": 389, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 16, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Plays a new ui sound\r\n * @param {string} id Sound ID\r\n ", "start": 590, "end": 667, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 28, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 673, "end": 1066, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 39, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 673, "end": 679, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 10 }, "identifierName": "playUi" }, "name": "playUi", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 680, "end": 682, "loc": { "start": { "line": 29, "column": 11 }, "end": { "line": 29, "column": 13 }, "identifierName": "id" }, "name": "id" } ], "body": { "type": "BlockStatement", "start": 684, "end": 1066, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 39, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 695, "end": 757, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 70 } }, "expression": { "type": "CallExpression", "start": 695, "end": 756, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 69 } }, "callee": { "type": "Identifier", "start": 695, "end": 701, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 702, "end": 724, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 30, "column": 37 } }, "left": { "type": "UnaryExpression", "start": 702, "end": 711, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 30, "column": 24 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 709, "end": 711, "loc": { "start": { "line": 30, "column": 22 }, "end": { "line": 30, "column": 24 }, "identifierName": "id" }, "name": "id" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 716, "end": 724, "loc": { "start": { "line": 30, "column": 29 }, "end": { "line": 30, "column": 37 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, { "type": "BinaryExpression", "start": 726, "end": 755, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 68 } }, "left": { "type": "StringLiteral", "start": 726, "end": 750, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 63 } }, "extra": { "rawValue": "Not a valid sound id: ", "raw": "\"Not a valid sound id: \"" }, "value": "Not a valid sound id: " }, "operator": "+", "right": { "type": "Identifier", "start": 753, "end": 755, "loc": { "start": { "line": 30, "column": 66 }, "end": { "line": 30, "column": 68 }, "identifierName": "id" }, "name": "id" } } ] } }, { "type": "ExpressionStatement", "start": 767, "end": 802, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 43 } }, "expression": { "type": "CallExpression", "start": 767, "end": 801, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 767, "end": 799, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 40 } }, "object": { "type": "ThisExpression", "start": 767, "end": 771, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 12 } } }, "property": { "type": "Identifier", "start": 772, "end": 799, "loc": { "start": { "line": 31, "column": 13 }, "end": { "line": 31, "column": 40 }, "identifierName": "internalUpdateOngoingSounds" }, "name": "internalUpdateOngoingSounds" }, "computed": false }, "arguments": [] } }, { "type": "IfStatement", "start": 812, "end": 945, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 35, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 816, "end": 864, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 60 } }, "left": { "type": "MemberExpression", "start": 816, "end": 843, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 39 } }, "object": { "type": "MemberExpression", "start": 816, "end": 836, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 32 } }, "object": { "type": "ThisExpression", "start": 816, "end": 820, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 16 } } }, "property": { "type": "Identifier", "start": 821, "end": 836, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 32 }, "identifierName": "playingUiSounds" }, "name": "playingUiSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 837, "end": 843, "loc": { "start": { "line": 32, "column": 33 }, "end": { "line": 32, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "Identifier", "start": 846, "end": 864, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 60 }, "identifierName": "maxOngoingUiSounds" }, "name": "maxOngoingUiSounds" } }, "consequent": { "type": "BlockStatement", "start": 866, "end": 945, "loc": { "start": { "line": 32, "column": 62 }, "end": { "line": 35, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 921, "end": 934, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 25 } }, "argument": { "type": "BooleanLiteral", "start": 928, "end": 933, "loc": { "start": { "line": 34, "column": 19 }, "end": { "line": 34, "column": 24 } }, "value": false, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Too many ongoing sounds", "start": 881, "end": 907, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 38 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 957, "end": 993, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 44 } }, "expression": { "type": "CallExpression", "start": 957, "end": 992, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 957, "end": 988, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 39 } }, "object": { "type": "MemberExpression", "start": 957, "end": 976, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 27 } }, "object": { "type": "MemberExpression", "start": 957, "end": 970, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 21 } }, "object": { "type": "MemberExpression", "start": 957, "end": 966, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 17 } }, "object": { "type": "ThisExpression", "start": 957, "end": 961, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 12 } } }, "property": { "type": "Identifier", "start": 962, "end": 966, "loc": { "start": { "line": 37, "column": 13 }, "end": { "line": 37, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 967, "end": 970, "loc": { "start": { "line": 37, "column": 18 }, "end": { "line": 37, "column": 21 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 971, "end": 976, "loc": { "start": { "line": 37, "column": 22 }, "end": { "line": 37, "column": 27 }, "identifierName": "sound" }, "name": "sound" }, "computed": false }, "property": { "type": "Identifier", "start": 977, "end": 988, "loc": { "start": { "line": 37, "column": 28 }, "end": { "line": 37, "column": 39 }, "identifierName": "playUiSound" }, "name": "playUiSound" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 989, "end": 991, "loc": { "start": { "line": 37, "column": 40 }, "end": { "line": 37, "column": 42 }, "identifierName": "id" }, "name": "id" } ] } }, { "type": "ExpressionStatement", "start": 1003, "end": 1059, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 64 } }, "expression": { "type": "CallExpression", "start": 1003, "end": 1058, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 1003, "end": 1028, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 33 } }, "object": { "type": "MemberExpression", "start": 1003, "end": 1023, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1003, "end": 1007, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 12 } } }, "property": { "type": "Identifier", "start": 1008, "end": 1023, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 28 }, "identifierName": "playingUiSounds" }, "name": "playingUiSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 1024, "end": 1028, "loc": { "start": { "line": 38, "column": 29 }, "end": { "line": 38, "column": 33 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 1029, "end": 1057, "loc": { "start": { "line": 38, "column": 34 }, "end": { "line": 38, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 1029, "end": 1055, "loc": { "start": { "line": 38, "column": 34 }, "end": { "line": 38, "column": 60 } }, "object": { "type": "MemberExpression", "start": 1029, "end": 1043, "loc": { "start": { "line": 38, "column": 34 }, "end": { "line": 38, "column": 48 } }, "object": { "type": "MemberExpression", "start": 1029, "end": 1038, "loc": { "start": { "line": 38, "column": 34 }, "end": { "line": 38, "column": 43 } }, "object": { "type": "ThisExpression", "start": 1029, "end": 1033, "loc": { "start": { "line": 38, "column": 34 }, "end": { "line": 38, "column": 38 } } }, "property": { "type": "Identifier", "start": 1034, "end": 1038, "loc": { "start": { "line": 38, "column": 39 }, "end": { "line": 38, "column": 43 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1039, "end": 1043, "loc": { "start": { "line": 38, "column": 44 }, "end": { "line": 38, "column": 48 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 1044, "end": 1055, "loc": { "start": { "line": 38, "column": 49 }, "end": { "line": 38, "column": 60 }, "identifierName": "realtimeNow" }, "name": "realtimeNow" }, "computed": false }, "arguments": [] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Plays a new ui sound\r\n * @param {string} id Sound ID\r\n ", "start": 590, "end": 667, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 28, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Plays the ui click sound\r\n ", "start": 1074, "end": 1119, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 43, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1125, "end": 1185, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 46, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1125, "end": 1136, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 15 }, "identifierName": "playUiClick" }, "name": "playUiClick", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1139, "end": 1185, "loc": { "start": { "line": 44, "column": 18 }, "end": { "line": 46, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1150, "end": 1178, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 36 } }, "expression": { "type": "CallExpression", "start": 1150, "end": 1177, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 1150, "end": 1161, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 19 } }, "object": { "type": "ThisExpression", "start": 1150, "end": 1154, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 12 } } }, "property": { "type": "Identifier", "start": 1155, "end": 1161, "loc": { "start": { "line": 45, "column": 13 }, "end": { "line": 45, "column": 19 }, "identifierName": "playUi" }, "name": "playUi" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1162, "end": 1176, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 34 } }, "object": { "type": "Identifier", "start": 1162, "end": 1168, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 26 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" }, "property": { "type": "Identifier", "start": 1169, "end": 1176, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 34 }, "identifierName": "uiClick" }, "name": "uiClick" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Plays the ui click sound\r\n ", "start": 1074, "end": 1119, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 43, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Plays the ui error sound\r\n ", "start": 1193, "end": 1238, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 50, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1244, "end": 1304, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 53, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1244, "end": 1255, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 15 }, "identifierName": "playUiError" }, "name": "playUiError", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1258, "end": 1304, "loc": { "start": { "line": 51, "column": 18 }, "end": { "line": 53, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1269, "end": 1297, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 36 } }, "expression": { "type": "CallExpression", "start": 1269, "end": 1296, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 1269, "end": 1280, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 19 } }, "object": { "type": "ThisExpression", "start": 1269, "end": 1273, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 12 } } }, "property": { "type": "Identifier", "start": 1274, "end": 1280, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 19 }, "identifierName": "playUi" }, "name": "playUi" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1281, "end": 1295, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 34 } }, "object": { "type": "Identifier", "start": 1281, "end": 1287, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 26 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" }, "property": { "type": "Identifier", "start": 1288, "end": 1295, "loc": { "start": { "line": 52, "column": 27 }, "end": { "line": 52, "column": 34 }, "identifierName": "uiError" }, "name": "uiError" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Plays the ui error sound\r\n ", "start": 1193, "end": 1238, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 50, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Plays a 3D sound whose volume is scaled based on where it was emitted\r\n * @param {string} id Sound ID\r\n * @param {Vector} pos World space position\r\n ", "start": 1312, "end": 1487, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 59, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1493, "end": 1995, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 73, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1493, "end": 1499, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 10 }, "identifierName": "play3D" }, "name": "play3D", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1500, "end": 1502, "loc": { "start": { "line": 60, "column": 11 }, "end": { "line": 60, "column": 13 }, "identifierName": "id" }, "name": "id" }, { "type": "Identifier", "start": 1504, "end": 1507, "loc": { "start": { "line": 60, "column": 15 }, "end": { "line": 60, "column": 18 }, "identifierName": "pos" }, "name": "pos" } ], "body": { "type": "BlockStatement", "start": 1509, "end": 1995, "loc": { "start": { "line": 60, "column": 20 }, "end": { "line": 73, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1520, "end": 1582, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 70 } }, "expression": { "type": "CallExpression", "start": 1520, "end": 1581, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 69 } }, "callee": { "type": "Identifier", "start": 1520, "end": 1526, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 1527, "end": 1549, "loc": { "start": { "line": 61, "column": 15 }, "end": { "line": 61, "column": 37 } }, "left": { "type": "UnaryExpression", "start": 1527, "end": 1536, "loc": { "start": { "line": 61, "column": 15 }, "end": { "line": 61, "column": 24 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 1534, "end": 1536, "loc": { "start": { "line": 61, "column": 22 }, "end": { "line": 61, "column": 24 }, "identifierName": "id" }, "name": "id" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 1541, "end": 1549, "loc": { "start": { "line": 61, "column": 29 }, "end": { "line": 61, "column": 37 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, { "type": "BinaryExpression", "start": 1551, "end": 1580, "loc": { "start": { "line": 61, "column": 39 }, "end": { "line": 61, "column": 68 } }, "left": { "type": "StringLiteral", "start": 1551, "end": 1575, "loc": { "start": { "line": 61, "column": 39 }, "end": { "line": 61, "column": 63 } }, "extra": { "rawValue": "Not a valid sound id: ", "raw": "\"Not a valid sound id: \"" }, "value": "Not a valid sound id: " }, "operator": "+", "right": { "type": "Identifier", "start": 1578, "end": 1580, "loc": { "start": { "line": 61, "column": 66 }, "end": { "line": 61, "column": 68 }, "identifierName": "id" }, "name": "id" } } ] } }, { "type": "ExpressionStatement", "start": 1592, "end": 1648, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 64 } }, "expression": { "type": "CallExpression", "start": 1592, "end": 1647, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 63 } }, "callee": { "type": "Identifier", "start": 1592, "end": 1598, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 1599, "end": 1620, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 36 } }, "left": { "type": "Identifier", "start": 1599, "end": 1602, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 18 }, "identifierName": "pos" }, "name": "pos" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 1614, "end": 1620, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 36 }, "identifierName": "Vector" }, "name": "Vector" } }, { "type": "StringLiteral", "start": 1622, "end": 1646, "loc": { "start": { "line": 62, "column": 38 }, "end": { "line": 62, "column": 62 } }, "extra": { "rawValue": "Invalid sound position", "raw": "\"Invalid sound position\"" }, "value": "Invalid sound position" } ] } }, { "type": "ExpressionStatement", "start": 1658, "end": 1693, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 43 } }, "expression": { "type": "CallExpression", "start": 1658, "end": 1692, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 1658, "end": 1690, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 40 } }, "object": { "type": "ThisExpression", "start": 1658, "end": 1662, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 12 } } }, "property": { "type": "Identifier", "start": 1663, "end": 1690, "loc": { "start": { "line": 63, "column": 13 }, "end": { "line": 63, "column": 40 }, "identifierName": "internalUpdateOngoingSounds" }, "name": "internalUpdateOngoingSounds" }, "computed": false }, "arguments": [] } }, { "type": "IfStatement", "start": 1705, "end": 1836, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 68, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1709, "end": 1755, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 58 } }, "left": { "type": "MemberExpression", "start": 1709, "end": 1736, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 39 } }, "object": { "type": "MemberExpression", "start": 1709, "end": 1729, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 32 } }, "object": { "type": "ThisExpression", "start": 1709, "end": 1713, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 16 } } }, "property": { "type": "Identifier", "start": 1714, "end": 1729, "loc": { "start": { "line": 65, "column": 17 }, "end": { "line": 65, "column": 32 }, "identifierName": "playing3DSounds" }, "name": "playing3DSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 1730, "end": 1736, "loc": { "start": { "line": 65, "column": 33 }, "end": { "line": 65, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "Identifier", "start": 1739, "end": 1755, "loc": { "start": { "line": 65, "column": 42 }, "end": { "line": 65, "column": 58 }, "identifierName": "maxOngoingSounds" }, "name": "maxOngoingSounds" } }, "consequent": { "type": "BlockStatement", "start": 1757, "end": 1836, "loc": { "start": { "line": 65, "column": 60 }, "end": { "line": 68, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 1812, "end": 1825, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 25 } }, "argument": { "type": "BooleanLiteral", "start": 1819, "end": 1824, "loc": { "start": { "line": 67, "column": 19 }, "end": { "line": 67, "column": 24 } }, "value": false, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Too many ongoing sounds", "start": 1772, "end": 1798, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 38 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 1848, "end": 1900, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 60 } }, "expression": { "type": "CallExpression", "start": 1848, "end": 1899, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 1848, "end": 1879, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 39 } }, "object": { "type": "MemberExpression", "start": 1848, "end": 1867, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 27 } }, "object": { "type": "MemberExpression", "start": 1848, "end": 1861, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 21 } }, "object": { "type": "MemberExpression", "start": 1848, "end": 1857, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1848, "end": 1852, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 12 } } }, "property": { "type": "Identifier", "start": 1853, "end": 1857, "loc": { "start": { "line": 70, "column": 13 }, "end": { "line": 70, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1858, "end": 1861, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 21 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 1862, "end": 1867, "loc": { "start": { "line": 70, "column": 22 }, "end": { "line": 70, "column": 27 }, "identifierName": "sound" }, "name": "sound" }, "computed": false }, "property": { "type": "Identifier", "start": 1868, "end": 1879, "loc": { "start": { "line": 70, "column": 28 }, "end": { "line": 70, "column": 39 }, "identifierName": "play3DSound" }, "name": "play3DSound" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1880, "end": 1882, "loc": { "start": { "line": 70, "column": 40 }, "end": { "line": 70, "column": 42 }, "identifierName": "id" }, "name": "id" }, { "type": "Identifier", "start": 1884, "end": 1887, "loc": { "start": { "line": 70, "column": 44 }, "end": { "line": 70, "column": 47 }, "identifierName": "pos" }, "name": "pos" }, { "type": "MemberExpression", "start": 1889, "end": 1898, "loc": { "start": { "line": 70, "column": 49 }, "end": { "line": 70, "column": 58 } }, "object": { "type": "ThisExpression", "start": 1889, "end": 1893, "loc": { "start": { "line": 70, "column": 49 }, "end": { "line": 70, "column": 53 } } }, "property": { "type": "Identifier", "start": 1894, "end": 1898, "loc": { "start": { "line": 70, "column": 54 }, "end": { "line": 70, "column": 58 }, "identifierName": "root" }, "name": "root" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 1910, "end": 1966, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 64 } }, "expression": { "type": "CallExpression", "start": 1910, "end": 1965, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 1910, "end": 1935, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 33 } }, "object": { "type": "MemberExpression", "start": 1910, "end": 1930, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1910, "end": 1914, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 12 } } }, "property": { "type": "Identifier", "start": 1915, "end": 1930, "loc": { "start": { "line": 71, "column": 13 }, "end": { "line": 71, "column": 28 }, "identifierName": "playing3DSounds" }, "name": "playing3DSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 1931, "end": 1935, "loc": { "start": { "line": 71, "column": 29 }, "end": { "line": 71, "column": 33 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 1936, "end": 1964, "loc": { "start": { "line": 71, "column": 34 }, "end": { "line": 71, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 1936, "end": 1962, "loc": { "start": { "line": 71, "column": 34 }, "end": { "line": 71, "column": 60 } }, "object": { "type": "MemberExpression", "start": 1936, "end": 1950, "loc": { "start": { "line": 71, "column": 34 }, "end": { "line": 71, "column": 48 } }, "object": { "type": "MemberExpression", "start": 1936, "end": 1945, "loc": { "start": { "line": 71, "column": 34 }, "end": { "line": 71, "column": 43 } }, "object": { "type": "ThisExpression", "start": 1936, "end": 1940, "loc": { "start": { "line": 71, "column": 34 }, "end": { "line": 71, "column": 38 } } }, "property": { "type": "Identifier", "start": 1941, "end": 1945, "loc": { "start": { "line": 71, "column": 39 }, "end": { "line": 71, "column": 43 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1946, "end": 1950, "loc": { "start": { "line": 71, "column": 44 }, "end": { "line": 71, "column": 48 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 1951, "end": 1962, "loc": { "start": { "line": 71, "column": 49 }, "end": { "line": 71, "column": 60 }, "identifierName": "realtimeNow" }, "name": "realtimeNow" }, "computed": false }, "arguments": [] } ] } }, { "type": "ReturnStatement", "start": 1976, "end": 1988, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 1983, "end": 1987, "loc": { "start": { "line": 72, "column": 15 }, "end": { "line": 72, "column": 19 } }, "value": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Plays a 3D sound whose volume is scaled based on where it was emitted\r\n * @param {string} id Sound ID\r\n * @param {Vector} pos World space position\r\n ", "start": 1312, "end": 1487, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 59, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the list of ongoing sounds\r\n ", "start": 2003, "end": 2058, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 77, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2064, "end": 2643, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 93, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2064, "end": 2091, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 31 }, "identifierName": "internalUpdateOngoingSounds" }, "name": "internalUpdateOngoingSounds", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2094, "end": 2643, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 93, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 2105, "end": 2146, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2111, "end": 2145, "loc": { "start": { "line": 79, "column": 14 }, "end": { "line": 79, "column": 48 } }, "id": { "type": "Identifier", "start": 2111, "end": 2114, "loc": { "start": { "line": 79, "column": 14 }, "end": { "line": 79, "column": 17 }, "identifierName": "now" }, "name": "now" }, "init": { "type": "CallExpression", "start": 2117, "end": 2145, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 2117, "end": 2143, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 46 } }, "object": { "type": "MemberExpression", "start": 2117, "end": 2131, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 34 } }, "object": { "type": "MemberExpression", "start": 2117, "end": 2126, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 29 } }, "object": { "type": "ThisExpression", "start": 2117, "end": 2121, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 24 } } }, "property": { "type": "Identifier", "start": 2122, "end": 2126, "loc": { "start": { "line": 79, "column": 25 }, "end": { "line": 79, "column": 29 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2127, "end": 2131, "loc": { "start": { "line": 79, "column": 30 }, "end": { "line": 79, "column": 34 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 2132, "end": 2143, "loc": { "start": { "line": 79, "column": 35 }, "end": { "line": 79, "column": 46 }, "identifierName": "realtimeNow" }, "name": "realtimeNow" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ForStatement", "start": 2156, "end": 2390, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 85, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 2161, "end": 2170, "loc": { "start": { "line": 80, "column": 13 }, "end": { "line": 80, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2165, "end": 2170, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 22 } }, "id": { "type": "Identifier", "start": 2165, "end": 2166, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 2169, "end": 2170, "loc": { "start": { "line": 80, "column": 21 }, "end": { "line": 80, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2172, "end": 2203, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 55 } }, "left": { "type": "Identifier", "start": 2172, "end": 2173, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2176, "end": 2203, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 55 } }, "object": { "type": "MemberExpression", "start": 2176, "end": 2196, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 48 } }, "object": { "type": "ThisExpression", "start": 2176, "end": 2180, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 32 } } }, "property": { "type": "Identifier", "start": 2181, "end": 2196, "loc": { "start": { "line": 80, "column": 33 }, "end": { "line": 80, "column": 48 }, "identifierName": "playing3DSounds" }, "name": "playing3DSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 2197, "end": 2203, "loc": { "start": { "line": 80, "column": 49 }, "end": { "line": 80, "column": 55 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2205, "end": 2208, "loc": { "start": { "line": 80, "column": 57 }, "end": { "line": 80, "column": 60 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2207, "end": 2208, "loc": { "start": { "line": 80, "column": 59 }, "end": { "line": 80, "column": 60 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2210, "end": 2390, "loc": { "start": { "line": 80, "column": 62 }, "end": { "line": 85, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 2225, "end": 2379, "loc": { "start": { "line": 81, "column": 12 }, "end": { "line": 84, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 2229, "end": 2284, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 71 } }, "left": { "type": "BinaryExpression", "start": 2229, "end": 2258, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 45 } }, "left": { "type": "Identifier", "start": 2229, "end": 2232, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 19 }, "identifierName": "now" }, "name": "now" }, "operator": "-", "right": { "type": "MemberExpression", "start": 2235, "end": 2258, "loc": { "start": { "line": 81, "column": 22 }, "end": { "line": 81, "column": 45 } }, "object": { "type": "MemberExpression", "start": 2235, "end": 2255, "loc": { "start": { "line": 81, "column": 22 }, "end": { "line": 81, "column": 42 } }, "object": { "type": "ThisExpression", "start": 2235, "end": 2239, "loc": { "start": { "line": 81, "column": 22 }, "end": { "line": 81, "column": 26 } } }, "property": { "type": "Identifier", "start": 2240, "end": 2255, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 42 }, "identifierName": "playing3DSounds" }, "name": "playing3DSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 2256, "end": 2257, "loc": { "start": { "line": 81, "column": 43 }, "end": { "line": 81, "column": 44 }, "identifierName": "i" }, "name": "i" }, "computed": true } }, "operator": ">", "right": { "type": "Identifier", "start": 2261, "end": 2284, "loc": { "start": { "line": 81, "column": 48 }, "end": { "line": 81, "column": 71 }, "identifierName": "avgSoundDurationSeconds" }, "name": "avgSoundDurationSeconds" } }, "consequent": { "type": "BlockStatement", "start": 2286, "end": 2379, "loc": { "start": { "line": 81, "column": 73 }, "end": { "line": 84, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 2305, "end": 2339, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 50 } }, "expression": { "type": "CallExpression", "start": 2305, "end": 2338, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 2305, "end": 2332, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 43 } }, "object": { "type": "MemberExpression", "start": 2305, "end": 2325, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 36 } }, "object": { "type": "ThisExpression", "start": 2305, "end": 2309, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 20 } } }, "property": { "type": "Identifier", "start": 2310, "end": 2325, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 36 }, "identifierName": "playing3DSounds" }, "name": "playing3DSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 2326, "end": 2332, "loc": { "start": { "line": 82, "column": 37 }, "end": { "line": 82, "column": 43 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2333, "end": 2334, "loc": { "start": { "line": 82, "column": 44 }, "end": { "line": 82, "column": 45 }, "identifierName": "i" }, "name": "i" }, { "type": "NumericLiteral", "start": 2336, "end": 2337, "loc": { "start": { "line": 82, "column": 47 }, "end": { "line": 82, "column": 48 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 2357, "end": 2364, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 2357, "end": 2363, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 22 } }, "operator": "-=", "left": { "type": "Identifier", "start": 2357, "end": 2358, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 17 }, "identifierName": "i" }, "name": "i" }, "right": { "type": "NumericLiteral", "start": 2362, "end": 2363, "loc": { "start": { "line": 83, "column": 21 }, "end": { "line": 83, "column": 22 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ForStatement", "start": 2402, "end": 2636, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 92, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 2407, "end": 2416, "loc": { "start": { "line": 87, "column": 13 }, "end": { "line": 87, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2411, "end": 2416, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 22 } }, "id": { "type": "Identifier", "start": 2411, "end": 2412, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 2415, "end": 2416, "loc": { "start": { "line": 87, "column": 21 }, "end": { "line": 87, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2418, "end": 2449, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 55 } }, "left": { "type": "Identifier", "start": 2418, "end": 2419, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2422, "end": 2449, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 87, "column": 55 } }, "object": { "type": "MemberExpression", "start": 2422, "end": 2442, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 87, "column": 48 } }, "object": { "type": "ThisExpression", "start": 2422, "end": 2426, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 87, "column": 32 } } }, "property": { "type": "Identifier", "start": 2427, "end": 2442, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 48 }, "identifierName": "playingUiSounds" }, "name": "playingUiSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 2443, "end": 2449, "loc": { "start": { "line": 87, "column": 49 }, "end": { "line": 87, "column": 55 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2451, "end": 2454, "loc": { "start": { "line": 87, "column": 57 }, "end": { "line": 87, "column": 60 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2453, "end": 2454, "loc": { "start": { "line": 87, "column": 59 }, "end": { "line": 87, "column": 60 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2456, "end": 2636, "loc": { "start": { "line": 87, "column": 62 }, "end": { "line": 92, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 2471, "end": 2625, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 91, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 2475, "end": 2530, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 71 } }, "left": { "type": "BinaryExpression", "start": 2475, "end": 2504, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 45 } }, "left": { "type": "Identifier", "start": 2475, "end": 2478, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 19 }, "identifierName": "now" }, "name": "now" }, "operator": "-", "right": { "type": "MemberExpression", "start": 2481, "end": 2504, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 45 } }, "object": { "type": "MemberExpression", "start": 2481, "end": 2501, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 42 } }, "object": { "type": "ThisExpression", "start": 2481, "end": 2485, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 26 } } }, "property": { "type": "Identifier", "start": 2486, "end": 2501, "loc": { "start": { "line": 88, "column": 27 }, "end": { "line": 88, "column": 42 }, "identifierName": "playingUiSounds" }, "name": "playingUiSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 2502, "end": 2503, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 44 }, "identifierName": "i" }, "name": "i" }, "computed": true } }, "operator": ">", "right": { "type": "Identifier", "start": 2507, "end": 2530, "loc": { "start": { "line": 88, "column": 48 }, "end": { "line": 88, "column": 71 }, "identifierName": "avgSoundDurationSeconds" }, "name": "avgSoundDurationSeconds" } }, "consequent": { "type": "BlockStatement", "start": 2532, "end": 2625, "loc": { "start": { "line": 88, "column": 73 }, "end": { "line": 91, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 2551, "end": 2585, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 50 } }, "expression": { "type": "CallExpression", "start": 2551, "end": 2584, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 2551, "end": 2578, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 43 } }, "object": { "type": "MemberExpression", "start": 2551, "end": 2571, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 36 } }, "object": { "type": "ThisExpression", "start": 2551, "end": 2555, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 20 } } }, "property": { "type": "Identifier", "start": 2556, "end": 2571, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 89, "column": 36 }, "identifierName": "playingUiSounds" }, "name": "playingUiSounds" }, "computed": false }, "property": { "type": "Identifier", "start": 2572, "end": 2578, "loc": { "start": { "line": 89, "column": 37 }, "end": { "line": 89, "column": 43 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2579, "end": 2580, "loc": { "start": { "line": 89, "column": 44 }, "end": { "line": 89, "column": 45 }, "identifierName": "i" }, "name": "i" }, { "type": "NumericLiteral", "start": 2582, "end": 2583, "loc": { "start": { "line": 89, "column": 47 }, "end": { "line": 89, "column": 48 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 2603, "end": 2610, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 2603, "end": 2609, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 22 } }, "operator": "-=", "left": { "type": "Identifier", "start": 2603, "end": 2604, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 17 }, "identifierName": "i" }, "name": "i" }, "right": { "type": "NumericLiteral", "start": 2608, "end": 2609, "loc": { "start": { "line": 90, "column": 21 }, "end": { "line": 90, "column": 22 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the list of ongoing sounds\r\n ", "start": 2003, "end": 2058, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 77, "column": 7 } } } ] } ] }, "leadingComments": [ { "type": "CommentLine", "value": " Proxy to the application sound instance", "start": 271, "end": 313, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 42 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Proxy to the application sound instance", "start": 271, "end": 313, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 42 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": " typehints:start ", "start": 0, "end": 21, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 21 } } }, { "type": "CommentBlock", "value": " typehints:end ", "start": 59, "end": 78, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } }, { "type": "CommentLine", "value": " Proxy to the application sound instance", "start": 271, "end": 313, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 42 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n ", "start": 346, "end": 389, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 16, "column": 7 } } }, { "type": "CommentLine", "value": " Store a list of sounds and when we started them", "start": 453, "end": 503, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 58 } } }, { "type": "CommentBlock", "value": "*\r\n * Plays a new ui sound\r\n * @param {string} id Sound ID\r\n ", "start": 590, "end": 667, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 28, "column": 7 } } }, { "type": "CommentLine", "value": " Too many ongoing sounds", "start": 881, "end": 907, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 38 } } }, { "type": "CommentBlock", "value": "*\r\n * Plays the ui click sound\r\n ", "start": 1074, "end": 1119, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 43, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Plays the ui error sound\r\n ", "start": 1193, "end": 1238, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 50, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Plays a 3D sound whose volume is scaled based on where it was emitted\r\n * @param {string} id Sound ID\r\n * @param {Vector} pos World space position\r\n ", "start": 1312, "end": 1487, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 59, "column": 7 } } }, { "type": "CommentLine", "value": " Too many ongoing sounds", "start": 1772, "end": 1798, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 38 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the list of ongoing sounds\r\n ", "start": 2003, "end": 2058, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 77, "column": 7 } } } ], "tokens": [ { "type": "CommentBlock", "value": " typehints:start ", "start": 0, "end": 21, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 23, "end": 29, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30, "end": 31, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameRoot", "start": 32, "end": 40, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41, "end": 42, "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 43, "end": 47, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./root", "start": 48, "end": 56, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 56, "end": 57, "loc": { "start": { "line": 2, "column": 33 }, "end": { "line": 2, "column": 34 } } }, { "type": "CommentBlock", "value": " typehints:end ", "start": 59, "end": 78, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 82, "end": 88, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 89, "end": 90, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 91, "end": 97, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 98, "end": 99, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 100, "end": 104, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/vector", "start": 105, "end": 121, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 121, "end": 122, "loc": { "start": { "line": 5, "column": 39 }, "end": { "line": 5, "column": 40 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 124, "end": 130, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 131, "end": 132, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SOUNDS", "start": 133, "end": 139, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 140, "end": 141, "loc": { "start": { "line": 6, "column": 16 }, "end": { "line": 6, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 142, "end": 146, "loc": { "start": { "line": 6, "column": 18 }, "end": { "line": 6, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../platform/sound", "start": 147, "end": 166, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 166, "end": 167, "loc": { "start": { "line": 6, "column": 42 }, "end": { "line": 6, "column": 43 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 171, "end": 176, "loc": { "start": { "line": 8, "column": 0 }, "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": "avgSoundDurationSeconds", "start": 177, "end": 200, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 201, "end": 202, "loc": { "start": { "line": 8, "column": 30 }, "end": { "line": 8, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.1, "start": 203, "end": 206, "loc": { "start": { "line": 8, "column": 32 }, "end": { "line": 8, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 206, "end": 207, "loc": { "start": { "line": 8, "column": 35 }, "end": { "line": 8, "column": 36 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 209, "end": 214, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxOngoingSounds", "start": 215, "end": 231, "loc": { "start": { "line": 9, "column": 6 }, "end": { "line": 9, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 232, "end": 233, "loc": { "start": { "line": 9, "column": 23 }, "end": { "line": 9, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 234, "end": 235, "loc": { "start": { "line": 9, "column": 25 }, "end": { "line": 9, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 235, "end": 236, "loc": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 27 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 238, "end": 243, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxOngoingUiSounds", "start": 244, "end": 262, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 263, "end": 264, "loc": { "start": { "line": 10, "column": 25 }, "end": { "line": 10, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 265, "end": 266, "loc": { "start": { "line": 10, "column": 27 }, "end": { "line": 10, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 266, "end": 267, "loc": { "start": { "line": 10, "column": 28 }, "end": { "line": 10, "column": 29 } } }, { "type": "CommentLine", "value": " Proxy to the application sound instance", "start": 271, "end": 313, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 42 } } }, { "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": 315, "end": 321, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 6 } } }, { "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": 322, "end": 327, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 13, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SoundProxy", "start": 328, "end": 338, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 339, "end": 340, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 13, "column": 25 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n ", "start": 346, "end": 389, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 16, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 395, "end": 406, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 406, "end": 407, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 407, "end": 411, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 411, "end": 412, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 413, "end": 414, "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 17, "column": 23 } } }, { "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": 424, "end": 428, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 428, "end": 429, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 429, "end": 433, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 434, "end": 435, "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 436, "end": 440, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 440, "end": 441, "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "column": 25 } } }, { "type": "CommentLine", "value": " Store a list of sounds and when we started them", "start": 453, "end": 503, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 58 } } }, { "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": 513, "end": 517, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 517, "end": 518, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playing3DSounds", "start": 518, "end": 533, "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 534, "end": 535, "loc": { "start": { "line": 21, "column": 29 }, "end": { "line": 21, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 536, "end": 537, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 32 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 537, "end": 538, "loc": { "start": { "line": 21, "column": 32 }, "end": { "line": 21, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 538, "end": 539, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 34 } } }, { "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": 549, "end": 553, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 553, "end": 554, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playingUiSounds", "start": 554, "end": 569, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 570, "end": 571, "loc": { "start": { "line": 22, "column": 29 }, "end": { "line": 22, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 572, "end": 573, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 32 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 573, "end": 574, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 574, "end": 575, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 581, "end": 582, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Plays a new ui sound\r\n * @param {string} id Sound ID\r\n ", "start": 590, "end": 667, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 28, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUi", "start": 673, "end": 679, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 679, "end": 680, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 680, "end": 682, "loc": { "start": { "line": 29, "column": 11 }, "end": { "line": 29, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 682, "end": 683, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 684, "end": 685, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 695, "end": 701, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 701, "end": 702, "loc": { "start": { "line": 30, "column": 14 }, "end": { "line": 30, "column": 15 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 702, "end": 708, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 30, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 709, "end": 711, "loc": { "start": { "line": 30, "column": 22 }, "end": { "line": 30, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 712, "end": 715, "loc": { "start": { "line": 30, "column": 25 }, "end": { "line": 30, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 716, "end": 724, "loc": { "start": { "line": 30, "column": 29 }, "end": { "line": 30, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 724, "end": 725, "loc": { "start": { "line": 30, "column": 37 }, "end": { "line": 30, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Not a valid sound id: ", "start": 726, "end": 750, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 63 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 751, "end": 752, "loc": { "start": { "line": 30, "column": 64 }, "end": { "line": 30, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 753, "end": 755, "loc": { "start": { "line": 30, "column": 66 }, "end": { "line": 30, "column": 68 } } }, { "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": 30, "column": 68 }, "end": { "line": 30, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 756, "end": 757, "loc": { "start": { "line": 30, "column": 69 }, "end": { "line": 30, "column": 70 } } }, { "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": 767, "end": 771, "loc": { "start": { "line": 31, "column": 8 }, "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": 771, "end": 772, "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": "internalUpdateOngoingSounds", "start": 772, "end": 799, "loc": { "start": { "line": 31, "column": 13 }, "end": { "line": 31, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 799, "end": 800, "loc": { "start": { "line": 31, "column": 40 }, "end": { "line": 31, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 800, "end": 801, "loc": { "start": { "line": 31, "column": 41 }, "end": { "line": 31, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 801, "end": 802, "loc": { "start": { "line": 31, "column": 42 }, "end": { "line": 31, "column": 43 } } }, { "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": 812, "end": 814, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 815, "end": 816, "loc": { "start": { "line": 32, "column": 11 }, "end": { "line": 32, "column": 12 } } }, { "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": 816, "end": 820, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 820, "end": 821, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playingUiSounds", "start": 821, "end": 836, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 836, "end": 837, "loc": { "start": { "line": 32, "column": 32 }, "end": { "line": 32, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 837, "end": 843, "loc": { "start": { "line": 32, "column": 33 }, "end": { "line": 32, "column": 39 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 844, "end": 845, "loc": { "start": { "line": 32, "column": 40 }, "end": { "line": 32, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxOngoingUiSounds", "start": 846, "end": 864, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 864, "end": 865, "loc": { "start": { "line": 32, "column": 60 }, "end": { "line": 32, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 866, "end": 867, "loc": { "start": { "line": 32, "column": 62 }, "end": { "line": 32, "column": 63 } } }, { "type": "CommentLine", "value": " Too many ongoing sounds", "start": 881, "end": 907, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 38 } } }, { "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": 921, "end": 927, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 18 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 928, "end": 933, "loc": { "start": { "line": 34, "column": 19 }, "end": { "line": 34, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 933, "end": 934, "loc": { "start": { "line": 34, "column": 24 }, "end": { "line": 34, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 944, "end": 945, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "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": 957, "end": 961, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 961, "end": 962, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 962, "end": 966, "loc": { "start": { "line": 37, "column": 13 }, "end": { "line": 37, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 966, "end": 967, "loc": { "start": { "line": 37, "column": 17 }, "end": { "line": 37, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 967, "end": 970, "loc": { "start": { "line": 37, "column": 18 }, "end": { "line": 37, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 970, "end": 971, "loc": { "start": { "line": 37, "column": 21 }, "end": { "line": 37, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sound", "start": 971, "end": 976, "loc": { "start": { "line": 37, "column": 22 }, "end": { "line": 37, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 976, "end": 977, "loc": { "start": { "line": 37, "column": 27 }, "end": { "line": 37, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUiSound", "start": 977, "end": 988, "loc": { "start": { "line": 37, "column": 28 }, "end": { "line": 37, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 988, "end": 989, "loc": { "start": { "line": 37, "column": 39 }, "end": { "line": 37, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 989, "end": 991, "loc": { "start": { "line": 37, "column": 40 }, "end": { "line": 37, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 991, "end": 992, "loc": { "start": { "line": 37, "column": 42 }, "end": { "line": 37, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 992, "end": 993, "loc": { "start": { "line": 37, "column": 43 }, "end": { "line": 37, "column": 44 } } }, { "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": 1003, "end": 1007, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1007, "end": 1008, "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": "playingUiSounds", "start": 1008, "end": 1023, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1023, "end": 1024, "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 1024, "end": 1028, "loc": { "start": { "line": 38, "column": 29 }, "end": { "line": 38, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1028, "end": 1029, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 38, "column": 34 } } }, { "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": 1029, "end": 1033, "loc": { "start": { "line": 38, "column": 34 }, "end": { "line": 38, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1033, "end": 1034, "loc": { "start": { "line": 38, "column": 38 }, "end": { "line": 38, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1034, "end": 1038, "loc": { "start": { "line": 38, "column": 39 }, "end": { "line": 38, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1038, "end": 1039, "loc": { "start": { "line": 38, "column": 43 }, "end": { "line": 38, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 1039, "end": 1043, "loc": { "start": { "line": 38, "column": 44 }, "end": { "line": 38, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1043, "end": 1044, "loc": { "start": { "line": 38, "column": 48 }, "end": { "line": 38, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "realtimeNow", "start": 1044, "end": 1055, "loc": { "start": { "line": 38, "column": 49 }, "end": { "line": 38, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1055, "end": 1056, "loc": { "start": { "line": 38, "column": 60 }, "end": { "line": 38, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1056, "end": 1057, "loc": { "start": { "line": 38, "column": 61 }, "end": { "line": 38, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1057, "end": 1058, "loc": { "start": { "line": 38, "column": 62 }, "end": { "line": 38, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1058, "end": 1059, "loc": { "start": { "line": 38, "column": 63 }, "end": { "line": 38, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1065, "end": 1066, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Plays the ui click sound\r\n ", "start": 1074, "end": 1119, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 43, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUiClick", "start": 1125, "end": 1136, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1136, "end": 1137, "loc": { "start": { "line": 44, "column": 15 }, "end": { "line": 44, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1137, "end": 1138, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1139, "end": 1140, "loc": { "start": { "line": 44, "column": 18 }, "end": { "line": 44, "column": 19 } } }, { "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": 1150, "end": 1154, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1154, "end": 1155, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUi", "start": 1155, "end": 1161, "loc": { "start": { "line": 45, "column": 13 }, "end": { "line": 45, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1161, "end": 1162, "loc": { "start": { "line": 45, "column": 19 }, "end": { "line": 45, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SOUNDS", "start": 1162, "end": 1168, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1168, "end": 1169, "loc": { "start": { "line": 45, "column": 26 }, "end": { "line": 45, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uiClick", "start": 1169, "end": 1176, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1176, "end": 1177, "loc": { "start": { "line": 45, "column": 34 }, "end": { "line": 45, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1177, "end": 1178, "loc": { "start": { "line": 45, "column": 35 }, "end": { "line": 45, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1184, "end": 1185, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Plays the ui error sound\r\n ", "start": 1193, "end": 1238, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 50, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUiError", "start": 1244, "end": 1255, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1255, "end": 1256, "loc": { "start": { "line": 51, "column": 15 }, "end": { "line": 51, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1256, "end": 1257, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1258, "end": 1259, "loc": { "start": { "line": 51, "column": 18 }, "end": { "line": 51, "column": 19 } } }, { "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": 1269, "end": 1273, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 12 } } }, { "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": 52, "column": 12 }, "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": "playUi", "start": 1274, "end": 1280, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1280, "end": 1281, "loc": { "start": { "line": 52, "column": 19 }, "end": { "line": 52, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SOUNDS", "start": 1281, "end": 1287, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1287, "end": 1288, "loc": { "start": { "line": 52, "column": 26 }, "end": { "line": 52, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uiError", "start": 1288, "end": 1295, "loc": { "start": { "line": 52, "column": 27 }, "end": { "line": 52, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1295, "end": 1296, "loc": { "start": { "line": 52, "column": 34 }, "end": { "line": 52, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1296, "end": 1297, "loc": { "start": { "line": 52, "column": 35 }, "end": { "line": 52, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1303, "end": 1304, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Plays a 3D sound whose volume is scaled based on where it was emitted\r\n * @param {string} id Sound ID\r\n * @param {Vector} pos World space position\r\n ", "start": 1312, "end": 1487, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 59, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "play3D", "start": 1493, "end": 1499, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1499, "end": 1500, "loc": { "start": { "line": 60, "column": 10 }, "end": { "line": 60, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1500, "end": 1502, "loc": { "start": { "line": 60, "column": 11 }, "end": { "line": 60, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1502, "end": 1503, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 1504, "end": 1507, "loc": { "start": { "line": 60, "column": 15 }, "end": { "line": 60, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1507, "end": 1508, "loc": { "start": { "line": 60, "column": 18 }, "end": { "line": 60, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1509, "end": 1510, "loc": { "start": { "line": 60, "column": 20 }, "end": { "line": 60, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 1520, "end": 1526, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1526, "end": 1527, "loc": { "start": { "line": 61, "column": 14 }, "end": { "line": 61, "column": 15 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 1527, "end": 1533, "loc": { "start": { "line": 61, "column": 15 }, "end": { "line": 61, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1534, "end": 1536, "loc": { "start": { "line": 61, "column": 22 }, "end": { "line": 61, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1537, "end": 1540, "loc": { "start": { "line": 61, "column": 25 }, "end": { "line": 61, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 1541, "end": 1549, "loc": { "start": { "line": 61, "column": 29 }, "end": { "line": 61, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1549, "end": 1550, "loc": { "start": { "line": 61, "column": 37 }, "end": { "line": 61, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Not a valid sound id: ", "start": 1551, "end": 1575, "loc": { "start": { "line": 61, "column": 39 }, "end": { "line": 61, "column": 63 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1576, "end": 1577, "loc": { "start": { "line": 61, "column": 64 }, "end": { "line": 61, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1578, "end": 1580, "loc": { "start": { "line": 61, "column": 66 }, "end": { "line": 61, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1580, "end": 1581, "loc": { "start": { "line": 61, "column": 68 }, "end": { "line": 61, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1581, "end": 1582, "loc": { "start": { "line": 61, "column": 69 }, "end": { "line": 61, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 1592, "end": 1598, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1598, "end": 1599, "loc": { "start": { "line": 62, "column": 14 }, "end": { "line": 62, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 1599, "end": 1602, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 18 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 1603, "end": 1613, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 1614, "end": 1620, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1620, "end": 1621, "loc": { "start": { "line": 62, "column": 36 }, "end": { "line": 62, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid sound position", "start": 1622, "end": 1646, "loc": { "start": { "line": 62, "column": 38 }, "end": { "line": 62, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1646, "end": 1647, "loc": { "start": { "line": 62, "column": 62 }, "end": { "line": 62, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1647, "end": 1648, "loc": { "start": { "line": 62, "column": 63 }, "end": { "line": 62, "column": 64 } } }, { "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": 1658, "end": 1662, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1662, "end": 1663, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateOngoingSounds", "start": 1663, "end": 1690, "loc": { "start": { "line": 63, "column": 13 }, "end": { "line": 63, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1690, "end": 1691, "loc": { "start": { "line": 63, "column": 40 }, "end": { "line": 63, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1691, "end": 1692, "loc": { "start": { "line": 63, "column": 41 }, "end": { "line": 63, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1692, "end": 1693, "loc": { "start": { "line": 63, "column": 42 }, "end": { "line": 63, "column": 43 } } }, { "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": 1705, "end": 1707, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1708, "end": 1709, "loc": { "start": { "line": 65, "column": 11 }, "end": { "line": 65, "column": 12 } } }, { "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": 1709, "end": 1713, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1713, "end": 1714, "loc": { "start": { "line": 65, "column": 16 }, "end": { "line": 65, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playing3DSounds", "start": 1714, "end": 1729, "loc": { "start": { "line": 65, "column": 17 }, "end": { "line": 65, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1729, "end": 1730, "loc": { "start": { "line": 65, "column": 32 }, "end": { "line": 65, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1730, "end": 1736, "loc": { "start": { "line": 65, "column": 33 }, "end": { "line": 65, "column": 39 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1737, "end": 1738, "loc": { "start": { "line": 65, "column": 40 }, "end": { "line": 65, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxOngoingSounds", "start": 1739, "end": 1755, "loc": { "start": { "line": 65, "column": 42 }, "end": { "line": 65, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1755, "end": 1756, "loc": { "start": { "line": 65, "column": 58 }, "end": { "line": 65, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1757, "end": 1758, "loc": { "start": { "line": 65, "column": 60 }, "end": { "line": 65, "column": 61 } } }, { "type": "CommentLine", "value": " Too many ongoing sounds", "start": 1772, "end": 1798, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 38 } } }, { "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": 1812, "end": 1818, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 18 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 1819, "end": 1824, "loc": { "start": { "line": 67, "column": 19 }, "end": { "line": 67, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1824, "end": 1825, "loc": { "start": { "line": 67, "column": 24 }, "end": { "line": 67, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1835, "end": 1836, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "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": 1848, "end": 1852, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1852, "end": 1853, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1853, "end": 1857, "loc": { "start": { "line": 70, "column": 13 }, "end": { "line": 70, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1857, "end": 1858, "loc": { "start": { "line": 70, "column": 17 }, "end": { "line": 70, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 1858, "end": 1861, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1861, "end": 1862, "loc": { "start": { "line": 70, "column": 21 }, "end": { "line": 70, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sound", "start": 1862, "end": 1867, "loc": { "start": { "line": 70, "column": 22 }, "end": { "line": 70, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1867, "end": 1868, "loc": { "start": { "line": 70, "column": 27 }, "end": { "line": 70, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "play3DSound", "start": 1868, "end": 1879, "loc": { "start": { "line": 70, "column": 28 }, "end": { "line": 70, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1879, "end": 1880, "loc": { "start": { "line": 70, "column": 39 }, "end": { "line": 70, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1880, "end": 1882, "loc": { "start": { "line": 70, "column": 40 }, "end": { "line": 70, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1882, "end": 1883, "loc": { "start": { "line": 70, "column": 42 }, "end": { "line": 70, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 1884, "end": 1887, "loc": { "start": { "line": 70, "column": 44 }, "end": { "line": 70, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1887, "end": 1888, "loc": { "start": { "line": 70, "column": 47 }, "end": { "line": 70, "column": 48 } } }, { "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": 1889, "end": 1893, "loc": { "start": { "line": 70, "column": 49 }, "end": { "line": 70, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1893, "end": 1894, "loc": { "start": { "line": 70, "column": 53 }, "end": { "line": 70, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1894, "end": 1898, "loc": { "start": { "line": 70, "column": 54 }, "end": { "line": 70, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1898, "end": 1899, "loc": { "start": { "line": 70, "column": 58 }, "end": { "line": 70, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1899, "end": 1900, "loc": { "start": { "line": 70, "column": 59 }, "end": { "line": 70, "column": 60 } } }, { "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": 1910, "end": 1914, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1914, "end": 1915, "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playing3DSounds", "start": 1915, "end": 1930, "loc": { "start": { "line": 71, "column": 13 }, "end": { "line": 71, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1930, "end": 1931, "loc": { "start": { "line": 71, "column": 28 }, "end": { "line": 71, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 1931, "end": 1935, "loc": { "start": { "line": 71, "column": 29 }, "end": { "line": 71, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1935, "end": 1936, "loc": { "start": { "line": 71, "column": 33 }, "end": { "line": 71, "column": 34 } } }, { "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": 1936, "end": 1940, "loc": { "start": { "line": 71, "column": 34 }, "end": { "line": 71, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1940, "end": 1941, "loc": { "start": { "line": 71, "column": 38 }, "end": { "line": 71, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1941, "end": 1945, "loc": { "start": { "line": 71, "column": 39 }, "end": { "line": 71, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1945, "end": 1946, "loc": { "start": { "line": 71, "column": 43 }, "end": { "line": 71, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 1946, "end": 1950, "loc": { "start": { "line": 71, "column": 44 }, "end": { "line": 71, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1950, "end": 1951, "loc": { "start": { "line": 71, "column": 48 }, "end": { "line": 71, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "realtimeNow", "start": 1951, "end": 1962, "loc": { "start": { "line": 71, "column": 49 }, "end": { "line": 71, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1962, "end": 1963, "loc": { "start": { "line": 71, "column": 60 }, "end": { "line": 71, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1963, "end": 1964, "loc": { "start": { "line": 71, "column": 61 }, "end": { "line": 71, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1964, "end": 1965, "loc": { "start": { "line": 71, "column": 62 }, "end": { "line": 71, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1965, "end": 1966, "loc": { "start": { "line": 71, "column": 63 }, "end": { "line": 71, "column": 64 } } }, { "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": 1976, "end": 1982, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 14 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 1983, "end": 1987, "loc": { "start": { "line": 72, "column": 15 }, "end": { "line": 72, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1987, "end": 1988, "loc": { "start": { "line": 72, "column": 19 }, "end": { "line": 72, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1994, "end": 1995, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the list of ongoing sounds\r\n ", "start": 2003, "end": 2058, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 77, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateOngoingSounds", "start": 2064, "end": 2091, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2091, "end": 2092, "loc": { "start": { "line": 78, "column": 31 }, "end": { "line": 78, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2092, "end": 2093, "loc": { "start": { "line": 78, "column": 32 }, "end": { "line": 78, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2094, "end": 2095, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 35 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2105, "end": 2110, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 2111, "end": 2114, "loc": { "start": { "line": 79, "column": 14 }, "end": { "line": 79, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2115, "end": 2116, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 19 } } }, { "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": 2117, "end": 2121, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2121, "end": 2122, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2122, "end": 2126, "loc": { "start": { "line": 79, "column": 25 }, "end": { "line": 79, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2126, "end": 2127, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 79, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 2127, "end": 2131, "loc": { "start": { "line": 79, "column": 30 }, "end": { "line": 79, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2131, "end": 2132, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "realtimeNow", "start": 2132, "end": 2143, "loc": { "start": { "line": 79, "column": 35 }, "end": { "line": 79, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2143, "end": 2144, "loc": { "start": { "line": 79, "column": 46 }, "end": { "line": 79, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2144, "end": 2145, "loc": { "start": { "line": 79, "column": 47 }, "end": { "line": 79, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2145, "end": 2146, "loc": { "start": { "line": 79, "column": 48 }, "end": { "line": 79, "column": 49 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2156, "end": 2159, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2160, "end": 2161, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 13 } } }, { "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": 2161, "end": 2164, "loc": { "start": { "line": 80, "column": 13 }, "end": { "line": 80, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2165, "end": 2166, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2167, "end": 2168, "loc": { "start": { "line": 80, "column": 19 }, "end": { "line": 80, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2169, "end": 2170, "loc": { "start": { "line": 80, "column": 21 }, "end": { "line": 80, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2170, "end": 2171, "loc": { "start": { "line": 80, "column": 22 }, "end": { "line": 80, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2172, "end": 2173, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2174, "end": 2175, "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 80, "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": 2176, "end": 2180, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2180, "end": 2181, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playing3DSounds", "start": 2181, "end": 2196, "loc": { "start": { "line": 80, "column": 33 }, "end": { "line": 80, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2196, "end": 2197, "loc": { "start": { "line": 80, "column": 48 }, "end": { "line": 80, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2197, "end": 2203, "loc": { "start": { "line": 80, "column": 49 }, "end": { "line": 80, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2203, "end": 2204, "loc": { "start": { "line": 80, "column": 55 }, "end": { "line": 80, "column": 56 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2205, "end": 2207, "loc": { "start": { "line": 80, "column": 57 }, "end": { "line": 80, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2207, "end": 2208, "loc": { "start": { "line": 80, "column": 59 }, "end": { "line": 80, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2208, "end": 2209, "loc": { "start": { "line": 80, "column": 60 }, "end": { "line": 80, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2210, "end": 2211, "loc": { "start": { "line": 80, "column": 62 }, "end": { "line": 80, "column": 63 } } }, { "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": 2225, "end": 2227, "loc": { "start": { "line": 81, "column": 12 }, "end": { "line": 81, "column": 14 } } }, { "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": 81, "column": 15 }, "end": { "line": 81, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 2229, "end": 2232, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 2233, "end": 2234, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 21 } } }, { "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": 2235, "end": 2239, "loc": { "start": { "line": 81, "column": 22 }, "end": { "line": 81, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2239, "end": 2240, "loc": { "start": { "line": 81, "column": 26 }, "end": { "line": 81, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playing3DSounds", "start": 2240, "end": 2255, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2255, "end": 2256, "loc": { "start": { "line": 81, "column": 42 }, "end": { "line": 81, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2256, "end": 2257, "loc": { "start": { "line": 81, "column": 43 }, "end": { "line": 81, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2257, "end": 2258, "loc": { "start": { "line": 81, "column": 44 }, "end": { "line": 81, "column": 45 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 2259, "end": 2260, "loc": { "start": { "line": 81, "column": 46 }, "end": { "line": 81, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "avgSoundDurationSeconds", "start": 2261, "end": 2284, "loc": { "start": { "line": 81, "column": 48 }, "end": { "line": 81, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2284, "end": 2285, "loc": { "start": { "line": 81, "column": 71 }, "end": { "line": 81, "column": 72 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2286, "end": 2287, "loc": { "start": { "line": 81, "column": 73 }, "end": { "line": 81, "column": 74 } } }, { "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": 2305, "end": 2309, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2309, "end": 2310, "loc": { "start": { "line": 82, "column": 20 }, "end": { "line": 82, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playing3DSounds", "start": 2310, "end": 2325, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2325, "end": 2326, "loc": { "start": { "line": 82, "column": 36 }, "end": { "line": 82, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 2326, "end": 2332, "loc": { "start": { "line": 82, "column": 37 }, "end": { "line": 82, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2332, "end": 2333, "loc": { "start": { "line": 82, "column": 43 }, "end": { "line": 82, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2333, "end": 2334, "loc": { "start": { "line": 82, "column": 44 }, "end": { "line": 82, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2334, "end": 2335, "loc": { "start": { "line": 82, "column": 45 }, "end": { "line": 82, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2336, "end": 2337, "loc": { "start": { "line": 82, "column": 47 }, "end": { "line": 82, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2337, "end": 2338, "loc": { "start": { "line": 82, "column": 48 }, "end": { "line": 82, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2338, "end": 2339, "loc": { "start": { "line": 82, "column": 49 }, "end": { "line": 82, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2357, "end": 2358, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 17 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 2359, "end": 2361, "loc": { "start": { "line": 83, "column": 18 }, "end": { "line": 83, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2362, "end": 2363, "loc": { "start": { "line": 83, "column": 21 }, "end": { "line": 83, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2363, "end": 2364, "loc": { "start": { "line": 83, "column": 22 }, "end": { "line": 83, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2378, "end": 2379, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2389, "end": 2390, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 9 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2402, "end": 2405, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2406, "end": 2407, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 13 } } }, { "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": 2407, "end": 2410, "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": "i", "start": 2411, "end": 2412, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2413, "end": 2414, "loc": { "start": { "line": 87, "column": 19 }, "end": { "line": 87, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2415, "end": 2416, "loc": { "start": { "line": 87, "column": 21 }, "end": { "line": 87, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2416, "end": 2417, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2418, "end": 2419, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2420, "end": 2421, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "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": 2422, "end": 2426, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 87, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2426, "end": 2427, "loc": { "start": { "line": 87, "column": 32 }, "end": { "line": 87, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playingUiSounds", "start": 2427, "end": 2442, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2442, "end": 2443, "loc": { "start": { "line": 87, "column": 48 }, "end": { "line": 87, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2443, "end": 2449, "loc": { "start": { "line": 87, "column": 49 }, "end": { "line": 87, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2449, "end": 2450, "loc": { "start": { "line": 87, "column": 55 }, "end": { "line": 87, "column": 56 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2451, "end": 2453, "loc": { "start": { "line": 87, "column": 57 }, "end": { "line": 87, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2453, "end": 2454, "loc": { "start": { "line": 87, "column": 59 }, "end": { "line": 87, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2454, "end": 2455, "loc": { "start": { "line": 87, "column": 60 }, "end": { "line": 87, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2456, "end": 2457, "loc": { "start": { "line": 87, "column": 62 }, "end": { "line": 87, "column": 63 } } }, { "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": 2471, "end": 2473, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2474, "end": 2475, "loc": { "start": { "line": 88, "column": 15 }, "end": { "line": 88, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 2475, "end": 2478, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 2479, "end": 2480, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 21 } } }, { "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": 2481, "end": 2485, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2485, "end": 2486, "loc": { "start": { "line": 88, "column": 26 }, "end": { "line": 88, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playingUiSounds", "start": 2486, "end": 2501, "loc": { "start": { "line": 88, "column": 27 }, "end": { "line": 88, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2501, "end": 2502, "loc": { "start": { "line": 88, "column": 42 }, "end": { "line": 88, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2502, "end": 2503, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2503, "end": 2504, "loc": { "start": { "line": 88, "column": 44 }, "end": { "line": 88, "column": 45 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 2505, "end": 2506, "loc": { "start": { "line": 88, "column": 46 }, "end": { "line": 88, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "avgSoundDurationSeconds", "start": 2507, "end": 2530, "loc": { "start": { "line": 88, "column": 48 }, "end": { "line": 88, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2530, "end": 2531, "loc": { "start": { "line": 88, "column": 71 }, "end": { "line": 88, "column": 72 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2532, "end": 2533, "loc": { "start": { "line": 88, "column": 73 }, "end": { "line": 88, "column": 74 } } }, { "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": 2551, "end": 2555, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2555, "end": 2556, "loc": { "start": { "line": 89, "column": 20 }, "end": { "line": 89, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playingUiSounds", "start": 2556, "end": 2571, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 89, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2571, "end": 2572, "loc": { "start": { "line": 89, "column": 36 }, "end": { "line": 89, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 2572, "end": 2578, "loc": { "start": { "line": 89, "column": 37 }, "end": { "line": 89, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2578, "end": 2579, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2579, "end": 2580, "loc": { "start": { "line": 89, "column": 44 }, "end": { "line": 89, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2580, "end": 2581, "loc": { "start": { "line": 89, "column": 45 }, "end": { "line": 89, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2582, "end": 2583, "loc": { "start": { "line": 89, "column": 47 }, "end": { "line": 89, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2583, "end": 2584, "loc": { "start": { "line": 89, "column": 48 }, "end": { "line": 89, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2584, "end": 2585, "loc": { "start": { "line": 89, "column": 49 }, "end": { "line": 89, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2603, "end": 2604, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 17 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 2605, "end": 2607, "loc": { "start": { "line": 90, "column": 18 }, "end": { "line": 90, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2608, "end": 2609, "loc": { "start": { "line": 90, "column": 21 }, "end": { "line": 90, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2609, "end": 2610, "loc": { "start": { "line": 90, "column": 22 }, "end": { "line": 90, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2624, "end": 2625, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2635, "end": 2636, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2642, "end": 2643, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2645, "end": 2646, "loc": { "start": { "line": 94, "column": 0 }, "end": { "line": 94, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2648, "end": 2648, "loc": { "start": { "line": 95, "column": 0 }, "end": { "line": 95, "column": 0 } } } ] }