1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/docs/ast/source/core/rng.js.json
2021-02-26 15:20:37 +01:00

21106 lines
528 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2911,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 130,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2911,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 130,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "FunctionDeclaration",
"start": 15,
"end": 494,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 19,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 24,
"end": 28,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 13
},
"identifierName": "Mash"
},
"name": "Mash",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 31,
"end": 494,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 19,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 38,
"end": 57,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 42,
"end": 56,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 42,
"end": 43,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 9
},
"identifierName": "n"
},
"name": "n"
},
"init": {
"type": "NumericLiteral",
"start": 46,
"end": 56,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 22
}
},
"extra": {
"rawValue": 4022871197,
"raw": "0xefc8249d"
},
"value": 4022871197
}
}
],
"kind": "var"
},
{
"type": "ReturnStatement",
"start": 63,
"end": 491,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 18,
"column": 6
}
},
"argument": {
"type": "FunctionExpression",
"start": 70,
"end": 490,
"loc": {
"start": {
"line": 5,
"column": 11
},
"end": {
"line": 18,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 80,
"end": 84,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 25
},
"identifierName": "data"
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 86,
"end": 490,
"loc": {
"start": {
"line": 5,
"column": 27
},
"end": {
"line": 18,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 97,
"end": 120,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 97,
"end": 119,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 30
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 97,
"end": 101,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 12
},
"identifierName": "data"
},
"name": "data"
},
"right": {
"type": "CallExpression",
"start": 104,
"end": 119,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 104,
"end": 117,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 104,
"end": 108,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 109,
"end": 117,
"loc": {
"start": {
"line": 6,
"column": 20
},
"end": {
"line": 6,
"column": 28
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"arguments": []
}
}
},
{
"type": "ForStatement",
"start": 130,
"end": 422,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 16,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 135,
"end": 144,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 139,
"end": 144,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 143,
"end": 144,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "var"
},
"test": {
"type": "BinaryExpression",
"start": 146,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 39
}
},
"left": {
"type": "Identifier",
"start": 146,
"end": 147,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 150,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 150,
"end": 154,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 32
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 155,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 33
},
"end": {
"line": 7,
"column": 39
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 163,
"end": 166,
"loc": {
"start": {
"line": 7,
"column": 41
},
"end": {
"line": 7,
"column": 44
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 163,
"end": 164,
"loc": {
"start": {
"line": 7,
"column": 41
},
"end": {
"line": 7,
"column": 42
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 168,
"end": 422,
"loc": {
"start": {
"line": 7,
"column": 46
},
"end": {
"line": 16,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 183,
"end": 207,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 36
}
},
"expression": {
"type": "AssignmentExpression",
"start": 183,
"end": 206,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 35
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 183,
"end": 184,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 13
},
"identifierName": "n"
},
"name": "n"
},
"right": {
"type": "CallExpression",
"start": 188,
"end": 206,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 8,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 188,
"end": 203,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 8,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 188,
"end": 192,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 8,
"column": 21
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 193,
"end": 203,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 32
},
"identifierName": "charCodeAt"
},
"name": "charCodeAt"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 204,
"end": 205,
"loc": {
"start": {
"line": 8,
"column": 33
},
"end": {
"line": 8,
"column": 34
},
"identifierName": "i"
},
"name": "i"
}
]
}
}
},
{
"type": "VariableDeclaration",
"start": 221,
"end": 253,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 225,
"end": 252,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "h"
},
"name": "h"
},
"init": {
"type": "BinaryExpression",
"start": 229,
"end": 252,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 43
}
},
"left": {
"type": "NumericLiteral",
"start": 229,
"end": 248,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 39
}
},
"extra": {
"rawValue": 0.02519603282416938,
"raw": "0.02519603282416938"
},
"value": 0.02519603282416938
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 251,
"end": 252,
"loc": {
"start": {
"line": 9,
"column": 42
},
"end": {
"line": 9,
"column": 43
},
"identifierName": "n"
},
"name": "n"
}
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 267,
"end": 279,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 267,
"end": 278,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 23
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 267,
"end": 268,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 13
},
"identifierName": "n"
},
"name": "n"
},
"right": {
"type": "BinaryExpression",
"start": 271,
"end": 278,
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 23
}
},
"left": {
"type": "Identifier",
"start": 271,
"end": 272,
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 17
},
"identifierName": "h"
},
"name": "h"
},
"operator": ">>>",
"right": {
"type": "NumericLiteral",
"start": 277,
"end": 278,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
},
{
"type": "ExpressionStatement",
"start": 293,
"end": 300,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 293,
"end": 299,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 18
}
},
"operator": "-=",
"left": {
"type": "Identifier",
"start": 293,
"end": 294,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 13
},
"identifierName": "h"
},
"name": "h"
},
"right": {
"type": "Identifier",
"start": 298,
"end": 299,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 18
},
"identifierName": "n"
},
"name": "n"
}
}
},
{
"type": "ExpressionStatement",
"start": 314,
"end": 321,
"loc": {
"start": {
"line": 12,
"column": 12
},
"end": {
"line": 12,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 314,
"end": 320,
"loc": {
"start": {
"line": 12,
"column": 12
},
"end": {
"line": 12,
"column": 18
}
},
"operator": "*=",
"left": {
"type": "Identifier",
"start": 314,
"end": 315,
"loc": {
"start": {
"line": 12,
"column": 12
},
"end": {
"line": 12,
"column": 13
},
"identifierName": "h"
},
"name": "h"
},
"right": {
"type": "Identifier",
"start": 319,
"end": 320,
"loc": {
"start": {
"line": 12,
"column": 17
},
"end": {
"line": 12,
"column": 18
},
"identifierName": "n"
},
"name": "n"
}
}
},
{
"type": "ExpressionStatement",
"start": 335,
"end": 347,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 335,
"end": 346,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 23
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 335,
"end": 336,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 13
},
"identifierName": "n"
},
"name": "n"
},
"right": {
"type": "BinaryExpression",
"start": 339,
"end": 346,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 23
}
},
"left": {
"type": "Identifier",
"start": 339,
"end": 340,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 17
},
"identifierName": "h"
},
"name": "h"
},
"operator": ">>>",
"right": {
"type": "NumericLiteral",
"start": 345,
"end": 346,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
},
{
"type": "ExpressionStatement",
"start": 361,
"end": 368,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 361,
"end": 367,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 18
}
},
"operator": "-=",
"left": {
"type": "Identifier",
"start": 361,
"end": 362,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 13
},
"identifierName": "h"
},
"name": "h"
},
"right": {
"type": "Identifier",
"start": 366,
"end": 367,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"column": 18
},
"identifierName": "n"
},
"name": "n"
}
}
},
{
"type": "ExpressionStatement",
"start": 382,
"end": 403,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 382,
"end": 402,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 32
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 13
},
"identifierName": "n"
},
"name": "n"
},
"right": {
"type": "BinaryExpression",
"start": 387,
"end": 402,
"loc": {
"start": {
"line": 15,
"column": 17
},
"end": {
"line": 15,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 387,
"end": 388,
"loc": {
"start": {
"line": 15,
"column": 17
},
"end": {
"line": 15,
"column": 18
},
"identifierName": "h"
},
"name": "h"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 391,
"end": 402,
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 32
}
},
"extra": {
"rawValue": 4294967296,
"raw": "0x100000000"
},
"value": 4294967296
}
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": " 2^32",
"start": 404,
"end": 411,
"loc": {
"start": {
"line": 15,
"column": 34
},
"end": {
"line": 15,
"column": 41
}
}
}
]
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 432,
"end": 474,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 50
}
},
"argument": {
"type": "BinaryExpression",
"start": 439,
"end": 473,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 49
}
},
"left": {
"type": "BinaryExpression",
"start": 440,
"end": 447,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 23
}
},
"left": {
"type": "Identifier",
"start": 440,
"end": 441,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 17
},
"identifierName": "n"
},
"name": "n"
},
"operator": ">>>",
"right": {
"type": "NumericLiteral",
"start": 446,
"end": 447,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"extra": {
"parenthesized": true,
"parenStart": 439
}
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 451,
"end": 473,
"loc": {
"start": {
"line": 17,
"column": 27
},
"end": {
"line": 17,
"column": 49
}
},
"extra": {
"rawValue": 2.3283064365386963e-10,
"raw": "2.3283064365386963e-10"
},
"value": 2.3283064365386963e-10
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": " 2^-32",
"start": 475,
"end": 483,
"loc": {
"start": {
"line": 17,
"column": 51
},
"end": {
"line": 17,
"column": 59
}
}
}
]
}
],
"directives": []
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " ALEA RNG",
"start": 0,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 11
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number|string} seed\r\n ",
"start": 498,
"end": 538,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 23,
"column": 3
}
}
}
]
},
{
"type": "FunctionDeclaration",
"start": 540,
"end": 1402,
"loc": {
"start": {
"line": 24,
"column": 0
},
"end": {
"line": 65,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 549,
"end": 559,
"loc": {
"start": {
"line": 24,
"column": 9
},
"end": {
"line": 24,
"column": 19
},
"identifierName": "makeNewRng"
},
"name": "makeNewRng",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 560,
"end": 564,
"loc": {
"start": {
"line": 24,
"column": 20
},
"end": {
"line": 24,
"column": 24
},
"identifierName": "seed"
},
"name": "seed"
}
],
"body": {
"type": "BlockStatement",
"start": 566,
"end": 1402,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 65,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 623,
"end": 633,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 14
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 627,
"end": 632,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 13
}
},
"id": {
"type": "Identifier",
"start": 627,
"end": 628,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 9
},
"identifierName": "c"
},
"name": "c",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 631,
"end": 632,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 13
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"leadingComments": null
}
],
"kind": "var",
"leadingComments": [
{
"type": "CommentLine",
"value": " Johannes Baagøe <baagoe@baagoe.com>, 2010",
"start": 573,
"end": 617,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 48
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 639,
"end": 657,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 643,
"end": 656,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 21
}
},
"id": {
"type": "Identifier",
"start": 643,
"end": 647,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
},
"identifierName": "mash"
},
"name": "mash"
},
"init": {
"type": "CallExpression",
"start": 650,
"end": 656,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 21
}
},
"callee": {
"type": "Identifier",
"start": 650,
"end": 654,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 19
},
"identifierName": "Mash"
},
"name": "Mash"
},
"arguments": []
}
}
],
"kind": "var"
},
{
"type": "VariableDeclaration",
"start": 663,
"end": 682,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 667,
"end": 681,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 667,
"end": 669,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 10
},
"identifierName": "s0"
},
"name": "s0"
},
"init": {
"type": "CallExpression",
"start": 672,
"end": 681,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 22
}
},
"callee": {
"type": "Identifier",
"start": 672,
"end": 676,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 17
},
"identifierName": "mash"
},
"name": "mash"
},
"arguments": [
{
"type": "StringLiteral",
"start": 677,
"end": 680,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 21
}
},
"extra": {
"rawValue": " ",
"raw": "\" \""
},
"value": " "
}
]
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 688,
"end": 707,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 692,
"end": 706,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 692,
"end": 694,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 10
},
"identifierName": "s1"
},
"name": "s1"
},
"init": {
"type": "CallExpression",
"start": 697,
"end": 706,
"loc": {
"start": {
"line": 29,
"column": 13
},
"end": {
"line": 29,
"column": 22
}
},
"callee": {
"type": "Identifier",
"start": 697,
"end": 701,
"loc": {
"start": {
"line": 29,
"column": 13
},
"end": {
"line": 29,
"column": 17
},
"identifierName": "mash"
},
"name": "mash"
},
"arguments": [
{
"type": "StringLiteral",
"start": 702,
"end": 705,
"loc": {
"start": {
"line": 29,
"column": 18
},
"end": {
"line": 29,
"column": 21
}
},
"extra": {
"rawValue": " ",
"raw": "\" \""
},
"value": " "
}
]
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 713,
"end": 732,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 717,
"end": 731,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 717,
"end": 719,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 10
},
"identifierName": "s2"
},
"name": "s2"
},
"init": {
"type": "CallExpression",
"start": 722,
"end": 731,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 22
}
},
"callee": {
"type": "Identifier",
"start": 722,
"end": 726,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 17
},
"identifierName": "mash"
},
"name": "mash"
},
"arguments": [
{
"type": "StringLiteral",
"start": 727,
"end": 730,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 21
}
},
"extra": {
"rawValue": " ",
"raw": "\" \""
},
"value": " "
}
]
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 740,
"end": 757,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 21
}
},
"expression": {
"type": "AssignmentExpression",
"start": 740,
"end": 756,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 20
}
},
"operator": "-=",
"left": {
"type": "Identifier",
"start": 740,
"end": 742,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 6
},
"identifierName": "s0"
},
"name": "s0"
},
"right": {
"type": "CallExpression",
"start": 746,
"end": 756,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 20
}
},
"callee": {
"type": "Identifier",
"start": 746,
"end": 750,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 14
},
"identifierName": "mash"
},
"name": "mash"
},
"arguments": [
{
"type": "Identifier",
"start": 751,
"end": 755,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 19
},
"identifierName": "seed"
},
"name": "seed"
}
]
}
}
},
{
"type": "IfStatement",
"start": 763,
"end": 801,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 767,
"end": 773,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 14
}
},
"left": {
"type": "Identifier",
"start": 767,
"end": 769,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 10
},
"identifierName": "s0"
},
"name": "s0"
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 772,
"end": 773,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 14
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 775,
"end": 801,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 35,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 786,
"end": 794,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 786,
"end": 793,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 15
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 786,
"end": 788,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 10
},
"identifierName": "s0"
},
"name": "s0"
},
"right": {
"type": "NumericLiteral",
"start": 792,
"end": 793,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 15
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 807,
"end": 824,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 21
}
},
"expression": {
"type": "AssignmentExpression",
"start": 807,
"end": 823,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 20
}
},
"operator": "-=",
"left": {
"type": "Identifier",
"start": 807,
"end": 809,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 6
},
"identifierName": "s1"
},
"name": "s1"
},
"right": {
"type": "CallExpression",
"start": 813,
"end": 823,
"loc": {
"start": {
"line": 36,
"column": 10
},
"end": {
"line": 36,
"column": 20
}
},
"callee": {
"type": "Identifier",
"start": 813,
"end": 817,
"loc": {
"start": {
"line": 36,
"column": 10
},
"end": {
"line": 36,
"column": 14
},
"identifierName": "mash"
},
"name": "mash"
},
"arguments": [
{
"type": "Identifier",
"start": 818,
"end": 822,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 19
},
"identifierName": "seed"
},
"name": "seed"
}
]
}
}
},
{
"type": "IfStatement",
"start": 830,
"end": 868,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 39,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 834,
"end": 840,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 14
}
},
"left": {
"type": "Identifier",
"start": 834,
"end": 836,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 10
},
"identifierName": "s1"
},
"name": "s1"
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 839,
"end": 840,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 14
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 842,
"end": 868,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 39,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 853,
"end": 861,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 853,
"end": 860,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 15
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 853,
"end": 855,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 10
},
"identifierName": "s1"
},
"name": "s1"
},
"right": {
"type": "NumericLiteral",
"start": 859,
"end": 860,
"loc": {
"start": {
"line": 38,
"column": 14
},
"end": {
"line": 38,
"column": 15
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 874,
"end": 891,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 21
}
},
"expression": {
"type": "AssignmentExpression",
"start": 874,
"end": 890,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 20
}
},
"operator": "-=",
"left": {
"type": "Identifier",
"start": 874,
"end": 876,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 6
},
"identifierName": "s2"
},
"name": "s2"
},
"right": {
"type": "CallExpression",
"start": 880,
"end": 890,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 20
}
},
"callee": {
"type": "Identifier",
"start": 880,
"end": 884,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 14
},
"identifierName": "mash"
},
"name": "mash"
},
"arguments": [
{
"type": "Identifier",
"start": 885,
"end": 889,
"loc": {
"start": {
"line": 40,
"column": 15
},
"end": {
"line": 40,
"column": 19
},
"identifierName": "seed"
},
"name": "seed"
}
]
}
}
},
{
"type": "IfStatement",
"start": 897,
"end": 935,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 43,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 901,
"end": 907,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 14
}
},
"left": {
"type": "Identifier",
"start": 901,
"end": 903,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 10
},
"identifierName": "s2"
},
"name": "s2"
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 906,
"end": 907,
"loc": {
"start": {
"line": 41,
"column": 13
},
"end": {
"line": 41,
"column": 14
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 909,
"end": 935,
"loc": {
"start": {
"line": 41,
"column": 16
},
"end": {
"line": 43,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 920,
"end": 928,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 920,
"end": 927,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 15
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 920,
"end": 922,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 10
},
"identifierName": "s2"
},
"name": "s2"
},
"right": {
"type": "NumericLiteral",
"start": 926,
"end": 927,
"loc": {
"start": {
"line": 42,
"column": 14
},
"end": {
"line": 42,
"column": 15
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 941,
"end": 953,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 941,
"end": 952,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 15
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 941,
"end": 945,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 8
},
"identifierName": "mash"
},
"name": "mash"
},
"right": {
"type": "NullLiteral",
"start": 948,
"end": 952,
"loc": {
"start": {
"line": 44,
"column": 11
},
"end": {
"line": 44,
"column": 15
}
}
}
}
},
{
"type": "VariableDeclaration",
"start": 961,
"end": 1140,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 51,
"column": 6
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 965,
"end": 1139,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 51,
"column": 5
}
},
"id": {
"type": "Identifier",
"start": 965,
"end": 971,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 14
},
"identifierName": "random"
},
"name": "random"
},
"init": {
"type": "FunctionExpression",
"start": 974,
"end": 1139,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 51,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 986,
"end": 1139,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 51,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 997,
"end": 1047,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1001,
"end": 1046,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 1001,
"end": 1002,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 13
},
"identifierName": "t"
},
"name": "t"
},
"init": {
"type": "BinaryExpression",
"start": 1005,
"end": 1046,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 57
}
},
"left": {
"type": "BinaryExpression",
"start": 1005,
"end": 1017,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 28
}
},
"left": {
"type": "NumericLiteral",
"start": 1005,
"end": 1012,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 23
}
},
"extra": {
"rawValue": 2091639,
"raw": "2091639"
},
"value": 2091639
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 1015,
"end": 1017,
"loc": {
"start": {
"line": 47,
"column": 26
},
"end": {
"line": 47,
"column": 28
},
"identifierName": "s0"
},
"name": "s0"
}
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 1020,
"end": 1046,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 57
}
},
"left": {
"type": "Identifier",
"start": 1020,
"end": 1021,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 32
},
"identifierName": "c"
},
"name": "c"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 1024,
"end": 1046,
"loc": {
"start": {
"line": 47,
"column": 35
},
"end": {
"line": 47,
"column": 57
}
},
"extra": {
"rawValue": 2.3283064365386963e-10,
"raw": "2.3283064365386963e-10"
},
"value": 2.3283064365386963e-10
}
}
}
}
],
"kind": "var",
"trailingComments": [
{
"type": "CommentLine",
"value": " 2^-32",
"start": 1048,
"end": 1056,
"loc": {
"start": {
"line": 47,
"column": 59
},
"end": {
"line": 47,
"column": 67
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1066,
"end": 1074,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1066,
"end": 1073,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 15
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1066,
"end": 1068,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 10
},
"identifierName": "s0"
},
"name": "s0",
"leadingComments": null
},
"right": {
"type": "Identifier",
"start": 1071,
"end": 1073,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 15
},
"identifierName": "s1"
},
"name": "s1"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " 2^-32",
"start": 1048,
"end": 1056,
"loc": {
"start": {
"line": 47,
"column": 59
},
"end": {
"line": 47,
"column": 67
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1084,
"end": 1092,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1084,
"end": 1091,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 15
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1084,
"end": 1086,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 10
},
"identifierName": "s1"
},
"name": "s1"
},
"right": {
"type": "Identifier",
"start": 1089,
"end": 1091,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 15
},
"identifierName": "s2"
},
"name": "s2"
}
}
},
{
"type": "ReturnStatement",
"start": 1102,
"end": 1132,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 38
}
},
"argument": {
"type": "AssignmentExpression",
"start": 1110,
"end": 1130,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 36
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1110,
"end": 1112,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 18
},
"identifierName": "s2"
},
"name": "s2"
},
"right": {
"type": "BinaryExpression",
"start": 1115,
"end": 1130,
"loc": {
"start": {
"line": 50,
"column": 21
},
"end": {
"line": 50,
"column": 36
}
},
"left": {
"type": "Identifier",
"start": 1115,
"end": 1116,
"loc": {
"start": {
"line": 50,
"column": 21
},
"end": {
"line": 50,
"column": 22
},
"identifierName": "t"
},
"name": "t"
},
"operator": "-",
"right": {
"type": "AssignmentExpression",
"start": 1120,
"end": 1129,
"loc": {
"start": {
"line": 50,
"column": 26
},
"end": {
"line": 50,
"column": 35
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1120,
"end": 1121,
"loc": {
"start": {
"line": 50,
"column": 26
},
"end": {
"line": 50,
"column": 27
},
"identifierName": "c"
},
"name": "c"
},
"right": {
"type": "BinaryExpression",
"start": 1124,
"end": 1129,
"loc": {
"start": {
"line": 50,
"column": 30
},
"end": {
"line": 50,
"column": 35
}
},
"left": {
"type": "Identifier",
"start": 1124,
"end": 1125,
"loc": {
"start": {
"line": 50,
"column": 30
},
"end": {
"line": 50,
"column": 31
},
"identifierName": "t"
},
"name": "t"
},
"operator": "|",
"right": {
"type": "NumericLiteral",
"start": 1128,
"end": 1129,
"loc": {
"start": {
"line": 50,
"column": 34
},
"end": {
"line": 50,
"column": 35
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"extra": {
"parenthesized": true,
"parenStart": 1119
}
}
},
"extra": {
"parenthesized": true,
"parenStart": 1109
}
}
}
],
"directives": []
}
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 1148,
"end": 1223,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 55,
"column": 6
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1148,
"end": 1222,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 55,
"column": 5
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1148,
"end": 1166,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1148,
"end": 1154,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 10
},
"identifierName": "random"
},
"name": "random"
},
"property": {
"type": "Identifier",
"start": 1155,
"end": 1166,
"loc": {
"start": {
"line": 53,
"column": 11
},
"end": {
"line": 53,
"column": 22
},
"identifierName": "exportState"
},
"name": "exportState"
},
"computed": false
},
"right": {
"type": "FunctionExpression",
"start": 1169,
"end": 1222,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 55,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1181,
"end": 1222,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 55,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1192,
"end": 1215,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 31
}
},
"argument": {
"type": "ArrayExpression",
"start": 1199,
"end": 1214,
"loc": {
"start": {
"line": 54,
"column": 15
},
"end": {
"line": 54,
"column": 30
}
},
"elements": [
{
"type": "Identifier",
"start": 1200,
"end": 1202,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 18
},
"identifierName": "s0"
},
"name": "s0"
},
{
"type": "Identifier",
"start": 1204,
"end": 1206,
"loc": {
"start": {
"line": 54,
"column": 20
},
"end": {
"line": 54,
"column": 22
},
"identifierName": "s1"
},
"name": "s1"
},
{
"type": "Identifier",
"start": 1208,
"end": 1210,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 26
},
"identifierName": "s2"
},
"name": "s2"
},
{
"type": "Identifier",
"start": 1212,
"end": 1213,
"loc": {
"start": {
"line": 54,
"column": 28
},
"end": {
"line": 54,
"column": 29
},
"identifierName": "c"
},
"name": "c"
}
]
}
}
],
"directives": []
}
}
}
},
{
"type": "ExpressionStatement",
"start": 1231,
"end": 1377,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 62,
"column": 6
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1231,
"end": 1376,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 62,
"column": 5
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1231,
"end": 1249,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1231,
"end": 1237,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 10
},
"identifierName": "random"
},
"name": "random"
},
"property": {
"type": "Identifier",
"start": 1238,
"end": 1249,
"loc": {
"start": {
"line": 57,
"column": 11
},
"end": {
"line": 57,
"column": 22
},
"identifierName": "importState"
},
"name": "importState"
},
"computed": false
},
"right": {
"type": "FunctionExpression",
"start": 1252,
"end": 1376,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 62,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1262,
"end": 1263,
"loc": {
"start": {
"line": 57,
"column": 35
},
"end": {
"line": 57,
"column": 36
},
"identifierName": "i"
},
"name": "i"
}
],
"body": {
"type": "BlockStatement",
"start": 1265,
"end": 1376,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 62,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1276,
"end": 1292,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1276,
"end": 1291,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 23
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1276,
"end": 1278,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 10
},
"identifierName": "s0"
},
"name": "s0"
},
"right": {
"type": "LogicalExpression",
"start": 1281,
"end": 1291,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 23
}
},
"left": {
"type": "UnaryExpression",
"start": 1281,
"end": 1286,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 18
}
},
"operator": "+",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1282,
"end": 1286,
"loc": {
"start": {
"line": 58,
"column": 14
},
"end": {
"line": 58,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1282,
"end": 1283,
"loc": {
"start": {
"line": 58,
"column": 14
},
"end": {
"line": 58,
"column": 15
},
"identifierName": "i"
},
"name": "i"
},
"property": {
"type": "NumericLiteral",
"start": 1284,
"end": 1285,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 17
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "NumericLiteral",
"start": 1290,
"end": 1291,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 58,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
},
{
"type": "ExpressionStatement",
"start": 1302,
"end": 1318,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1302,
"end": 1317,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 23
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1302,
"end": 1304,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 10
},
"identifierName": "s1"
},
"name": "s1"
},
"right": {
"type": "LogicalExpression",
"start": 1307,
"end": 1317,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 23
}
},
"left": {
"type": "UnaryExpression",
"start": 1307,
"end": 1312,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 18
}
},
"operator": "+",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1308,
"end": 1312,
"loc": {
"start": {
"line": 59,
"column": 14
},
"end": {
"line": 59,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1308,
"end": 1309,
"loc": {
"start": {
"line": 59,
"column": 14
},
"end": {
"line": 59,
"column": 15
},
"identifierName": "i"
},
"name": "i"
},
"property": {
"type": "NumericLiteral",
"start": 1310,
"end": 1311,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 17
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "NumericLiteral",
"start": 1316,
"end": 1317,
"loc": {
"start": {
"line": 59,
"column": 22
},
"end": {
"line": 59,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
},
{
"type": "ExpressionStatement",
"start": 1328,
"end": 1344,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1328,
"end": 1343,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 23
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1328,
"end": 1330,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 10
},
"identifierName": "s2"
},
"name": "s2"
},
"right": {
"type": "LogicalExpression",
"start": 1333,
"end": 1343,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 23
}
},
"left": {
"type": "UnaryExpression",
"start": 1333,
"end": 1338,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 18
}
},
"operator": "+",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1334,
"end": 1338,
"loc": {
"start": {
"line": 60,
"column": 14
},
"end": {
"line": 60,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1334,
"end": 1335,
"loc": {
"start": {
"line": 60,
"column": 14
},
"end": {
"line": 60,
"column": 15
},
"identifierName": "i"
},
"name": "i"
},
"property": {
"type": "NumericLiteral",
"start": 1336,
"end": 1337,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 17
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "NumericLiteral",
"start": 1342,
"end": 1343,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
},
{
"type": "ExpressionStatement",
"start": 1354,
"end": 1369,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1354,
"end": 1368,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 22
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 9
},
"identifierName": "c"
},
"name": "c"
},
"right": {
"type": "LogicalExpression",
"start": 1358,
"end": 1368,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 22
}
},
"left": {
"type": "UnaryExpression",
"start": 1358,
"end": 1363,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 17
}
},
"operator": "+",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1359,
"end": 1363,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 1359,
"end": 1360,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 14
},
"identifierName": "i"
},
"name": "i"
},
"property": {
"type": "NumericLiteral",
"start": 1361,
"end": 1362,
"loc": {
"start": {
"line": 61,
"column": 15
},
"end": {
"line": 61,
"column": 16
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
},
"computed": true
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "NumericLiteral",
"start": 1367,
"end": 1368,
"loc": {
"start": {
"line": 61,
"column": 21
},
"end": {
"line": 61,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
}
],
"directives": []
}
}
}
},
{
"type": "ReturnStatement",
"start": 1385,
"end": 1399,
"loc": {
"start": {
"line": 64,
"column": 4
},
"end": {
"line": 64,
"column": 18
}
},
"argument": {
"type": "Identifier",
"start": 1392,
"end": 1398,
"loc": {
"start": {
"line": 64,
"column": 11
},
"end": {
"line": 64,
"column": 17
},
"identifierName": "random"
},
"name": "random"
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number|string} seed\r\n ",
"start": 498,
"end": 538,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 23,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1406,
"end": 2909,
"loc": {
"start": {
"line": 67,
"column": 0
},
"end": {
"line": 129,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 1413,
"end": 2909,
"loc": {
"start": {
"line": 67,
"column": 7
},
"end": {
"line": 129,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1419,
"end": 1440,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 34
},
"identifierName": "RandomNumberGenerator"
},
"name": "RandomNumberGenerator"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 1441,
"end": 2909,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 129,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 1511,
"end": 1600,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 74,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1511,
"end": 1522,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 72,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1523,
"end": 1527,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 20
},
"identifierName": "seed"
},
"name": "seed"
}
],
"body": {
"type": "BlockStatement",
"start": 1529,
"end": 1600,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 74,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1540,
"end": 1593,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 61
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1540,
"end": 1592,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 60
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1540,
"end": 1556,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1540,
"end": 1544,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1545,
"end": 1556,
"loc": {
"start": {
"line": 73,
"column": 13
},
"end": {
"line": 73,
"column": 24
},
"identifierName": "internalRng"
},
"name": "internalRng"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1559,
"end": 1592,
"loc": {
"start": {
"line": 73,
"column": 27
},
"end": {
"line": 73,
"column": 60
}
},
"callee": {
"type": "Identifier",
"start": 1559,
"end": 1569,
"loc": {
"start": {
"line": 73,
"column": 27
},
"end": {
"line": 73,
"column": 37
},
"identifierName": "makeNewRng"
},
"name": "makeNewRng"
},
"arguments": [
{
"type": "LogicalExpression",
"start": 1570,
"end": 1591,
"loc": {
"start": {
"line": 73,
"column": 38
},
"end": {
"line": 73,
"column": 59
}
},
"left": {
"type": "Identifier",
"start": 1570,
"end": 1574,
"loc": {
"start": {
"line": 73,
"column": 38
},
"end": {
"line": 73,
"column": 42
},
"identifierName": "seed"
},
"name": "seed"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 1578,
"end": 1591,
"loc": {
"start": {
"line": 73,
"column": 46
},
"end": {
"line": 73,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 1578,
"end": 1589,
"loc": {
"start": {
"line": 73,
"column": 46
},
"end": {
"line": 73,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 1578,
"end": 1582,
"loc": {
"start": {
"line": 73,
"column": 46
},
"end": {
"line": 73,
"column": 50
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 1583,
"end": 1589,
"loc": {
"start": {
"line": 73,
"column": 51
},
"end": {
"line": 73,
"column": 57
},
"identifierName": "random"
},
"name": "random"
},
"computed": false
},
"arguments": []
}
}
]
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {number|string=} seed\r\n ",
"start": 1448,
"end": 1505,
"loc": {
"start": {
"line": 68,
"column": 4
},
"end": {
"line": 71,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Re-seeds the generator\r\n * @param {number|string} seed\r\n ",
"start": 1608,
"end": 1687,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 79,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1693,
"end": 1777,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 82,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1693,
"end": 1699,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 10
},
"identifierName": "reseed"
},
"name": "reseed",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1700,
"end": 1704,
"loc": {
"start": {
"line": 80,
"column": 11
},
"end": {
"line": 80,
"column": 15
},
"identifierName": "seed"
},
"name": "seed"
}
],
"body": {
"type": "BlockStatement",
"start": 1706,
"end": 1777,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 82,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1717,
"end": 1770,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 61
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1717,
"end": 1769,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 60
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1717,
"end": 1733,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1717,
"end": 1721,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1722,
"end": 1733,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 24
},
"identifierName": "internalRng"
},
"name": "internalRng"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1736,
"end": 1769,
"loc": {
"start": {
"line": 81,
"column": 27
},
"end": {
"line": 81,
"column": 60
}
},
"callee": {
"type": "Identifier",
"start": 1736,
"end": 1746,
"loc": {
"start": {
"line": 81,
"column": 27
},
"end": {
"line": 81,
"column": 37
},
"identifierName": "makeNewRng"
},
"name": "makeNewRng"
},
"arguments": [
{
"type": "LogicalExpression",
"start": 1747,
"end": 1768,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 59
}
},
"left": {
"type": "Identifier",
"start": 1747,
"end": 1751,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 42
},
"identifierName": "seed"
},
"name": "seed"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 1755,
"end": 1768,
"loc": {
"start": {
"line": 81,
"column": 46
},
"end": {
"line": 81,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 1755,
"end": 1766,
"loc": {
"start": {
"line": 81,
"column": 46
},
"end": {
"line": 81,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 1755,
"end": 1759,
"loc": {
"start": {
"line": 81,
"column": 46
},
"end": {
"line": 81,
"column": 50
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 1760,
"end": 1766,
"loc": {
"start": {
"line": 81,
"column": 51
},
"end": {
"line": 81,
"column": 57
},
"identifierName": "random"
},
"name": "random"
},
"computed": false
},
"arguments": []
}
}
]
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Re-seeds the generator\r\n * @param {number|string} seed\r\n ",
"start": 1608,
"end": 1687,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 79,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @returns {number} between 0 and 1\r\n ",
"start": 1785,
"end": 1839,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 86,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1845,
"end": 1896,
"loc": {
"start": {
"line": 87,
"column": 4
},
"end": {
"line": 89,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1845,
"end": 1849,
"loc": {
"start": {
"line": 87,
"column": 4
},
"end": {
"line": 87,
"column": 8
},
"identifierName": "next"
},
"name": "next",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1852,
"end": 1896,
"loc": {
"start": {
"line": 87,
"column": 11
},
"end": {
"line": 89,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1863,
"end": 1889,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 34
}
},
"argument": {
"type": "CallExpression",
"start": 1870,
"end": 1888,
"loc": {
"start": {
"line": 88,
"column": 15
},
"end": {
"line": 88,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1870,
"end": 1886,
"loc": {
"start": {
"line": 88,
"column": 15
},
"end": {
"line": 88,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1870,
"end": 1874,
"loc": {
"start": {
"line": 88,
"column": 15
},
"end": {
"line": 88,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 1875,
"end": 1886,
"loc": {
"start": {
"line": 88,
"column": 20
},
"end": {
"line": 88,
"column": 31
},
"identifierName": "internalRng"
},
"name": "internalRng"
},
"computed": false
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @returns {number} between 0 and 1\r\n ",
"start": 1785,
"end": 1839,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 86,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Random choice of an array\r\n * @param {array} array\r\n ",
"start": 1904,
"end": 1979,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 94,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1985,
"end": 2096,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 98,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1985,
"end": 1991,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 10
},
"identifierName": "choice"
},
"name": "choice",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1992,
"end": 1997,
"loc": {
"start": {
"line": 95,
"column": 11
},
"end": {
"line": 95,
"column": 16
},
"identifierName": "array"
},
"name": "array"
}
],
"body": {
"type": "BlockStatement",
"start": 1999,
"end": 2096,
"loc": {
"start": {
"line": 95,
"column": 18
},
"end": {
"line": 98,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2010,
"end": 2059,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 57
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2016,
"end": 2058,
"loc": {
"start": {
"line": 96,
"column": 14
},
"end": {
"line": 96,
"column": 56
}
},
"id": {
"type": "Identifier",
"start": 2016,
"end": 2021,
"loc": {
"start": {
"line": 96,
"column": 14
},
"end": {
"line": 96,
"column": 19
},
"identifierName": "index"
},
"name": "index"
},
"init": {
"type": "CallExpression",
"start": 2024,
"end": 2058,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 2024,
"end": 2041,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 2024,
"end": 2028,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 2029,
"end": 2041,
"loc": {
"start": {
"line": 96,
"column": 27
},
"end": {
"line": 96,
"column": 39
},
"identifierName": "nextIntRange"
},
"name": "nextIntRange"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 2042,
"end": 2043,
"loc": {
"start": {
"line": 96,
"column": 40
},
"end": {
"line": 96,
"column": 41
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "MemberExpression",
"start": 2045,
"end": 2057,
"loc": {
"start": {
"line": 96,
"column": 43
},
"end": {
"line": 96,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 2045,
"end": 2050,
"loc": {
"start": {
"line": 96,
"column": 43
},
"end": {
"line": 96,
"column": 48
},
"identifierName": "array"
},
"name": "array"
},
"property": {
"type": "Identifier",
"start": 2051,
"end": 2057,
"loc": {
"start": {
"line": 96,
"column": 49
},
"end": {
"line": 96,
"column": 55
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 2069,
"end": 2089,
"loc": {
"start": {
"line": 97,
"column": 8
},
"end": {
"line": 97,
"column": 28
}
},
"argument": {
"type": "MemberExpression",
"start": 2076,
"end": 2088,
"loc": {
"start": {
"line": 97,
"column": 15
},
"end": {
"line": 97,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 2076,
"end": 2081,
"loc": {
"start": {
"line": 97,
"column": 15
},
"end": {
"line": 97,
"column": 20
},
"identifierName": "array"
},
"name": "array"
},
"property": {
"type": "Identifier",
"start": 2082,
"end": 2087,
"loc": {
"start": {
"line": 97,
"column": 21
},
"end": {
"line": 97,
"column": 26
},
"identifierName": "index"
},
"name": "index"
},
"computed": true
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Random choice of an array\r\n * @param {array} array\r\n ",
"start": 1904,
"end": 1979,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 94,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} min\r\n * @param {number} max\r\n * @returns {number} Integer in range [min, max[\r\n ",
"start": 2104,
"end": 2226,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2232,
"end": 2499,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 110,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2232,
"end": 2244,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 16
},
"identifierName": "nextIntRange"
},
"name": "nextIntRange",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2245,
"end": 2248,
"loc": {
"start": {
"line": 105,
"column": 17
},
"end": {
"line": 105,
"column": 20
},
"identifierName": "min"
},
"name": "min"
},
{
"type": "Identifier",
"start": 2250,
"end": 2253,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 25
},
"identifierName": "max"
},
"name": "max"
}
],
"body": {
"type": "BlockStatement",
"start": 2255,
"end": 2499,
"loc": {
"start": {
"line": 105,
"column": 27
},
"end": {
"line": 110,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2266,
"end": 2320,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 2266,
"end": 2319,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 61
}
},
"callee": {
"type": "Identifier",
"start": 2266,
"end": 2272,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "CallExpression",
"start": 2273,
"end": 2293,
"loc": {
"start": {
"line": 106,
"column": 15
},
"end": {
"line": 106,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 2273,
"end": 2288,
"loc": {
"start": {
"line": 106,
"column": 15
},
"end": {
"line": 106,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 2273,
"end": 2279,
"loc": {
"start": {
"line": 106,
"column": 15
},
"end": {
"line": 106,
"column": 21
},
"identifierName": "Number"
},
"name": "Number"
},
"property": {
"type": "Identifier",
"start": 2280,
"end": 2288,
"loc": {
"start": {
"line": 106,
"column": 22
},
"end": {
"line": 106,
"column": 30
},
"identifierName": "isFinite"
},
"name": "isFinite"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2289,
"end": 2292,
"loc": {
"start": {
"line": 106,
"column": 31
},
"end": {
"line": 106,
"column": 34
},
"identifierName": "min"
},
"name": "min"
}
]
},
{
"type": "StringLiteral",
"start": 2295,
"end": 2318,
"loc": {
"start": {
"line": 106,
"column": 37
},
"end": {
"line": 106,
"column": 60
}
},
"extra": {
"rawValue": "Minimum is no integer",
"raw": "\"Minimum is no integer\""
},
"value": "Minimum is no integer"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2330,
"end": 2384,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 2330,
"end": 2383,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 61
}
},
"callee": {
"type": "Identifier",
"start": 2330,
"end": 2336,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "CallExpression",
"start": 2337,
"end": 2357,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 2337,
"end": 2352,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 2337,
"end": 2343,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 21
},
"identifierName": "Number"
},
"name": "Number"
},
"property": {
"type": "Identifier",
"start": 2344,
"end": 2352,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 30
},
"identifierName": "isFinite"
},
"name": "isFinite"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2353,
"end": 2356,
"loc": {
"start": {
"line": 107,
"column": 31
},
"end": {
"line": 107,
"column": 34
},
"identifierName": "max"
},
"name": "max"
}
]
},
{
"type": "StringLiteral",
"start": 2359,
"end": 2382,
"loc": {
"start": {
"line": 107,
"column": 37
},
"end": {
"line": 107,
"column": 60
}
},
"extra": {
"rawValue": "Maximum is no integer",
"raw": "\"Maximum is no integer\""
},
"value": "Maximum is no integer"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2394,
"end": 2431,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 2394,
"end": 2430,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 44
}
},
"callee": {
"type": "Identifier",
"start": 2394,
"end": 2400,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2401,
"end": 2410,
"loc": {
"start": {
"line": 108,
"column": 15
},
"end": {
"line": 108,
"column": 24
}
},
"left": {
"type": "Identifier",
"start": 2401,
"end": 2404,
"loc": {
"start": {
"line": 108,
"column": 15
},
"end": {
"line": 108,
"column": 18
},
"identifierName": "max"
},
"name": "max"
},
"operator": ">",
"right": {
"type": "Identifier",
"start": 2407,
"end": 2410,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 24
},
"identifierName": "min"
},
"name": "min"
}
},
{
"type": "StringLiteral",
"start": 2412,
"end": 2429,
"loc": {
"start": {
"line": 108,
"column": 26
},
"end": {
"line": 108,
"column": 43
}
},
"extra": {
"rawValue": "rng: max <= min",
"raw": "\"rng: max <= min\""
},
"value": "rng: max <= min"
}
]
}
},
{
"type": "ReturnStatement",
"start": 2441,
"end": 2492,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 59
}
},
"argument": {
"type": "CallExpression",
"start": 2448,
"end": 2491,
"loc": {
"start": {
"line": 109,
"column": 15
},
"end": {
"line": 109,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 2448,
"end": 2458,
"loc": {
"start": {
"line": 109,
"column": 15
},
"end": {
"line": 109,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2448,
"end": 2452,
"loc": {
"start": {
"line": 109,
"column": 15
},
"end": {
"line": 109,
"column": 19
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 2453,
"end": 2458,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 25
},
"identifierName": "floor"
},
"name": "floor"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2459,
"end": 2490,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 57
}
},
"left": {
"type": "BinaryExpression",
"start": 2459,
"end": 2484,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 51
}
},
"left": {
"type": "CallExpression",
"start": 2459,
"end": 2470,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 2459,
"end": 2468,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 2459,
"end": 2463,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 2464,
"end": 2468,
"loc": {
"start": {
"line": 109,
"column": 31
},
"end": {
"line": 109,
"column": 35
},
"identifierName": "next"
},
"name": "next"
},
"computed": false
},
"arguments": []
},
"operator": "*",
"right": {
"type": "BinaryExpression",
"start": 2474,
"end": 2483,
"loc": {
"start": {
"line": 109,
"column": 41
},
"end": {
"line": 109,
"column": 50
}
},
"left": {
"type": "Identifier",
"start": 2474,
"end": 2477,
"loc": {
"start": {
"line": 109,
"column": 41
},
"end": {
"line": 109,
"column": 44
},
"identifierName": "max"
},
"name": "max"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 2480,
"end": 2483,
"loc": {
"start": {
"line": 109,
"column": 47
},
"end": {
"line": 109,
"column": 50
},
"identifierName": "min"
},
"name": "min"
},
"extra": {
"parenthesized": true,
"parenStart": 2473
}
}
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 2487,
"end": 2490,
"loc": {
"start": {
"line": 109,
"column": 54
},
"end": {
"line": 109,
"column": 57
},
"identifierName": "min"
},
"name": "min"
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} min\r\n * @param {number} max\r\n * @returns {number} Integer in range [min, max[\r\n ",
"start": 2104,
"end": 2226,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} min\r\n * @param {number} max\r\n * @returns {number} Number in range [min, max[\r\n ",
"start": 2507,
"end": 2628,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2634,
"end": 2758,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 120,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2634,
"end": 2643,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 13
},
"identifierName": "nextRange"
},
"name": "nextRange",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2644,
"end": 2647,
"loc": {
"start": {
"line": 117,
"column": 14
},
"end": {
"line": 117,
"column": 17
},
"identifierName": "min"
},
"name": "min"
},
{
"type": "Identifier",
"start": 2649,
"end": 2652,
"loc": {
"start": {
"line": 117,
"column": 19
},
"end": {
"line": 117,
"column": 22
},
"identifierName": "max"
},
"name": "max"
}
],
"body": {
"type": "BlockStatement",
"start": 2654,
"end": 2758,
"loc": {
"start": {
"line": 117,
"column": 24
},
"end": {
"line": 120,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2665,
"end": 2702,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 2665,
"end": 2701,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 44
}
},
"callee": {
"type": "Identifier",
"start": 2665,
"end": 2671,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2672,
"end": 2681,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 24
}
},
"left": {
"type": "Identifier",
"start": 2672,
"end": 2675,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 18
},
"identifierName": "max"
},
"name": "max"
},
"operator": ">",
"right": {
"type": "Identifier",
"start": 2678,
"end": 2681,
"loc": {
"start": {
"line": 118,
"column": 21
},
"end": {
"line": 118,
"column": 24
},
"identifierName": "min"
},
"name": "min"
}
},
{
"type": "StringLiteral",
"start": 2683,
"end": 2700,
"loc": {
"start": {
"line": 118,
"column": 26
},
"end": {
"line": 118,
"column": 43
}
},
"extra": {
"rawValue": "rng: max <= min",
"raw": "\"rng: max <= min\""
},
"value": "rng: max <= min"
}
]
}
},
{
"type": "ReturnStatement",
"start": 2712,
"end": 2751,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 47
}
},
"argument": {
"type": "BinaryExpression",
"start": 2719,
"end": 2750,
"loc": {
"start": {
"line": 119,
"column": 15
},
"end": {
"line": 119,
"column": 46
}
},
"left": {
"type": "BinaryExpression",
"start": 2719,
"end": 2744,
"loc": {
"start": {
"line": 119,
"column": 15
},
"end": {
"line": 119,
"column": 40
}
},
"left": {
"type": "CallExpression",
"start": 2719,
"end": 2730,
"loc": {
"start": {
"line": 119,
"column": 15
},
"end": {
"line": 119,
"column": 26
}
},
"callee": {
"type": "MemberExpression",
"start": 2719,
"end": 2728,
"loc": {
"start": {
"line": 119,
"column": 15
},
"end": {
"line": 119,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 2719,
"end": 2723,
"loc": {
"start": {
"line": 119,
"column": 15
},
"end": {
"line": 119,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 2724,
"end": 2728,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 24
},
"identifierName": "next"
},
"name": "next"
},
"computed": false
},
"arguments": []
},
"operator": "*",
"right": {
"type": "BinaryExpression",
"start": 2734,
"end": 2743,
"loc": {
"start": {
"line": 119,
"column": 30
},
"end": {
"line": 119,
"column": 39
}
},
"left": {
"type": "Identifier",
"start": 2734,
"end": 2737,
"loc": {
"start": {
"line": 119,
"column": 30
},
"end": {
"line": 119,
"column": 33
},
"identifierName": "max"
},
"name": "max"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 2740,
"end": 2743,
"loc": {
"start": {
"line": 119,
"column": 36
},
"end": {
"line": 119,
"column": 39
},
"identifierName": "min"
},
"name": "min"
},
"extra": {
"parenthesized": true,
"parenStart": 2733
}
}
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 2747,
"end": 2750,
"loc": {
"start": {
"line": 119,
"column": 43
},
"end": {
"line": 119,
"column": 46
},
"identifierName": "min"
},
"name": "min"
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} min\r\n * @param {number} max\r\n * @returns {number} Number in range [min, max[\r\n ",
"start": 2507,
"end": 2628,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Updates the seed\r\n * @param {number} seed\r\n ",
"start": 2766,
"end": 2832,
"loc": {
"start": {
"line": 122,
"column": 4
},
"end": {
"line": 125,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2838,
"end": 2906,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 128,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2838,
"end": 2845,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 126,
"column": 11
},
"identifierName": "setSeed"
},
"name": "setSeed",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2846,
"end": 2850,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 16
},
"identifierName": "seed"
},
"name": "seed"
}
],
"body": {
"type": "BlockStatement",
"start": 2852,
"end": 2906,
"loc": {
"start": {
"line": 126,
"column": 18
},
"end": {
"line": 128,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2863,
"end": 2899,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2863,
"end": 2898,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2863,
"end": 2879,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 2863,
"end": 2867,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2868,
"end": 2879,
"loc": {
"start": {
"line": 127,
"column": 13
},
"end": {
"line": 127,
"column": 24
},
"identifierName": "internalRng"
},
"name": "internalRng"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2882,
"end": 2898,
"loc": {
"start": {
"line": 127,
"column": 27
},
"end": {
"line": 127,
"column": 43
}
},
"callee": {
"type": "Identifier",
"start": 2882,
"end": 2892,
"loc": {
"start": {
"line": 127,
"column": 27
},
"end": {
"line": 127,
"column": 37
},
"identifierName": "makeNewRng"
},
"name": "makeNewRng"
},
"arguments": [
{
"type": "Identifier",
"start": 2893,
"end": 2897,
"loc": {
"start": {
"line": 127,
"column": 38
},
"end": {
"line": 127,
"column": 42
},
"identifierName": "seed"
},
"name": "seed"
}
]
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Updates the seed\r\n * @param {number} seed\r\n ",
"start": 2766,
"end": 2832,
"loc": {
"start": {
"line": 122,
"column": 4
},
"end": {
"line": 125,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " ALEA RNG",
"start": 0,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 11
}
}
},
{
"type": "CommentLine",
"value": " 2^32",
"start": 404,
"end": 411,
"loc": {
"start": {
"line": 15,
"column": 34
},
"end": {
"line": 15,
"column": 41
}
}
},
{
"type": "CommentLine",
"value": " 2^-32",
"start": 475,
"end": 483,
"loc": {
"start": {
"line": 17,
"column": 51
},
"end": {
"line": 17,
"column": 59
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number|string} seed\r\n ",
"start": 498,
"end": 538,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 23,
"column": 3
}
}
},
{
"type": "CommentLine",
"value": " Johannes Baagøe <baagoe@baagoe.com>, 2010",
"start": 573,
"end": 617,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " 2^-32",
"start": 1048,
"end": 1056,
"loc": {
"start": {
"line": 47,
"column": 59
},
"end": {
"line": 47,
"column": 67
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {number|string=} seed\r\n ",
"start": 1448,
"end": 1505,
"loc": {
"start": {
"line": 68,
"column": 4
},
"end": {
"line": 71,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Re-seeds the generator\r\n * @param {number|string} seed\r\n ",
"start": 1608,
"end": 1687,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 79,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @returns {number} between 0 and 1\r\n ",
"start": 1785,
"end": 1839,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 86,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Random choice of an array\r\n * @param {array} array\r\n ",
"start": 1904,
"end": 1979,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 94,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} min\r\n * @param {number} max\r\n * @returns {number} Integer in range [min, max[\r\n ",
"start": 2104,
"end": 2226,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} min\r\n * @param {number} max\r\n * @returns {number} Number in range [min, max[\r\n ",
"start": 2507,
"end": 2628,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Updates the seed\r\n * @param {number} seed\r\n ",
"start": 2766,
"end": 2832,
"loc": {
"start": {
"line": 122,
"column": 4
},
"end": {
"line": 125,
"column": 7
}
}
}
],
"tokens": [
{
"type": "CommentLine",
"value": " ALEA RNG",
"start": 0,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 11
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 15,
"end": 23,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Mash",
"start": 24,
"end": 28,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 28,
"end": 29,
"loc": {
"start": {
"line": 3,
"column": 13
},
"end": {
"line": 3,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 29,
"end": 30,
"loc": {
"start": {
"line": 3,
"column": 14
},
"end": {
"line": 3,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 31,
"end": 32,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 3,
"column": 17
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 38,
"end": 41,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 42,
"end": 43,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 44,
"end": 45,
"loc": {
"start": {
"line": 4,
"column": 10
},
"end": {
"line": 4,
"column": 11
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4022871197,
"start": 46,
"end": 56,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"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": 4,
"column": 22
},
"end": {
"line": 4,
"column": 23
}
}
},
{
"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": 63,
"end": 69,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 10
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 70,
"end": 78,
"loc": {
"start": {
"line": 5,
"column": 11
},
"end": {
"line": 5,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 79,
"end": 80,
"loc": {
"start": {
"line": 5,
"column": 20
},
"end": {
"line": 5,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 80,
"end": 84,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 84,
"end": 85,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 86,
"end": 87,
"loc": {
"start": {
"line": 5,
"column": 27
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 97,
"end": 101,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 102,
"end": 103,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 104,
"end": 108,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 108,
"end": 109,
"loc": {
"start": {
"line": 6,
"column": 19
},
"end": {
"line": 6,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toString",
"start": 109,
"end": 117,
"loc": {
"start": {
"line": 6,
"column": 20
},
"end": {
"line": 6,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 117,
"end": 118,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 118,
"end": 119,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 6,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 119,
"end": 120,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 31
}
}
},
{
"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": 130,
"end": 133,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 134,
"end": 135,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 13
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 135,
"end": 138,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 141,
"end": 142,
"loc": {
"start": {
"line": 7,
"column": 19
},
"end": {
"line": 7,
"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": 143,
"end": 144,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 144,
"end": 145,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 146,
"end": 147,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 148,
"end": 149,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 150,
"end": 154,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 154,
"end": 155,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 155,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 33
},
"end": {
"line": 7,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 161,
"end": 162,
"loc": {
"start": {
"line": 7,
"column": 39
},
"end": {
"line": 7,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 163,
"end": 164,
"loc": {
"start": {
"line": 7,
"column": 41
},
"end": {
"line": 7,
"column": 42
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 164,
"end": 166,
"loc": {
"start": {
"line": 7,
"column": 42
},
"end": {
"line": 7,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 166,
"end": 167,
"loc": {
"start": {
"line": 7,
"column": 44
},
"end": {
"line": 7,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 168,
"end": 169,
"loc": {
"start": {
"line": 7,
"column": 46
},
"end": {
"line": 7,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 183,
"end": 184,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 13
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 185,
"end": 187,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 188,
"end": 192,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 8,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 8,
"column": 21
},
"end": {
"line": 8,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "charCodeAt",
"start": 193,
"end": 203,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 203,
"end": 204,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 8,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 204,
"end": 205,
"loc": {
"start": {
"line": 8,
"column": 33
},
"end": {
"line": 8,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 205,
"end": 206,
"loc": {
"start": {
"line": 8,
"column": 34
},
"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": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 221,
"end": 224,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 227,
"end": 228,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 19
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.02519603282416938,
"start": 229,
"end": 248,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 39
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 249,
"end": 250,
"loc": {
"start": {
"line": 9,
"column": 40
},
"end": {
"line": 9,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 251,
"end": 252,
"loc": {
"start": {
"line": 9,
"column": 42
},
"end": {
"line": 9,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 252,
"end": 253,
"loc": {
"start": {
"line": 9,
"column": 43
},
"end": {
"line": 9,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 267,
"end": 268,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 269,
"end": 270,
"loc": {
"start": {
"line": 10,
"column": 14
},
"end": {
"line": 10,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 271,
"end": 272,
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 17
}
}
},
{
"type": {
"label": "<</>>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 8,
"updateContext": null
},
"value": ">>>",
"start": 273,
"end": 276,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 277,
"end": 278,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 278,
"end": 279,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 293,
"end": 294,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 13
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "-=",
"start": 295,
"end": 297,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 298,
"end": 299,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 299,
"end": 300,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 314,
"end": 315,
"loc": {
"start": {
"line": 12,
"column": 12
},
"end": {
"line": 12,
"column": 13
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "*=",
"start": 316,
"end": 318,
"loc": {
"start": {
"line": 12,
"column": 14
},
"end": {
"line": 12,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 319,
"end": 320,
"loc": {
"start": {
"line": 12,
"column": 17
},
"end": {
"line": 12,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 320,
"end": 321,
"loc": {
"start": {
"line": 12,
"column": 18
},
"end": {
"line": 12,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 335,
"end": 336,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 337,
"end": 338,
"loc": {
"start": {
"line": 13,
"column": 14
},
"end": {
"line": 13,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 339,
"end": 340,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 17
}
}
},
{
"type": {
"label": "<</>>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 8,
"updateContext": null
},
"value": ">>>",
"start": 341,
"end": 344,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 345,
"end": 346,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 346,
"end": 347,
"loc": {
"start": {
"line": 13,
"column": 23
},
"end": {
"line": 13,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 361,
"end": 362,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 13
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "-=",
"start": 363,
"end": 365,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 366,
"end": 367,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 367,
"end": 368,
"loc": {
"start": {
"line": 14,
"column": 18
},
"end": {
"line": 14,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 13
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 384,
"end": 386,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 387,
"end": 388,
"loc": {
"start": {
"line": 15,
"column": 17
},
"end": {
"line": 15,
"column": 18
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 389,
"end": 390,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4294967296,
"start": 391,
"end": 402,
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 402,
"end": 403,
"loc": {
"start": {
"line": 15,
"column": 32
},
"end": {
"line": 15,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " 2^32",
"start": 404,
"end": 411,
"loc": {
"start": {
"line": 15,
"column": 34
},
"end": {
"line": 15,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 421,
"end": 422,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 9
}
}
},
{
"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": 432,
"end": 438,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 439,
"end": 440,
"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": "n",
"start": 440,
"end": 441,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": "<</>>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 8,
"updateContext": null
},
"value": ">>>",
"start": 442,
"end": 445,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 446,
"end": 447,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 447,
"end": 448,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 24
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 449,
"end": 450,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 26
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2.3283064365386963e-10,
"start": 451,
"end": 473,
"loc": {
"start": {
"line": 17,
"column": 27
},
"end": {
"line": 17,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 473,
"end": 474,
"loc": {
"start": {
"line": 17,
"column": 49
},
"end": {
"line": 17,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " 2^-32",
"start": 475,
"end": 483,
"loc": {
"start": {
"line": 17,
"column": 51
},
"end": {
"line": 17,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 489,
"end": 490,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 5
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 490,
"end": 491,
"loc": {
"start": {
"line": 18,
"column": 5
},
"end": {
"line": 18,
"column": 6
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 493,
"end": 494,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 19,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number|string} seed\r\n ",
"start": 498,
"end": 538,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 23,
"column": 3
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 540,
"end": 548,
"loc": {
"start": {
"line": 24,
"column": 0
},
"end": {
"line": 24,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeNewRng",
"start": 549,
"end": 559,
"loc": {
"start": {
"line": 24,
"column": 9
},
"end": {
"line": 24,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 559,
"end": 560,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 24,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 560,
"end": 564,
"loc": {
"start": {
"line": 24,
"column": 20
},
"end": {
"line": 24,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 564,
"end": 565,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 566,
"end": 567,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": "CommentLine",
"value": " Johannes Baagøe <baagoe@baagoe.com>, 2010",
"start": 573,
"end": 617,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 48
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 623,
"end": 626,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "c",
"start": 627,
"end": 628,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 629,
"end": 630,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 11
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 631,
"end": 632,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 632,
"end": 633,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 14
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 639,
"end": 642,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mash",
"start": 643,
"end": 647,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 648,
"end": 649,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Mash",
"start": 650,
"end": 654,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 654,
"end": 655,
"loc": {
"start": {
"line": 27,
"column": 19
},
"end": {
"line": 27,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 655,
"end": 656,
"loc": {
"start": {
"line": 27,
"column": 20
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 656,
"end": 657,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 22
}
}
},
{
"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": 663,
"end": 666,
"loc": {
"start": {
"line": 28,
"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": "s0",
"start": 667,
"end": 669,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 670,
"end": 671,
"loc": {
"start": {
"line": 28,
"column": 11
},
"end": {
"line": 28,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mash",
"start": 672,
"end": 676,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 676,
"end": 677,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " ",
"start": 677,
"end": 680,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 680,
"end": 681,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 681,
"end": 682,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"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": 688,
"end": 691,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s1",
"start": 692,
"end": 694,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 29,
"column": 11
},
"end": {
"line": 29,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mash",
"start": 697,
"end": 701,
"loc": {
"start": {
"line": 29,
"column": 13
},
"end": {
"line": 29,
"column": 17
}
}
},
{
"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": 29,
"column": 17
},
"end": {
"line": 29,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " ",
"start": 702,
"end": 705,
"loc": {
"start": {
"line": 29,
"column": 18
},
"end": {
"line": 29,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 705,
"end": 706,
"loc": {
"start": {
"line": 29,
"column": 21
},
"end": {
"line": 29,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 706,
"end": 707,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 23
}
}
},
{
"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": 713,
"end": 716,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s2",
"start": 717,
"end": 719,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 720,
"end": 721,
"loc": {
"start": {
"line": 30,
"column": 11
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mash",
"start": 722,
"end": 726,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 726,
"end": 727,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " ",
"start": 727,
"end": 730,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 730,
"end": 731,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 731,
"end": 732,
"loc": {
"start": {
"line": 30,
"column": 22
},
"end": {
"line": 30,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s0",
"start": 740,
"end": 742,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 6
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "-=",
"start": 743,
"end": 745,
"loc": {
"start": {
"line": 32,
"column": 7
},
"end": {
"line": 32,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mash",
"start": 746,
"end": 750,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 750,
"end": 751,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 751,
"end": 755,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 19
}
}
},
{
"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": 32,
"column": 19
},
"end": {
"line": 32,
"column": 20
}
}
},
{
"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": 32,
"column": 20
},
"end": {
"line": 32,
"column": 21
}
}
},
{
"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": 763,
"end": 765,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 766,
"end": 767,
"loc": {
"start": {
"line": 33,
"column": 7
},
"end": {
"line": 33,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s0",
"start": 767,
"end": 769,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 770,
"end": 771,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 12
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 772,
"end": 773,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 773,
"end": 774,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 775,
"end": 776,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s0",
"start": 786,
"end": 788,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 10
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 789,
"end": 791,
"loc": {
"start": {
"line": 34,
"column": 11
},
"end": {
"line": 34,
"column": 13
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 792,
"end": 793,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 793,
"end": 794,
"loc": {
"start": {
"line": 34,
"column": 15
},
"end": {
"line": 34,
"column": 16
}
}
},
{
"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": 35,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s1",
"start": 807,
"end": 809,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 6
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "-=",
"start": 810,
"end": 812,
"loc": {
"start": {
"line": 36,
"column": 7
},
"end": {
"line": 36,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mash",
"start": 813,
"end": 817,
"loc": {
"start": {
"line": 36,
"column": 10
},
"end": {
"line": 36,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 817,
"end": 818,
"loc": {
"start": {
"line": 36,
"column": 14
},
"end": {
"line": 36,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 818,
"end": 822,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 822,
"end": 823,
"loc": {
"start": {
"line": 36,
"column": 19
},
"end": {
"line": 36,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 823,
"end": 824,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 21
}
}
},
{
"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": 830,
"end": 832,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 833,
"end": 834,
"loc": {
"start": {
"line": 37,
"column": 7
},
"end": {
"line": 37,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s1",
"start": 834,
"end": 836,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 10
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 837,
"end": 838,
"loc": {
"start": {
"line": 37,
"column": 11
},
"end": {
"line": 37,
"column": 12
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 839,
"end": 840,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 840,
"end": 841,
"loc": {
"start": {
"line": 37,
"column": 14
},
"end": {
"line": 37,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 842,
"end": 843,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s1",
"start": 853,
"end": 855,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 10
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 856,
"end": 858,
"loc": {
"start": {
"line": 38,
"column": 11
},
"end": {
"line": 38,
"column": 13
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 859,
"end": 860,
"loc": {
"start": {
"line": 38,
"column": 14
},
"end": {
"line": 38,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 860,
"end": 861,
"loc": {
"start": {
"line": 38,
"column": 15
},
"end": {
"line": 38,
"column": 16
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 867,
"end": 868,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s2",
"start": 874,
"end": 876,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 6
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "-=",
"start": 877,
"end": 879,
"loc": {
"start": {
"line": 40,
"column": 7
},
"end": {
"line": 40,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mash",
"start": 880,
"end": 884,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 884,
"end": 885,
"loc": {
"start": {
"line": 40,
"column": 14
},
"end": {
"line": 40,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 885,
"end": 889,
"loc": {
"start": {
"line": 40,
"column": 15
},
"end": {
"line": 40,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 889,
"end": 890,
"loc": {
"start": {
"line": 40,
"column": 19
},
"end": {
"line": 40,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 890,
"end": 891,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 21
}
}
},
{
"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": 897,
"end": 899,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 900,
"end": 901,
"loc": {
"start": {
"line": 41,
"column": 7
},
"end": {
"line": 41,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s2",
"start": 901,
"end": 903,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 10
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 904,
"end": 905,
"loc": {
"start": {
"line": 41,
"column": 11
},
"end": {
"line": 41,
"column": 12
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 906,
"end": 907,
"loc": {
"start": {
"line": 41,
"column": 13
},
"end": {
"line": 41,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 907,
"end": 908,
"loc": {
"start": {
"line": 41,
"column": 14
},
"end": {
"line": 41,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 909,
"end": 910,
"loc": {
"start": {
"line": 41,
"column": 16
},
"end": {
"line": 41,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s2",
"start": 920,
"end": 922,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 10
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 923,
"end": 925,
"loc": {
"start": {
"line": 42,
"column": 11
},
"end": {
"line": 42,
"column": 13
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 926,
"end": 927,
"loc": {
"start": {
"line": 42,
"column": 14
},
"end": {
"line": 42,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 927,
"end": 928,
"loc": {
"start": {
"line": 42,
"column": 15
},
"end": {
"line": 42,
"column": 16
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 934,
"end": 935,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mash",
"start": 941,
"end": 945,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 8
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 946,
"end": 947,
"loc": {
"start": {
"line": 44,
"column": 9
},
"end": {
"line": 44,
"column": 10
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 948,
"end": 952,
"loc": {
"start": {
"line": 44,
"column": 11
},
"end": {
"line": 44,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 952,
"end": 953,
"loc": {
"start": {
"line": 44,
"column": 15
},
"end": {
"line": 44,
"column": 16
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 961,
"end": 964,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "random",
"start": 965,
"end": 971,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 972,
"end": 973,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 16
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 974,
"end": 982,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 983,
"end": 984,
"loc": {
"start": {
"line": 46,
"column": 26
},
"end": {
"line": 46,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 984,
"end": 985,
"loc": {
"start": {
"line": 46,
"column": 27
},
"end": {
"line": 46,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 986,
"end": 987,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 30
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 997,
"end": 1000,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "t",
"start": 1001,
"end": 1002,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1003,
"end": 1004,
"loc": {
"start": {
"line": 47,
"column": 14
},
"end": {
"line": 47,
"column": 15
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2091639,
"start": 1005,
"end": 1012,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 23
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 1013,
"end": 1014,
"loc": {
"start": {
"line": 47,
"column": 24
},
"end": {
"line": 47,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s0",
"start": 1015,
"end": 1017,
"loc": {
"start": {
"line": 47,
"column": 26
},
"end": {
"line": 47,
"column": 28
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1018,
"end": 1019,
"loc": {
"start": {
"line": 47,
"column": 29
},
"end": {
"line": 47,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "c",
"start": 1020,
"end": 1021,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 1022,
"end": 1023,
"loc": {
"start": {
"line": 47,
"column": 33
},
"end": {
"line": 47,
"column": 34
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2.3283064365386963e-10,
"start": 1024,
"end": 1046,
"loc": {
"start": {
"line": 47,
"column": 35
},
"end": {
"line": 47,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1046,
"end": 1047,
"loc": {
"start": {
"line": 47,
"column": 57
},
"end": {
"line": 47,
"column": 58
}
}
},
{
"type": "CommentLine",
"value": " 2^-32",
"start": 1048,
"end": 1056,
"loc": {
"start": {
"line": 47,
"column": 59
},
"end": {
"line": 47,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s0",
"start": 1066,
"end": 1068,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1069,
"end": 1070,
"loc": {
"start": {
"line": 48,
"column": 11
},
"end": {
"line": 48,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s1",
"start": 1071,
"end": 1073,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1073,
"end": 1074,
"loc": {
"start": {
"line": 48,
"column": 15
},
"end": {
"line": 48,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s1",
"start": 1084,
"end": 1086,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1087,
"end": 1088,
"loc": {
"start": {
"line": 49,
"column": 11
},
"end": {
"line": 49,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s2",
"start": 1089,
"end": 1091,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1091,
"end": 1092,
"loc": {
"start": {
"line": 49,
"column": 15
},
"end": {
"line": 49,
"column": 16
}
}
},
{
"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": 1102,
"end": 1108,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1109,
"end": 1110,
"loc": {
"start": {
"line": 50,
"column": 15
},
"end": {
"line": 50,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s2",
"start": 1110,
"end": 1112,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1113,
"end": 1114,
"loc": {
"start": {
"line": 50,
"column": 19
},
"end": {
"line": 50,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "t",
"start": 1115,
"end": 1116,
"loc": {
"start": {
"line": 50,
"column": 21
},
"end": {
"line": 50,
"column": 22
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 1117,
"end": 1118,
"loc": {
"start": {
"line": 50,
"column": 23
},
"end": {
"line": 50,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1119,
"end": 1120,
"loc": {
"start": {
"line": 50,
"column": 25
},
"end": {
"line": 50,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "c",
"start": 1120,
"end": 1121,
"loc": {
"start": {
"line": 50,
"column": 26
},
"end": {
"line": 50,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1122,
"end": 1123,
"loc": {
"start": {
"line": 50,
"column": 28
},
"end": {
"line": 50,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "t",
"start": 1124,
"end": 1125,
"loc": {
"start": {
"line": 50,
"column": 30
},
"end": {
"line": 50,
"column": 31
}
}
},
{
"type": {
"label": "|",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 3,
"updateContext": null
},
"value": "|",
"start": 1126,
"end": 1127,
"loc": {
"start": {
"line": 50,
"column": 32
},
"end": {
"line": 50,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1128,
"end": 1129,
"loc": {
"start": {
"line": 50,
"column": 34
},
"end": {
"line": 50,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1129,
"end": 1130,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1130,
"end": 1131,
"loc": {
"start": {
"line": 50,
"column": 36
},
"end": {
"line": 50,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1131,
"end": 1132,
"loc": {
"start": {
"line": 50,
"column": 37
},
"end": {
"line": 50,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1138,
"end": 1139,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 5
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1139,
"end": 1140,
"loc": {
"start": {
"line": 51,
"column": 5
},
"end": {
"line": 51,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "random",
"start": 1148,
"end": 1154,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 10
}
}
},
{
"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": 53,
"column": 10
},
"end": {
"line": 53,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "exportState",
"start": 1155,
"end": 1166,
"loc": {
"start": {
"line": 53,
"column": 11
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1167,
"end": 1168,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 24
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 1169,
"end": 1177,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1178,
"end": 1179,
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1179,
"end": 1180,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1181,
"end": 1182,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"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": 1192,
"end": 1198,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 14
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1199,
"end": 1200,
"loc": {
"start": {
"line": 54,
"column": 15
},
"end": {
"line": 54,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s0",
"start": 1200,
"end": 1202,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1202,
"end": 1203,
"loc": {
"start": {
"line": 54,
"column": 18
},
"end": {
"line": 54,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s1",
"start": 1204,
"end": 1206,
"loc": {
"start": {
"line": 54,
"column": 20
},
"end": {
"line": 54,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1206,
"end": 1207,
"loc": {
"start": {
"line": 54,
"column": 22
},
"end": {
"line": 54,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s2",
"start": 1208,
"end": 1210,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1210,
"end": 1211,
"loc": {
"start": {
"line": 54,
"column": 26
},
"end": {
"line": 54,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "c",
"start": 1212,
"end": 1213,
"loc": {
"start": {
"line": 54,
"column": 28
},
"end": {
"line": 54,
"column": 29
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1213,
"end": 1214,
"loc": {
"start": {
"line": 54,
"column": 29
},
"end": {
"line": 54,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1214,
"end": 1215,
"loc": {
"start": {
"line": 54,
"column": 30
},
"end": {
"line": 54,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1221,
"end": 1222,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 5
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1222,
"end": 1223,
"loc": {
"start": {
"line": 55,
"column": 5
},
"end": {
"line": 55,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "random",
"start": 1231,
"end": 1237,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1237,
"end": 1238,
"loc": {
"start": {
"line": 57,
"column": 10
},
"end": {
"line": 57,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "importState",
"start": 1238,
"end": 1249,
"loc": {
"start": {
"line": 57,
"column": 11
},
"end": {
"line": 57,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1250,
"end": 1251,
"loc": {
"start": {
"line": 57,
"column": 23
},
"end": {
"line": 57,
"column": 24
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 1252,
"end": 1260,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1261,
"end": 1262,
"loc": {
"start": {
"line": 57,
"column": 34
},
"end": {
"line": 57,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1262,
"end": 1263,
"loc": {
"start": {
"line": 57,
"column": 35
},
"end": {
"line": 57,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1263,
"end": 1264,
"loc": {
"start": {
"line": 57,
"column": 36
},
"end": {
"line": 57,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1265,
"end": 1266,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s0",
"start": 1276,
"end": 1278,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1279,
"end": 1280,
"loc": {
"start": {
"line": 58,
"column": 11
},
"end": {
"line": 58,
"column": 12
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1281,
"end": 1282,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1282,
"end": 1283,
"loc": {
"start": {
"line": 58,
"column": 14
},
"end": {
"line": 58,
"column": 15
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1283,
"end": 1284,
"loc": {
"start": {
"line": 58,
"column": 15
},
"end": {
"line": 58,
"column": 16
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1284,
"end": 1285,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 17
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1285,
"end": 1286,
"loc": {
"start": {
"line": 58,
"column": 17
},
"end": {
"line": 58,
"column": 18
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1287,
"end": 1289,
"loc": {
"start": {
"line": 58,
"column": 19
},
"end": {
"line": 58,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1290,
"end": 1291,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 58,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1291,
"end": 1292,
"loc": {
"start": {
"line": 58,
"column": 23
},
"end": {
"line": 58,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s1",
"start": 1302,
"end": 1304,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1305,
"end": 1306,
"loc": {
"start": {
"line": 59,
"column": 11
},
"end": {
"line": 59,
"column": 12
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1307,
"end": 1308,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1308,
"end": 1309,
"loc": {
"start": {
"line": 59,
"column": 14
},
"end": {
"line": 59,
"column": 15
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1309,
"end": 1310,
"loc": {
"start": {
"line": 59,
"column": 15
},
"end": {
"line": 59,
"column": 16
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 1310,
"end": 1311,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 17
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1311,
"end": 1312,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 18
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1313,
"end": 1315,
"loc": {
"start": {
"line": 59,
"column": 19
},
"end": {
"line": 59,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1316,
"end": 1317,
"loc": {
"start": {
"line": 59,
"column": 22
},
"end": {
"line": 59,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1317,
"end": 1318,
"loc": {
"start": {
"line": 59,
"column": 23
},
"end": {
"line": 59,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s2",
"start": 1328,
"end": 1330,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1331,
"end": 1332,
"loc": {
"start": {
"line": 60,
"column": 11
},
"end": {
"line": 60,
"column": 12
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1333,
"end": 1334,
"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": "i",
"start": 1334,
"end": 1335,
"loc": {
"start": {
"line": 60,
"column": 14
},
"end": {
"line": 60,
"column": 15
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1335,
"end": 1336,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 16
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 1336,
"end": 1337,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 17
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1337,
"end": 1338,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 18
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1339,
"end": 1341,
"loc": {
"start": {
"line": 60,
"column": 19
},
"end": {
"line": 60,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1342,
"end": 1343,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1343,
"end": 1344,
"loc": {
"start": {
"line": 60,
"column": 23
},
"end": {
"line": 60,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "c",
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1356,
"end": 1357,
"loc": {
"start": {
"line": 61,
"column": 10
},
"end": {
"line": 61,
"column": 11
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1358,
"end": 1359,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1359,
"end": 1360,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 14
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1360,
"end": 1361,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 15
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 1361,
"end": 1362,
"loc": {
"start": {
"line": 61,
"column": 15
},
"end": {
"line": 61,
"column": 16
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1362,
"end": 1363,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 17
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1364,
"end": 1366,
"loc": {
"start": {
"line": 61,
"column": 18
},
"end": {
"line": 61,
"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": 1367,
"end": 1368,
"loc": {
"start": {
"line": 61,
"column": 21
},
"end": {
"line": 61,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1368,
"end": 1369,
"loc": {
"start": {
"line": 61,
"column": 22
},
"end": {
"line": 61,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1375,
"end": 1376,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 5
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1376,
"end": 1377,
"loc": {
"start": {
"line": 62,
"column": 5
},
"end": {
"line": 62,
"column": 6
}
}
},
{
"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": 1385,
"end": 1391,
"loc": {
"start": {
"line": 64,
"column": 4
},
"end": {
"line": 64,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "random",
"start": 1392,
"end": 1398,
"loc": {
"start": {
"line": 64,
"column": 11
},
"end": {
"line": 64,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1398,
"end": 1399,
"loc": {
"start": {
"line": 64,
"column": 17
},
"end": {
"line": 64,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1401,
"end": 1402,
"loc": {
"start": {
"line": 65,
"column": 0
},
"end": {
"line": 65,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1406,
"end": 1412,
"loc": {
"start": {
"line": 67,
"column": 0
},
"end": {
"line": 67,
"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": 1413,
"end": 1418,
"loc": {
"start": {
"line": 67,
"column": 7
},
"end": {
"line": 67,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RandomNumberGenerator",
"start": 1419,
"end": 1440,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1441,
"end": 1442,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 36
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {number|string=} seed\r\n ",
"start": 1448,
"end": 1505,
"loc": {
"start": {
"line": 68,
"column": 4
},
"end": {
"line": 71,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 1511,
"end": 1522,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 72,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1522,
"end": 1523,
"loc": {
"start": {
"line": 72,
"column": 15
},
"end": {
"line": 72,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 1523,
"end": 1527,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1527,
"end": 1528,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1529,
"end": 1530,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 72,
"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": 1540,
"end": 1544,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1544,
"end": 1545,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalRng",
"start": 1545,
"end": 1556,
"loc": {
"start": {
"line": 73,
"column": 13
},
"end": {
"line": 73,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1557,
"end": 1558,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeNewRng",
"start": 1559,
"end": 1569,
"loc": {
"start": {
"line": 73,
"column": 27
},
"end": {
"line": 73,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1569,
"end": 1570,
"loc": {
"start": {
"line": 73,
"column": 37
},
"end": {
"line": 73,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 1570,
"end": 1574,
"loc": {
"start": {
"line": 73,
"column": 38
},
"end": {
"line": 73,
"column": 42
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1575,
"end": 1577,
"loc": {
"start": {
"line": 73,
"column": 43
},
"end": {
"line": 73,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 1578,
"end": 1582,
"loc": {
"start": {
"line": 73,
"column": 46
},
"end": {
"line": 73,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1582,
"end": 1583,
"loc": {
"start": {
"line": 73,
"column": 50
},
"end": {
"line": 73,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "random",
"start": 1583,
"end": 1589,
"loc": {
"start": {
"line": 73,
"column": 51
},
"end": {
"line": 73,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1589,
"end": 1590,
"loc": {
"start": {
"line": 73,
"column": 57
},
"end": {
"line": 73,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1590,
"end": 1591,
"loc": {
"start": {
"line": 73,
"column": 58
},
"end": {
"line": 73,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1591,
"end": 1592,
"loc": {
"start": {
"line": 73,
"column": 59
},
"end": {
"line": 73,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1592,
"end": 1593,
"loc": {
"start": {
"line": 73,
"column": 60
},
"end": {
"line": 73,
"column": 61
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1599,
"end": 1600,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 74,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Re-seeds the generator\r\n * @param {number|string} seed\r\n ",
"start": 1608,
"end": 1687,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 79,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reseed",
"start": 1693,
"end": 1699,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1699,
"end": 1700,
"loc": {
"start": {
"line": 80,
"column": 10
},
"end": {
"line": 80,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 1700,
"end": 1704,
"loc": {
"start": {
"line": 80,
"column": 11
},
"end": {
"line": 80,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1704,
"end": 1705,
"loc": {
"start": {
"line": 80,
"column": 15
},
"end": {
"line": 80,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1706,
"end": 1707,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 18
}
}
},
{
"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": 1717,
"end": 1721,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1721,
"end": 1722,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalRng",
"start": 1722,
"end": 1733,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1734,
"end": 1735,
"loc": {
"start": {
"line": 81,
"column": 25
},
"end": {
"line": 81,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeNewRng",
"start": 1736,
"end": 1746,
"loc": {
"start": {
"line": 81,
"column": 27
},
"end": {
"line": 81,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1746,
"end": 1747,
"loc": {
"start": {
"line": 81,
"column": 37
},
"end": {
"line": 81,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 1747,
"end": 1751,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 42
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1752,
"end": 1754,
"loc": {
"start": {
"line": 81,
"column": 43
},
"end": {
"line": 81,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 1755,
"end": 1759,
"loc": {
"start": {
"line": 81,
"column": 46
},
"end": {
"line": 81,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1759,
"end": 1760,
"loc": {
"start": {
"line": 81,
"column": 50
},
"end": {
"line": 81,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "random",
"start": 1760,
"end": 1766,
"loc": {
"start": {
"line": 81,
"column": 51
},
"end": {
"line": 81,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1766,
"end": 1767,
"loc": {
"start": {
"line": 81,
"column": 57
},
"end": {
"line": 81,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1767,
"end": 1768,
"loc": {
"start": {
"line": 81,
"column": 58
},
"end": {
"line": 81,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1768,
"end": 1769,
"loc": {
"start": {
"line": 81,
"column": 59
},
"end": {
"line": 81,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1769,
"end": 1770,
"loc": {
"start": {
"line": 81,
"column": 60
},
"end": {
"line": 81,
"column": 61
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1776,
"end": 1777,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 82,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @returns {number} between 0 and 1\r\n ",
"start": 1785,
"end": 1839,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 86,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 1845,
"end": 1849,
"loc": {
"start": {
"line": 87,
"column": 4
},
"end": {
"line": 87,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1849,
"end": 1850,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1850,
"end": 1851,
"loc": {
"start": {
"line": 87,
"column": 9
},
"end": {
"line": 87,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1852,
"end": 1853,
"loc": {
"start": {
"line": 87,
"column": 11
},
"end": {
"line": 87,
"column": 12
}
}
},
{
"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": 1863,
"end": 1869,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 14
}
}
},
{
"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": 1870,
"end": 1874,
"loc": {
"start": {
"line": 88,
"column": 15
},
"end": {
"line": 88,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1874,
"end": 1875,
"loc": {
"start": {
"line": 88,
"column": 19
},
"end": {
"line": 88,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalRng",
"start": 1875,
"end": 1886,
"loc": {
"start": {
"line": 88,
"column": 20
},
"end": {
"line": 88,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1886,
"end": 1887,
"loc": {
"start": {
"line": 88,
"column": 31
},
"end": {
"line": 88,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1887,
"end": 1888,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1888,
"end": 1889,
"loc": {
"start": {
"line": 88,
"column": 33
},
"end": {
"line": 88,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1895,
"end": 1896,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Random choice of an array\r\n * @param {array} array\r\n ",
"start": 1904,
"end": 1979,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 94,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "choice",
"start": 1985,
"end": 1991,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1991,
"end": 1992,
"loc": {
"start": {
"line": 95,
"column": 10
},
"end": {
"line": 95,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 1992,
"end": 1997,
"loc": {
"start": {
"line": 95,
"column": 11
},
"end": {
"line": 95,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1997,
"end": 1998,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1999,
"end": 2000,
"loc": {
"start": {
"line": 95,
"column": 18
},
"end": {
"line": 95,
"column": 19
}
}
},
{
"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": 2010,
"end": 2015,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "index",
"start": 2016,
"end": 2021,
"loc": {
"start": {
"line": 96,
"column": 14
},
"end": {
"line": 96,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2022,
"end": 2023,
"loc": {
"start": {
"line": 96,
"column": 20
},
"end": {
"line": 96,
"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": 2024,
"end": 2028,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2028,
"end": 2029,
"loc": {
"start": {
"line": 96,
"column": 26
},
"end": {
"line": 96,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nextIntRange",
"start": 2029,
"end": 2041,
"loc": {
"start": {
"line": 96,
"column": 27
},
"end": {
"line": 96,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2041,
"end": 2042,
"loc": {
"start": {
"line": 96,
"column": 39
},
"end": {
"line": 96,
"column": 40
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2042,
"end": 2043,
"loc": {
"start": {
"line": 96,
"column": 40
},
"end": {
"line": 96,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2043,
"end": 2044,
"loc": {
"start": {
"line": 96,
"column": 41
},
"end": {
"line": 96,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 2045,
"end": 2050,
"loc": {
"start": {
"line": 96,
"column": 43
},
"end": {
"line": 96,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2050,
"end": 2051,
"loc": {
"start": {
"line": 96,
"column": 48
},
"end": {
"line": 96,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2051,
"end": 2057,
"loc": {
"start": {
"line": 96,
"column": 49
},
"end": {
"line": 96,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2057,
"end": 2058,
"loc": {
"start": {
"line": 96,
"column": 55
},
"end": {
"line": 96,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2058,
"end": 2059,
"loc": {
"start": {
"line": 96,
"column": 56
},
"end": {
"line": 96,
"column": 57
}
}
},
{
"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": 2069,
"end": 2075,
"loc": {
"start": {
"line": 97,
"column": 8
},
"end": {
"line": 97,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 2076,
"end": 2081,
"loc": {
"start": {
"line": 97,
"column": 15
},
"end": {
"line": 97,
"column": 20
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2081,
"end": 2082,
"loc": {
"start": {
"line": 97,
"column": 20
},
"end": {
"line": 97,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "index",
"start": 2082,
"end": 2087,
"loc": {
"start": {
"line": 97,
"column": 21
},
"end": {
"line": 97,
"column": 26
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2087,
"end": 2088,
"loc": {
"start": {
"line": 97,
"column": 26
},
"end": {
"line": 97,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2088,
"end": 2089,
"loc": {
"start": {
"line": 97,
"column": 27
},
"end": {
"line": 97,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2095,
"end": 2096,
"loc": {
"start": {
"line": 98,
"column": 4
},
"end": {
"line": 98,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} min\r\n * @param {number} max\r\n * @returns {number} Integer in range [min, max[\r\n ",
"start": 2104,
"end": 2226,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nextIntRange",
"start": 2232,
"end": 2244,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2245,
"end": 2248,
"loc": {
"start": {
"line": 105,
"column": 17
},
"end": {
"line": 105,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2248,
"end": 2249,
"loc": {
"start": {
"line": 105,
"column": 20
},
"end": {
"line": 105,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "max",
"start": 2250,
"end": 2253,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2253,
"end": 2254,
"loc": {
"start": {
"line": 105,
"column": 25
},
"end": {
"line": 105,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2255,
"end": 2256,
"loc": {
"start": {
"line": 105,
"column": 27
},
"end": {
"line": 105,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 2266,
"end": 2272,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2272,
"end": 2273,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Number",
"start": 2273,
"end": 2279,
"loc": {
"start": {
"line": 106,
"column": 15
},
"end": {
"line": 106,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2279,
"end": 2280,
"loc": {
"start": {
"line": 106,
"column": 21
},
"end": {
"line": 106,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isFinite",
"start": 2280,
"end": 2288,
"loc": {
"start": {
"line": 106,
"column": 22
},
"end": {
"line": 106,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2288,
"end": 2289,
"loc": {
"start": {
"line": 106,
"column": 30
},
"end": {
"line": 106,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2289,
"end": 2292,
"loc": {
"start": {
"line": 106,
"column": 31
},
"end": {
"line": 106,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2292,
"end": 2293,
"loc": {
"start": {
"line": 106,
"column": 34
},
"end": {
"line": 106,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2293,
"end": 2294,
"loc": {
"start": {
"line": 106,
"column": 35
},
"end": {
"line": 106,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Minimum is no integer",
"start": 2295,
"end": 2318,
"loc": {
"start": {
"line": 106,
"column": 37
},
"end": {
"line": 106,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2318,
"end": 2319,
"loc": {
"start": {
"line": 106,
"column": 60
},
"end": {
"line": 106,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2319,
"end": 2320,
"loc": {
"start": {
"line": 106,
"column": 61
},
"end": {
"line": 106,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 2330,
"end": 2336,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2336,
"end": 2337,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Number",
"start": 2337,
"end": 2343,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2343,
"end": 2344,
"loc": {
"start": {
"line": 107,
"column": 21
},
"end": {
"line": 107,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isFinite",
"start": 2344,
"end": 2352,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2352,
"end": 2353,
"loc": {
"start": {
"line": 107,
"column": 30
},
"end": {
"line": 107,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "max",
"start": 2353,
"end": 2356,
"loc": {
"start": {
"line": 107,
"column": 31
},
"end": {
"line": 107,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2356,
"end": 2357,
"loc": {
"start": {
"line": 107,
"column": 34
},
"end": {
"line": 107,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2357,
"end": 2358,
"loc": {
"start": {
"line": 107,
"column": 35
},
"end": {
"line": 107,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Maximum is no integer",
"start": 2359,
"end": 2382,
"loc": {
"start": {
"line": 107,
"column": 37
},
"end": {
"line": 107,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2382,
"end": 2383,
"loc": {
"start": {
"line": 107,
"column": 60
},
"end": {
"line": 107,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2383,
"end": 2384,
"loc": {
"start": {
"line": 107,
"column": 61
},
"end": {
"line": 107,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 2394,
"end": 2400,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2400,
"end": 2401,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "max",
"start": 2401,
"end": 2404,
"loc": {
"start": {
"line": 108,
"column": 15
},
"end": {
"line": 108,
"column": 18
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2405,
"end": 2406,
"loc": {
"start": {
"line": 108,
"column": 19
},
"end": {
"line": 108,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2407,
"end": 2410,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2410,
"end": 2411,
"loc": {
"start": {
"line": 108,
"column": 24
},
"end": {
"line": 108,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "rng: max <= min",
"start": 2412,
"end": 2429,
"loc": {
"start": {
"line": 108,
"column": 26
},
"end": {
"line": 108,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2429,
"end": 2430,
"loc": {
"start": {
"line": 108,
"column": 43
},
"end": {
"line": 108,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2430,
"end": 2431,
"loc": {
"start": {
"line": 108,
"column": 44
},
"end": {
"line": 108,
"column": 45
}
}
},
{
"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": 2441,
"end": 2447,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 2448,
"end": 2452,
"loc": {
"start": {
"line": 109,
"column": 15
},
"end": {
"line": 109,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2452,
"end": 2453,
"loc": {
"start": {
"line": 109,
"column": 19
},
"end": {
"line": 109,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "floor",
"start": 2453,
"end": 2458,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2458,
"end": 2459,
"loc": {
"start": {
"line": 109,
"column": 25
},
"end": {
"line": 109,
"column": 26
}
}
},
{
"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": 2459,
"end": 2463,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2463,
"end": 2464,
"loc": {
"start": {
"line": 109,
"column": 30
},
"end": {
"line": 109,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 2464,
"end": 2468,
"loc": {
"start": {
"line": 109,
"column": 31
},
"end": {
"line": 109,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2468,
"end": 2469,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2469,
"end": 2470,
"loc": {
"start": {
"line": 109,
"column": 36
},
"end": {
"line": 109,
"column": 37
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2471,
"end": 2472,
"loc": {
"start": {
"line": 109,
"column": 38
},
"end": {
"line": 109,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2473,
"end": 2474,
"loc": {
"start": {
"line": 109,
"column": 40
},
"end": {
"line": 109,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "max",
"start": 2474,
"end": 2477,
"loc": {
"start": {
"line": 109,
"column": 41
},
"end": {
"line": 109,
"column": 44
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2478,
"end": 2479,
"loc": {
"start": {
"line": 109,
"column": 45
},
"end": {
"line": 109,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2480,
"end": 2483,
"loc": {
"start": {
"line": 109,
"column": 47
},
"end": {
"line": 109,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2483,
"end": 2484,
"loc": {
"start": {
"line": 109,
"column": 50
},
"end": {
"line": 109,
"column": 51
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2485,
"end": 2486,
"loc": {
"start": {
"line": 109,
"column": 52
},
"end": {
"line": 109,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2487,
"end": 2490,
"loc": {
"start": {
"line": 109,
"column": 54
},
"end": {
"line": 109,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2490,
"end": 2491,
"loc": {
"start": {
"line": 109,
"column": 57
},
"end": {
"line": 109,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2491,
"end": 2492,
"loc": {
"start": {
"line": 109,
"column": 58
},
"end": {
"line": 109,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2498,
"end": 2499,
"loc": {
"start": {
"line": 110,
"column": 4
},
"end": {
"line": 110,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} min\r\n * @param {number} max\r\n * @returns {number} Number in range [min, max[\r\n ",
"start": 2507,
"end": 2628,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nextRange",
"start": 2634,
"end": 2643,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2643,
"end": 2644,
"loc": {
"start": {
"line": 117,
"column": 13
},
"end": {
"line": 117,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2644,
"end": 2647,
"loc": {
"start": {
"line": 117,
"column": 14
},
"end": {
"line": 117,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2647,
"end": 2648,
"loc": {
"start": {
"line": 117,
"column": 17
},
"end": {
"line": 117,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "max",
"start": 2649,
"end": 2652,
"loc": {
"start": {
"line": 117,
"column": 19
},
"end": {
"line": 117,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2652,
"end": 2653,
"loc": {
"start": {
"line": 117,
"column": 22
},
"end": {
"line": 117,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2654,
"end": 2655,
"loc": {
"start": {
"line": 117,
"column": 24
},
"end": {
"line": 117,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 2665,
"end": 2671,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2671,
"end": 2672,
"loc": {
"start": {
"line": 118,
"column": 14
},
"end": {
"line": 118,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "max",
"start": 2672,
"end": 2675,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 18
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2676,
"end": 2677,
"loc": {
"start": {
"line": 118,
"column": 19
},
"end": {
"line": 118,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2678,
"end": 2681,
"loc": {
"start": {
"line": 118,
"column": 21
},
"end": {
"line": 118,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2681,
"end": 2682,
"loc": {
"start": {
"line": 118,
"column": 24
},
"end": {
"line": 118,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "rng: max <= min",
"start": 2683,
"end": 2700,
"loc": {
"start": {
"line": 118,
"column": 26
},
"end": {
"line": 118,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2700,
"end": 2701,
"loc": {
"start": {
"line": 118,
"column": 43
},
"end": {
"line": 118,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2701,
"end": 2702,
"loc": {
"start": {
"line": 118,
"column": 44
},
"end": {
"line": 118,
"column": 45
}
}
},
{
"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": 2712,
"end": 2718,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 14
}
}
},
{
"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": 2719,
"end": 2723,
"loc": {
"start": {
"line": 119,
"column": 15
},
"end": {
"line": 119,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2723,
"end": 2724,
"loc": {
"start": {
"line": 119,
"column": 19
},
"end": {
"line": 119,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 2724,
"end": 2728,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2728,
"end": 2729,
"loc": {
"start": {
"line": 119,
"column": 24
},
"end": {
"line": 119,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2729,
"end": 2730,
"loc": {
"start": {
"line": 119,
"column": 25
},
"end": {
"line": 119,
"column": 26
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2731,
"end": 2732,
"loc": {
"start": {
"line": 119,
"column": 27
},
"end": {
"line": 119,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2733,
"end": 2734,
"loc": {
"start": {
"line": 119,
"column": 29
},
"end": {
"line": 119,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "max",
"start": 2734,
"end": 2737,
"loc": {
"start": {
"line": 119,
"column": 30
},
"end": {
"line": 119,
"column": 33
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2738,
"end": 2739,
"loc": {
"start": {
"line": 119,
"column": 34
},
"end": {
"line": 119,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2740,
"end": 2743,
"loc": {
"start": {
"line": 119,
"column": 36
},
"end": {
"line": 119,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2743,
"end": 2744,
"loc": {
"start": {
"line": 119,
"column": 39
},
"end": {
"line": 119,
"column": 40
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2745,
"end": 2746,
"loc": {
"start": {
"line": 119,
"column": 41
},
"end": {
"line": 119,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2747,
"end": 2750,
"loc": {
"start": {
"line": 119,
"column": 43
},
"end": {
"line": 119,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2750,
"end": 2751,
"loc": {
"start": {
"line": 119,
"column": 46
},
"end": {
"line": 119,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2757,
"end": 2758,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 120,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Updates the seed\r\n * @param {number} seed\r\n ",
"start": 2766,
"end": 2832,
"loc": {
"start": {
"line": 122,
"column": 4
},
"end": {
"line": 125,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setSeed",
"start": 2838,
"end": 2845,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 126,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2845,
"end": 2846,
"loc": {
"start": {
"line": 126,
"column": 11
},
"end": {
"line": 126,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 2846,
"end": 2850,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2850,
"end": 2851,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2852,
"end": 2853,
"loc": {
"start": {
"line": 126,
"column": 18
},
"end": {
"line": 126,
"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": 2863,
"end": 2867,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2867,
"end": 2868,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 127,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalRng",
"start": 2868,
"end": 2879,
"loc": {
"start": {
"line": 127,
"column": 13
},
"end": {
"line": 127,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2880,
"end": 2881,
"loc": {
"start": {
"line": 127,
"column": 25
},
"end": {
"line": 127,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeNewRng",
"start": 2882,
"end": 2892,
"loc": {
"start": {
"line": 127,
"column": 27
},
"end": {
"line": 127,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2892,
"end": 2893,
"loc": {
"start": {
"line": 127,
"column": 37
},
"end": {
"line": 127,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seed",
"start": 2893,
"end": 2897,
"loc": {
"start": {
"line": 127,
"column": 38
},
"end": {
"line": 127,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2897,
"end": 2898,
"loc": {
"start": {
"line": 127,
"column": 42
},
"end": {
"line": 127,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2898,
"end": 2899,
"loc": {
"start": {
"line": 127,
"column": 43
},
"end": {
"line": 127,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2905,
"end": 2906,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 128,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2908,
"end": 2909,
"loc": {
"start": {
"line": 129,
"column": 0
},
"end": {
"line": 129,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2911,
"end": 2911,
"loc": {
"start": {
"line": 130,
"column": 0
},
"end": {
"line": 130,
"column": 0
}
}
}
]
}