yjs/docs/ast/source/Store/StateStore.js.json
2018-04-27 18:45:01 +02:00

10856 lines
281 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1143,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 48,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1143,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 48,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 33,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 33
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 9,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 9
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 9,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 9
},
"identifierName": "ID"
},
"name": "ID"
}
}
],
"source": {
"type": "StringLiteral",
"start": 15,
"end": 33,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 33
}
},
"extra": {
"rawValue": "../Util/ID/ID.js",
"raw": "'../Util/ID/ID.js'"
},
"value": "../Util/ID/ID.js"
}
},
{
"type": "ExportDefaultDeclaration",
"start": 35,
"end": 1142,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 47,
"column": 1
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 50,
"end": 1142,
"loc": {
"start": {
"line": 3,
"column": 15
},
"end": {
"line": 47,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 56,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"column": 31
},
"identifierName": "StateStore"
},
"name": "StateStore"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 67,
"end": 1142,
"loc": {
"start": {
"line": 3,
"column": 32
},
"end": {
"line": 47,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 71,
"end": 134,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 7,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 71,
"end": 82,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 13
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 84,
"end": 85,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 16
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 87,
"end": 134,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 7,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 93,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 14
}
},
"expression": {
"type": "AssignmentExpression",
"start": 93,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 14
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 93,
"end": 99,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 10
}
},
"object": {
"type": "ThisExpression",
"start": 93,
"end": 97,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 98,
"end": 99,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 10
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 102,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 14
},
"identifierName": "y"
},
"name": "y"
}
}
},
{
"type": "ExpressionStatement",
"start": 108,
"end": 130,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 108,
"end": 130,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 108,
"end": 118,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 108,
"end": 112,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 113,
"end": 118,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
},
"identifierName": "state"
},
"name": "state"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 121,
"end": 130,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 26
}
},
"callee": {
"type": "Identifier",
"start": 125,
"end": 128,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
},
"identifierName": "Map"
},
"name": "Map"
},
"arguments": []
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 137,
"end": 304,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 16,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 137,
"end": 145,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 10
},
"identifierName": "logTable"
},
"name": "logTable"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 149,
"end": 304,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 16,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 155,
"end": 173,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 161,
"end": 173,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 161,
"end": 168,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "entries"
},
"name": "entries"
},
"init": {
"type": "ArrayExpression",
"start": 171,
"end": 173,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 22
}
},
"elements": []
}
}
],
"kind": "const"
},
{
"type": "ForOfStatement",
"start": 178,
"end": 273,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
},
"left": {
"type": "VariableDeclaration",
"start": 183,
"end": 200,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 187,
"end": 200,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 26
}
},
"id": {
"type": "ArrayPattern",
"start": 187,
"end": 200,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 26
}
},
"elements": [
{
"type": "Identifier",
"start": 188,
"end": 192,
"loc": {
"start": {
"line": 10,
"column": 14
},
"end": {
"line": 10,
"column": 18
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "Identifier",
"start": 194,
"end": 199,
"loc": {
"start": {
"line": 10,
"column": 20
},
"end": {
"line": 10,
"column": 25
},
"identifierName": "state"
},
"name": "state"
}
]
},
"init": null
}
],
"kind": "let"
},
"right": {
"type": "MemberExpression",
"start": 204,
"end": 214,
"loc": {
"start": {
"line": 10,
"column": 30
},
"end": {
"line": 10,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 204,
"end": 208,
"loc": {
"start": {
"line": 10,
"column": 30
},
"end": {
"line": 10,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 209,
"end": 214,
"loc": {
"start": {
"line": 10,
"column": 35
},
"end": {
"line": 10,
"column": 40
},
"identifierName": "state"
},
"name": "state"
},
"computed": false
},
"body": {
"type": "BlockStatement",
"start": 216,
"end": 273,
"loc": {
"start": {
"line": 10,
"column": 42
},
"end": {
"line": 14,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 224,
"end": 267,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 13,
"column": 8
}
},
"expression": {
"type": "CallExpression",
"start": 224,
"end": 267,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 13,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 224,
"end": 236,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 224,
"end": 231,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 13
},
"identifierName": "entries"
},
"name": "entries"
},
"property": {
"type": "Identifier",
"start": 232,
"end": 236,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 18
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 237,
"end": 266,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 13,
"column": 7
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 247,
"end": 251,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 12
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 247,
"end": 251,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 12
},
"identifierName": "user"
},
"name": "user"
},
"value": {
"type": "Identifier",
"start": 247,
"end": 251,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 12
},
"identifierName": "user"
},
"name": "user"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 253,
"end": 258,
"loc": {
"start": {
"line": 12,
"column": 14
},
"end": {
"line": 12,
"column": 19
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 253,
"end": 258,
"loc": {
"start": {
"line": 12,
"column": 14
},
"end": {
"line": 12,
"column": 19
},
"identifierName": "state"
},
"name": "state"
},
"value": {
"type": "Identifier",
"start": 253,
"end": 258,
"loc": {
"start": {
"line": 12,
"column": 14
},
"end": {
"line": 12,
"column": 19
},
"identifierName": "state"
},
"name": "state"
},
"extra": {
"shorthand": true
}
}
]
}
]
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 278,
"end": 300,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 26
}
},
"expression": {
"type": "CallExpression",
"start": 278,
"end": 300,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 26
}
},
"callee": {
"type": "MemberExpression",
"start": 278,
"end": 291,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 278,
"end": 285,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 11
},
"identifierName": "console"
},
"name": "console"
},
"property": {
"type": "Identifier",
"start": 286,
"end": 291,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 17
},
"identifierName": "table"
},
"name": "table"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 292,
"end": 299,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 25
},
"identifierName": "entries"
},
"name": "entries"
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 307,
"end": 465,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 22,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 307,
"end": 316,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 11
},
"identifierName": "getNextID"
},
"name": "getNextID"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 318,
"end": 321,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 16
},
"identifierName": "len"
},
"name": "len"
}
],
"body": {
"type": "BlockStatement",
"start": 323,
"end": 465,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 22,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 329,
"end": 355,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 335,
"end": 355,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 335,
"end": 339,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 14
},
"identifierName": "user"
},
"name": "user"
},
"init": {
"type": "MemberExpression",
"start": 342,
"end": 355,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 342,
"end": 348,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 342,
"end": 346,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 347,
"end": 348,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 23
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 349,
"end": 355,
"loc": {
"start": {
"line": 18,
"column": 24
},
"end": {
"line": 18,
"column": 30
},
"identifierName": "userID"
},
"name": "userID"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 360,
"end": 393,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 366,
"end": 393,
"loc": {
"start": {
"line": 19,
"column": 10
},
"end": {
"line": 19,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 366,
"end": 371,
"loc": {
"start": {
"line": 19,
"column": 10
},
"end": {
"line": 19,
"column": 15
},
"identifierName": "state"
},
"name": "state"
},
"init": {
"type": "CallExpression",
"start": 374,
"end": 393,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 374,
"end": 387,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 374,
"end": 378,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 379,
"end": 387,
"loc": {
"start": {
"line": 19,
"column": 23
},
"end": {
"line": 19,
"column": 31
},
"identifierName": "getState"
},
"name": "getState"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 388,
"end": 392,
"loc": {
"start": {
"line": 19,
"column": 32
},
"end": {
"line": 19,
"column": 36
},
"identifierName": "user"
},
"name": "user"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 398,
"end": 430,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 398,
"end": 430,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 398,
"end": 411,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 398,
"end": 402,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 403,
"end": 411,
"loc": {
"start": {
"line": 20,
"column": 9
},
"end": {
"line": 20,
"column": 17
},
"identifierName": "setState"
},
"name": "setState"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 412,
"end": 416,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 22
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "BinaryExpression",
"start": 418,
"end": 429,
"loc": {
"start": {
"line": 20,
"column": 24
},
"end": {
"line": 20,
"column": 35
}
},
"left": {
"type": "Identifier",
"start": 418,
"end": 423,
"loc": {
"start": {
"line": 20,
"column": 24
},
"end": {
"line": 20,
"column": 29
},
"identifierName": "state"
},
"name": "state"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 426,
"end": 429,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 35
},
"identifierName": "len"
},
"name": "len"
}
}
]
}
},
{
"type": "ReturnStatement",
"start": 435,
"end": 461,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 30
}
},
"argument": {
"type": "NewExpression",
"start": 442,
"end": 461,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 30
}
},
"callee": {
"type": "Identifier",
"start": 446,
"end": 448,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 17
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "Identifier",
"start": 449,
"end": 453,
"loc": {
"start": {
"line": 21,
"column": 18
},
"end": {
"line": 21,
"column": 22
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "Identifier",
"start": 455,
"end": 460,
"loc": {
"start": {
"line": 21,
"column": 24
},
"end": {
"line": 21,
"column": 29
},
"identifierName": "state"
},
"name": "state"
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 468,
"end": 766,
"loc": {
"start": {
"line": 23,
"column": 2
},
"end": {
"line": 31,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 468,
"end": 485,
"loc": {
"start": {
"line": 23,
"column": 2
},
"end": {
"line": 23,
"column": 19
},
"identifierName": "updateRemoteState"
},
"name": "updateRemoteState"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 487,
"end": 493,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 27
},
"identifierName": "struct"
},
"name": "struct"
}
],
"body": {
"type": "BlockStatement",
"start": 495,
"end": 766,
"loc": {
"start": {
"line": 23,
"column": 29
},
"end": {
"line": 31,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 501,
"end": 527,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 505,
"end": 527,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 505,
"end": 509,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
},
"identifierName": "user"
},
"name": "user"
},
"init": {
"type": "MemberExpression",
"start": 512,
"end": 527,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 512,
"end": 522,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 512,
"end": 518,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 21
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 519,
"end": 522,
"loc": {
"start": {
"line": 24,
"column": 22
},
"end": {
"line": 24,
"column": 25
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 523,
"end": 527,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 30
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 532,
"end": 568,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 536,
"end": 568,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 536,
"end": 545,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 17
},
"identifierName": "userState"
},
"name": "userState"
},
"init": {
"type": "CallExpression",
"start": 548,
"end": 568,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 548,
"end": 562,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 548,
"end": 558,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 548,
"end": 552,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 553,
"end": 558,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 30
},
"identifierName": "state"
},
"name": "state"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 559,
"end": 562,
"loc": {
"start": {
"line": 25,
"column": 31
},
"end": {
"line": 25,
"column": 34
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 563,
"end": 567,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"column": 39
},
"identifierName": "user"
},
"name": "user"
}
]
}
}
],
"kind": "let"
},
{
"type": "WhileStatement",
"start": 573,
"end": 726,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 29,
"column": 5
}
},
"test": {
"type": "LogicalExpression",
"start": 580,
"end": 629,
"loc": {
"start": {
"line": 26,
"column": 11
},
"end": {
"line": 26,
"column": 60
}
},
"left": {
"type": "BinaryExpression",
"start": 580,
"end": 595,
"loc": {
"start": {
"line": 26,
"column": 11
},
"end": {
"line": 26,
"column": 26
}
},
"left": {
"type": "Identifier",
"start": 580,
"end": 586,
"loc": {
"start": {
"line": 26,
"column": 11
},
"end": {
"line": 26,
"column": 17
},
"identifierName": "struct"
},
"name": "struct"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 591,
"end": 595,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 26
}
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 599,
"end": 629,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 60
}
},
"left": {
"type": "MemberExpression",
"start": 599,
"end": 615,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 599,
"end": 609,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 599,
"end": 605,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 36
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 606,
"end": 609,
"loc": {
"start": {
"line": 26,
"column": 37
},
"end": {
"line": 26,
"column": 40
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 610,
"end": 615,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 26,
"column": 46
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 620,
"end": 629,
"loc": {
"start": {
"line": 26,
"column": 51
},
"end": {
"line": 26,
"column": 60
},
"identifierName": "userState"
},
"name": "userState"
}
}
},
"body": {
"type": "BlockStatement",
"start": 631,
"end": 726,
"loc": {
"start": {
"line": 26,
"column": 62
},
"end": {
"line": 29,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 639,
"end": 666,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 639,
"end": 666,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 33
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 639,
"end": 648,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 15
},
"identifierName": "userState"
},
"name": "userState"
},
"right": {
"type": "MemberExpression",
"start": 652,
"end": 666,
"loc": {
"start": {
"line": 27,
"column": 19
},
"end": {
"line": 27,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 652,
"end": 658,
"loc": {
"start": {
"line": 27,
"column": 19
},
"end": {
"line": 27,
"column": 25
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 659,
"end": 666,
"loc": {
"start": {
"line": 27,
"column": 26
},
"end": {
"line": 27,
"column": 33
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 673,
"end": 720,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 53
}
},
"expression": {
"type": "AssignmentExpression",
"start": 673,
"end": 720,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 53
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 673,
"end": 679,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 12
},
"identifierName": "struct"
},
"name": "struct"
},
"right": {
"type": "CallExpression",
"start": 682,
"end": 720,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 682,
"end": 695,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 28
}
},
"object": {
"type": "MemberExpression",
"start": 682,
"end": 691,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 682,
"end": 688,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 682,
"end": 686,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 687,
"end": 688,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 21
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 689,
"end": 691,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 24
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 692,
"end": 695,
"loc": {
"start": {
"line": 28,
"column": 25
},
"end": {
"line": 28,
"column": 28
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 696,
"end": 719,
"loc": {
"start": {
"line": 28,
"column": 29
},
"end": {
"line": 28,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 700,
"end": 702,
"loc": {
"start": {
"line": 28,
"column": 33
},
"end": {
"line": 28,
"column": 35
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "Identifier",
"start": 703,
"end": 707,
"loc": {
"start": {
"line": 28,
"column": 36
},
"end": {
"line": 28,
"column": 40
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "Identifier",
"start": 709,
"end": 718,
"loc": {
"start": {
"line": 28,
"column": 42
},
"end": {
"line": 28,
"column": 51
},
"identifierName": "userState"
},
"name": "userState"
}
]
}
]
}
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 731,
"end": 762,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 731,
"end": 762,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 731,
"end": 745,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 18
}
},
"object": {
"type": "MemberExpression",
"start": 731,
"end": 741,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 731,
"end": 735,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 736,
"end": 741,
"loc": {
"start": {
"line": 30,
"column": 9
},
"end": {
"line": 30,
"column": 14
},
"identifierName": "state"
},
"name": "state"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 742,
"end": 745,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 18
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 746,
"end": 750,
"loc": {
"start": {
"line": 30,
"column": 19
},
"end": {
"line": 30,
"column": 23
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "Identifier",
"start": 752,
"end": 761,
"loc": {
"start": {
"line": 30,
"column": 25
},
"end": {
"line": 30,
"column": 34
},
"identifierName": "userState"
},
"name": "userState"
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 769,
"end": 890,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 38,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 769,
"end": 777,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 32,
"column": 10
},
"identifierName": "getState"
},
"name": "getState"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 779,
"end": 783,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 16
},
"identifierName": "user"
},
"name": "user"
}
],
"body": {
"type": "BlockStatement",
"start": 785,
"end": 890,
"loc": {
"start": {
"line": 32,
"column": 18
},
"end": {
"line": 38,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 791,
"end": 823,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 795,
"end": 823,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 795,
"end": 800,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 13
},
"identifierName": "state"
},
"name": "state"
},
"init": {
"type": "CallExpression",
"start": 803,
"end": 823,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 803,
"end": 817,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 803,
"end": 813,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 803,
"end": 807,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 808,
"end": 813,
"loc": {
"start": {
"line": 33,
"column": 21
},
"end": {
"line": 33,
"column": 26
},
"identifierName": "state"
},
"name": "state"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 814,
"end": 817,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 30
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 818,
"end": 822,
"loc": {
"start": {
"line": 33,
"column": 31
},
"end": {
"line": 33,
"column": 35
},
"identifierName": "user"
},
"name": "user"
}
]
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 828,
"end": 869,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 36,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 832,
"end": 845,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 832,
"end": 837,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 13
},
"identifierName": "state"
},
"name": "state"
},
"operator": "==",
"right": {
"type": "NullLiteral",
"start": 841,
"end": 845,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 21
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 847,
"end": 869,
"loc": {
"start": {
"line": 34,
"column": 23
},
"end": {
"line": 36,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 855,
"end": 863,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 14
}
},
"argument": {
"type": "NumericLiteral",
"start": 862,
"end": 863,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 14
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 874,
"end": 886,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 16
}
},
"argument": {
"type": "Identifier",
"start": 881,
"end": 886,
"loc": {
"start": {
"line": 37,
"column": 11
},
"end": {
"line": 37,
"column": 16
},
"identifierName": "state"
},
"name": "state"
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 893,
"end": 1140,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 46,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 893,
"end": 901,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 39,
"column": 10
},
"identifierName": "setState"
},
"name": "setState"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 903,
"end": 907,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 16
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "Identifier",
"start": 909,
"end": 914,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 23
},
"identifierName": "state"
},
"name": "state"
}
],
"body": {
"type": "BlockStatement",
"start": 916,
"end": 1140,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 46,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 964,
"end": 1015,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 970,
"end": 1015,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 970,
"end": 981,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 21
},
"identifierName": "beforeState"
},
"name": "beforeState",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 984,
"end": 1015,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 41,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 984,
"end": 1003,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 41,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 984,
"end": 990,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 41,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 984,
"end": 988,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 41,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 989,
"end": 990,
"loc": {
"start": {
"line": 41,
"column": 29
},
"end": {
"line": 41,
"column": 30
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 991,
"end": 1003,
"loc": {
"start": {
"line": 41,
"column": 31
},
"end": {
"line": 41,
"column": 43
},
"identifierName": "_transaction"
},
"name": "_transaction"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1004,
"end": 1015,
"loc": {
"start": {
"line": 41,
"column": 44
},
"end": {
"line": 41,
"column": 55
},
"identifierName": "beforeState"
},
"name": "beforeState"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO: modify missingi structs here",
"start": 922,
"end": 959,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 41
}
}
}
]
},
{
"type": "IfStatement",
"start": 1020,
"end": 1104,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
},
"test": {
"type": "UnaryExpression",
"start": 1024,
"end": 1046,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1025,
"end": 1046,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 1025,
"end": 1040,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1025,
"end": 1036,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 20
},
"identifierName": "beforeState"
},
"name": "beforeState"
},
"property": {
"type": "Identifier",
"start": 1037,
"end": 1040,
"loc": {
"start": {
"line": 42,
"column": 21
},
"end": {
"line": 42,
"column": 24
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1041,
"end": 1045,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 29
},
"identifierName": "user"
},
"name": "user"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1048,
"end": 1104,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 44,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1056,
"end": 1098,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 1056,
"end": 1098,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1056,
"end": 1071,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 1056,
"end": 1067,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 17
},
"identifierName": "beforeState"
},
"name": "beforeState"
},
"property": {
"type": "Identifier",
"start": 1068,
"end": 1071,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 21
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1072,
"end": 1076,
"loc": {
"start": {
"line": 43,
"column": 22
},
"end": {
"line": 43,
"column": 26
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "CallExpression",
"start": 1078,
"end": 1097,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 1078,
"end": 1091,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1078,
"end": 1082,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 1083,
"end": 1091,
"loc": {
"start": {
"line": 43,
"column": 33
},
"end": {
"line": 43,
"column": 41
},
"identifierName": "getState"
},
"name": "getState"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1092,
"end": 1096,
"loc": {
"start": {
"line": 43,
"column": 42
},
"end": {
"line": 43,
"column": 46
},
"identifierName": "user"
},
"name": "user"
}
]
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1109,
"end": 1136,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 31
}
},
"expression": {
"type": "CallExpression",
"start": 1109,
"end": 1136,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 1109,
"end": 1123,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 18
}
},
"object": {
"type": "MemberExpression",
"start": 1109,
"end": 1119,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 1109,
"end": 1113,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1114,
"end": 1119,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 14
},
"identifierName": "state"
},
"name": "state"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1120,
"end": 1123,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 18
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1124,
"end": 1128,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 23
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "Identifier",
"start": 1130,
"end": 1135,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 30
},
"identifierName": "state"
},
"name": "state"
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " TODO: modify missingi structs here",
"start": 922,
"end": 959,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 41
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 7,
"end": 9,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 10,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Util/ID/ID.js",
"start": 15,
"end": 33,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 33
}
}
},
{
"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": 35,
"end": 41,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 42,
"end": 49,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 14
}
}
},
{
"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": 50,
"end": 55,
"loc": {
"start": {
"line": 3,
"column": 15
},
"end": {
"line": 3,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StateStore",
"start": 56,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 67,
"end": 68,
"loc": {
"start": {
"line": 3,
"column": 32
},
"end": {
"line": 3,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 71,
"end": 82,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 83,
"end": 84,
"loc": {
"start": {
"line": 4,
"column": 14
},
"end": {
"line": 4,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 84,
"end": 85,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 85,
"end": 86,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 87,
"end": 88,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"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": 93,
"end": 97,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 97,
"end": 98,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 98,
"end": 99,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 100,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 11
},
"end": {
"line": 5,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 102,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"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": 108,
"end": 112,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 112,
"end": 113,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 113,
"end": 118,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 119,
"end": 120,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 121,
"end": 124,
"loc": {
"start": {
"line": 6,
"column": 17
},
"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": "Map",
"start": 125,
"end": 128,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 128,
"end": 129,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 129,
"end": 130,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 133,
"end": 134,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logTable",
"start": 137,
"end": 145,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 146,
"end": 147,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 147,
"end": 148,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"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": 155,
"end": 160,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entries",
"start": 161,
"end": 168,
"loc": {
"start": {
"line": 9,
"column": 10
},
"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": 169,
"end": 170,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 171,
"end": 172,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 21
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 172,
"end": 173,
"loc": {
"start": {
"line": 9,
"column": 21
},
"end": {
"line": 9,
"column": 22
}
}
},
{
"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": 178,
"end": 181,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 182,
"end": 183,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 9
}
}
},
{
"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": 183,
"end": 186,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 12
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 187,
"end": 188,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 188,
"end": 192,
"loc": {
"start": {
"line": 10,
"column": 14
},
"end": {
"line": 10,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 194,
"end": 199,
"loc": {
"start": {
"line": 10,
"column": 20
},
"end": {
"line": 10,
"column": 25
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 199,
"end": 200,
"loc": {
"start": {
"line": 10,
"column": 25
},
"end": {
"line": 10,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "of",
"start": 201,
"end": 203,
"loc": {
"start": {
"line": 10,
"column": 27
},
"end": {
"line": 10,
"column": 29
}
}
},
{
"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": 204,
"end": 208,
"loc": {
"start": {
"line": 10,
"column": 30
},
"end": {
"line": 10,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 208,
"end": 209,
"loc": {
"start": {
"line": 10,
"column": 34
},
"end": {
"line": 10,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 209,
"end": 214,
"loc": {
"start": {
"line": 10,
"column": 35
},
"end": {
"line": 10,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 214,
"end": 215,
"loc": {
"start": {
"line": 10,
"column": 40
},
"end": {
"line": 10,
"column": 41
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 216,
"end": 217,
"loc": {
"start": {
"line": 10,
"column": 42
},
"end": {
"line": 10,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entries",
"start": 224,
"end": 231,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 231,
"end": 232,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 232,
"end": 236,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 236,
"end": 237,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 237,
"end": 238,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 247,
"end": 251,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 12
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 251,
"end": 252,
"loc": {
"start": {
"line": 12,
"column": 12
},
"end": {
"line": 12,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 253,
"end": 258,
"loc": {
"start": {
"line": 12,
"column": 14
},
"end": {
"line": 12,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 265,
"end": 266,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 266,
"end": 267,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 8
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 272,
"end": 273,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "console",
"start": 278,
"end": 285,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 285,
"end": 286,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "table",
"start": 286,
"end": 291,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 291,
"end": 292,
"loc": {
"start": {
"line": 15,
"column": 17
},
"end": {
"line": 15,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entries",
"start": 292,
"end": 299,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 299,
"end": 300,
"loc": {
"start": {
"line": 15,
"column": 25
},
"end": {
"line": 15,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 303,
"end": 304,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getNextID",
"start": 307,
"end": 316,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 317,
"end": 318,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 318,
"end": 321,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 321,
"end": 322,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 323,
"end": 324,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"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": 329,
"end": 334,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 335,
"end": 339,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 340,
"end": 341,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 16
}
}
},
{
"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": 342,
"end": 346,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 346,
"end": 347,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 347,
"end": 348,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userID",
"start": 349,
"end": 355,
"loc": {
"start": {
"line": 18,
"column": 24
},
"end": {
"line": 18,
"column": 30
}
}
},
{
"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": 360,
"end": 365,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 366,
"end": 371,
"loc": {
"start": {
"line": 19,
"column": 10
},
"end": {
"line": 19,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 17
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 374,
"end": 378,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 378,
"end": 379,
"loc": {
"start": {
"line": 19,
"column": 22
},
"end": {
"line": 19,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getState",
"start": 379,
"end": 387,
"loc": {
"start": {
"line": 19,
"column": 23
},
"end": {
"line": 19,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 387,
"end": 388,
"loc": {
"start": {
"line": 19,
"column": 31
},
"end": {
"line": 19,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 388,
"end": 392,
"loc": {
"start": {
"line": 19,
"column": 32
},
"end": {
"line": 19,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 392,
"end": 393,
"loc": {
"start": {
"line": 19,
"column": 36
},
"end": {
"line": 19,
"column": 37
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 398,
"end": 402,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 402,
"end": 403,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setState",
"start": 403,
"end": 411,
"loc": {
"start": {
"line": 20,
"column": 9
},
"end": {
"line": 20,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 411,
"end": 412,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 412,
"end": 416,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 416,
"end": 417,
"loc": {
"start": {
"line": 20,
"column": 22
},
"end": {
"line": 20,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 418,
"end": 423,
"loc": {
"start": {
"line": 20,
"column": 24
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 424,
"end": 425,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 426,
"end": 429,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 429,
"end": 430,
"loc": {
"start": {
"line": 20,
"column": 35
},
"end": {
"line": 20,
"column": 36
}
}
},
{
"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": 435,
"end": 441,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 10
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 442,
"end": 445,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 446,
"end": 448,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 448,
"end": 449,
"loc": {
"start": {
"line": 21,
"column": 17
},
"end": {
"line": 21,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 449,
"end": 453,
"loc": {
"start": {
"line": 21,
"column": 18
},
"end": {
"line": 21,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 453,
"end": 454,
"loc": {
"start": {
"line": 21,
"column": 22
},
"end": {
"line": 21,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 455,
"end": 460,
"loc": {
"start": {
"line": 21,
"column": 24
},
"end": {
"line": 21,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 460,
"end": 461,
"loc": {
"start": {
"line": 21,
"column": 29
},
"end": {
"line": 21,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 464,
"end": 465,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 22,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateRemoteState",
"start": 468,
"end": 485,
"loc": {
"start": {
"line": 23,
"column": 2
},
"end": {
"line": 23,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 486,
"end": 487,
"loc": {
"start": {
"line": 23,
"column": 20
},
"end": {
"line": 23,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 487,
"end": 493,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 27
}
}
},
{
"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": 23,
"column": 27
},
"end": {
"line": 23,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 495,
"end": 496,
"loc": {
"start": {
"line": 23,
"column": 29
},
"end": {
"line": 23,
"column": 30
}
}
},
{
"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": 501,
"end": 504,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 505,
"end": 509,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 510,
"end": 511,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 512,
"end": 518,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 518,
"end": 519,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 519,
"end": 522,
"loc": {
"start": {
"line": 24,
"column": 22
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 522,
"end": 523,
"loc": {
"start": {
"line": 24,
"column": 25
},
"end": {
"line": 24,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 523,
"end": 527,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 30
}
}
},
{
"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": 532,
"end": 535,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 536,
"end": 545,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 546,
"end": 547,
"loc": {
"start": {
"line": 25,
"column": 18
},
"end": {
"line": 25,
"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": 548,
"end": 552,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 552,
"end": 553,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 25,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 553,
"end": 558,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 558,
"end": 559,
"loc": {
"start": {
"line": 25,
"column": 30
},
"end": {
"line": 25,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 559,
"end": 562,
"loc": {
"start": {
"line": 25,
"column": 31
},
"end": {
"line": 25,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 562,
"end": 563,
"loc": {
"start": {
"line": 25,
"column": 34
},
"end": {
"line": 25,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 563,
"end": 567,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 567,
"end": 568,
"loc": {
"start": {
"line": 25,
"column": 39
},
"end": {
"line": 25,
"column": 40
}
}
},
{
"type": {
"label": "while",
"keyword": "while",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "while",
"start": 573,
"end": 578,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 579,
"end": 580,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 580,
"end": 586,
"loc": {
"start": {
"line": 26,
"column": 11
},
"end": {
"line": 26,
"column": 17
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 587,
"end": 590,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 21
}
}
},
{
"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": 591,
"end": 595,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 26
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 596,
"end": 598,
"loc": {
"start": {
"line": 26,
"column": 27
},
"end": {
"line": 26,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 599,
"end": 605,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 605,
"end": 606,
"loc": {
"start": {
"line": 26,
"column": 36
},
"end": {
"line": 26,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 606,
"end": 609,
"loc": {
"start": {
"line": 26,
"column": 37
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 609,
"end": 610,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 610,
"end": 615,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 26,
"column": 46
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 616,
"end": 619,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 620,
"end": 629,
"loc": {
"start": {
"line": 26,
"column": 51
},
"end": {
"line": 26,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 629,
"end": 630,
"loc": {
"start": {
"line": 26,
"column": 60
},
"end": {
"line": 26,
"column": 61
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 631,
"end": 632,
"loc": {
"start": {
"line": 26,
"column": 62
},
"end": {
"line": 26,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 639,
"end": 648,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 15
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 649,
"end": 651,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 652,
"end": 658,
"loc": {
"start": {
"line": 27,
"column": 19
},
"end": {
"line": 27,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 658,
"end": 659,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 659,
"end": 666,
"loc": {
"start": {
"line": 27,
"column": 26
},
"end": {
"line": 27,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 673,
"end": 679,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 680,
"end": 681,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"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": 682,
"end": 686,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 686,
"end": 687,
"loc": {
"start": {
"line": 28,
"column": 19
},
"end": {
"line": 28,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 687,
"end": 688,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 688,
"end": 689,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 689,
"end": 691,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 691,
"end": 692,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 692,
"end": 695,
"loc": {
"start": {
"line": 28,
"column": 25
},
"end": {
"line": 28,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 28,
"column": 28
},
"end": {
"line": 28,
"column": 29
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 696,
"end": 699,
"loc": {
"start": {
"line": 28,
"column": 29
},
"end": {
"line": 28,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 700,
"end": 702,
"loc": {
"start": {
"line": 28,
"column": 33
},
"end": {
"line": 28,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 702,
"end": 703,
"loc": {
"start": {
"line": 28,
"column": 35
},
"end": {
"line": 28,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 703,
"end": 707,
"loc": {
"start": {
"line": 28,
"column": 36
},
"end": {
"line": 28,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 707,
"end": 708,
"loc": {
"start": {
"line": 28,
"column": 40
},
"end": {
"line": 28,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 709,
"end": 718,
"loc": {
"start": {
"line": 28,
"column": 42
},
"end": {
"line": 28,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 718,
"end": 719,
"loc": {
"start": {
"line": 28,
"column": 51
},
"end": {
"line": 28,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 719,
"end": 720,
"loc": {
"start": {
"line": 28,
"column": 52
},
"end": {
"line": 28,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 725,
"end": 726,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 5
}
}
},
{
"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": 731,
"end": 735,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 735,
"end": 736,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 736,
"end": 741,
"loc": {
"start": {
"line": 30,
"column": 9
},
"end": {
"line": 30,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 741,
"end": 742,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 742,
"end": 745,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 745,
"end": 746,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 746,
"end": 750,
"loc": {
"start": {
"line": 30,
"column": 19
},
"end": {
"line": 30,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 750,
"end": 751,
"loc": {
"start": {
"line": 30,
"column": 23
},
"end": {
"line": 30,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 752,
"end": 761,
"loc": {
"start": {
"line": 30,
"column": 25
},
"end": {
"line": 30,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 761,
"end": 762,
"loc": {
"start": {
"line": 30,
"column": 34
},
"end": {
"line": 30,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 765,
"end": 766,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 31,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getState",
"start": 769,
"end": 777,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 32,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 778,
"end": 779,
"loc": {
"start": {
"line": 32,
"column": 11
},
"end": {
"line": 32,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 779,
"end": 783,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 783,
"end": 784,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 785,
"end": 786,
"loc": {
"start": {
"line": 32,
"column": 18
},
"end": {
"line": 32,
"column": 19
}
}
},
{
"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": 791,
"end": 794,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 795,
"end": 800,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 801,
"end": 802,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 15
}
}
},
{
"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": 803,
"end": 807,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 807,
"end": 808,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 808,
"end": 813,
"loc": {
"start": {
"line": 33,
"column": 21
},
"end": {
"line": 33,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 813,
"end": 814,
"loc": {
"start": {
"line": 33,
"column": 26
},
"end": {
"line": 33,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 814,
"end": 817,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 30
}
}
},
{
"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": 33,
"column": 30
},
"end": {
"line": 33,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 818,
"end": 822,
"loc": {
"start": {
"line": 33,
"column": 31
},
"end": {
"line": 33,
"column": 35
}
}
},
{
"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": 33,
"column": 35
},
"end": {
"line": 33,
"column": 36
}
}
},
{
"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": 828,
"end": 830,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 831,
"end": 832,
"loc": {
"start": {
"line": 34,
"column": 7
},
"end": {
"line": 34,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 832,
"end": 837,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 13
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "==",
"start": 838,
"end": 840,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 16
}
}
},
{
"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": 841,
"end": 845,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 845,
"end": 846,
"loc": {
"start": {
"line": 34,
"column": 21
},
"end": {
"line": 34,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 847,
"end": 848,
"loc": {
"start": {
"line": 34,
"column": 23
},
"end": {
"line": 34,
"column": 24
}
}
},
{
"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": 855,
"end": 861,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"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": 862,
"end": 863,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 868,
"end": 869,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 5
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 874,
"end": 880,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 881,
"end": 886,
"loc": {
"start": {
"line": 37,
"column": 11
},
"end": {
"line": 37,
"column": 16
}
}
},
{
"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": 38,
"column": 2
},
"end": {
"line": 38,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setState",
"start": 893,
"end": 901,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 39,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 902,
"end": 903,
"loc": {
"start": {
"line": 39,
"column": 11
},
"end": {
"line": 39,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 903,
"end": 907,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 907,
"end": 908,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 909,
"end": 914,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 914,
"end": 915,
"loc": {
"start": {
"line": 39,
"column": 23
},
"end": {
"line": 39,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 916,
"end": 917,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 26
}
}
},
{
"type": "CommentLine",
"value": " TODO: modify missingi structs here",
"start": 922,
"end": 959,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 41
}
}
},
{
"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": 964,
"end": 969,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beforeState",
"start": 970,
"end": 981,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 982,
"end": 983,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"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": 984,
"end": 988,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 41,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 988,
"end": 989,
"loc": {
"start": {
"line": 41,
"column": 28
},
"end": {
"line": 41,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 989,
"end": 990,
"loc": {
"start": {
"line": 41,
"column": 29
},
"end": {
"line": 41,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 990,
"end": 991,
"loc": {
"start": {
"line": 41,
"column": 30
},
"end": {
"line": 41,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_transaction",
"start": 991,
"end": 1003,
"loc": {
"start": {
"line": 41,
"column": 31
},
"end": {
"line": 41,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1003,
"end": 1004,
"loc": {
"start": {
"line": 41,
"column": 43
},
"end": {
"line": 41,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beforeState",
"start": 1004,
"end": 1015,
"loc": {
"start": {
"line": 41,
"column": 44
},
"end": {
"line": 41,
"column": 55
}
}
},
{
"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": 1020,
"end": 1022,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1023,
"end": 1024,
"loc": {
"start": {
"line": 42,
"column": 7
},
"end": {
"line": 42,
"column": 8
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1024,
"end": 1025,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beforeState",
"start": 1025,
"end": 1036,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1036,
"end": 1037,
"loc": {
"start": {
"line": 42,
"column": 20
},
"end": {
"line": 42,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 1037,
"end": 1040,
"loc": {
"start": {
"line": 42,
"column": 21
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1040,
"end": 1041,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1041,
"end": 1045,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1045,
"end": 1046,
"loc": {
"start": {
"line": 42,
"column": 29
},
"end": {
"line": 42,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1046,
"end": 1047,
"loc": {
"start": {
"line": 42,
"column": 30
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1048,
"end": 1049,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beforeState",
"start": 1056,
"end": 1067,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1067,
"end": 1068,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 1068,
"end": 1071,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1071,
"end": 1072,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1072,
"end": 1076,
"loc": {
"start": {
"line": 43,
"column": 22
},
"end": {
"line": 43,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1076,
"end": 1077,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"column": 27
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1078,
"end": 1082,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1082,
"end": 1083,
"loc": {
"start": {
"line": 43,
"column": 32
},
"end": {
"line": 43,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getState",
"start": 1083,
"end": 1091,
"loc": {
"start": {
"line": 43,
"column": 33
},
"end": {
"line": 43,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1091,
"end": 1092,
"loc": {
"start": {
"line": 43,
"column": 41
},
"end": {
"line": 43,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1092,
"end": 1096,
"loc": {
"start": {
"line": 43,
"column": 42
},
"end": {
"line": 43,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1096,
"end": 1097,
"loc": {
"start": {
"line": 43,
"column": 46
},
"end": {
"line": 43,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1097,
"end": 1098,
"loc": {
"start": {
"line": 43,
"column": 47
},
"end": {
"line": 43,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1103,
"end": 1104,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
}
},
{
"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": 1109,
"end": 1113,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1113,
"end": 1114,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 1114,
"end": 1119,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1119,
"end": 1120,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 1120,
"end": 1123,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1123,
"end": 1124,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1124,
"end": 1128,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1128,
"end": 1129,
"loc": {
"start": {
"line": 45,
"column": 23
},
"end": {
"line": 45,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 1130,
"end": 1135,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1135,
"end": 1136,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1139,
"end": 1140,
"loc": {
"start": {
"line": 46,
"column": 2
},
"end": {
"line": 46,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1141,
"end": 1142,
"loc": {
"start": {
"line": 47,
"column": 0
},
"end": {
"line": 47,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1143,
"end": 1143,
"loc": {
"start": {
"line": 48,
"column": 0
},
"end": {
"line": 48,
"column": 0
}
}
}
]
}