{ "type": "File", "start": 0, "end": 8546, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 296, "column": 20 } }, "program": { "type": "Program", "start": 0, "end": 8546, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 296, "column": 20 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 29, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 29 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 8, "end": 11, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 11 } }, "imported": { "type": "Identifier", "start": 8, "end": 11, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 11 }, "identifierName": "Map" }, "name": "Map" }, "local": { "type": "Identifier", "start": 8, "end": 11, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 11 }, "identifierName": "Map" }, "name": "Map" } } ], "source": { "type": "StringLiteral", "start": 18, "end": 28, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 28 } }, "extra": { "rawValue": "./Map.js", "raw": "\"./Map.js\"" }, "value": "./Map.js" }, "trailingComments": [ { "type": "CommentBlock", "value": "* @private ", "start": 31, "end": 46, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 15 } } } ] }, { "type": "Identifier", "start": 47, "end": 8524, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 294, "column": 1 } }, "id": { "type": "Identifier", "start": 53, "end": 63, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 16 }, "identifierName": "Controller" }, "name": "Controller", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 64, "end": 8524, "loc": { "start": { "line": 4, "column": 17 }, "end": { "line": 294, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 105, "end": 935, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 29, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 105, "end": 116, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 117, "end": 123, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 22 }, "identifierName": "parent" }, "name": "parent" }, { "type": "Identifier", "start": 125, "end": 128, "loc": { "start": { "line": 9, "column": 24 }, "end": { "line": 9, "column": 27 }, "identifierName": "cfg" }, "name": "cfg" }, { "type": "Identifier", "start": 130, "end": 136, "loc": { "start": { "line": 9, "column": 29 }, "end": { "line": 9, "column": 35 }, "identifierName": "server" }, "name": "server" }, { "type": "Identifier", "start": 138, "end": 144, "loc": { "start": { "line": 9, "column": 37 }, "end": { "line": 9, "column": 43 }, "identifierName": "viewer" }, "name": "viewer" } ], "body": { "type": "BlockStatement", "start": 146, "end": 935, "loc": { "start": { "line": 9, "column": 45 }, "end": { "line": 29, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 157, "end": 221, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 72 } }, "expression": { "type": "AssignmentExpression", "start": 157, "end": 220, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 71 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 157, "end": 171, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 22 } }, "object": { "type": "ThisExpression", "start": 157, "end": 161, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 12 } } }, "property": { "type": "Identifier", "start": 162, "end": 171, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 22 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 175, "end": 219, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 70 } }, "test": { "type": "Identifier", "start": 175, "end": 181, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 32 }, "identifierName": "parent" }, "name": "parent" }, "consequent": { "type": "LogicalExpression", "start": 185, "end": 211, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 62 } }, "left": { "type": "MemberExpression", "start": 185, "end": 201, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 52 } }, "object": { "type": "Identifier", "start": 185, "end": 191, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 42 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 192, "end": 201, "loc": { "start": { "line": 11, "column": 43 }, "end": { "line": 11, "column": 52 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "operator": "||", "right": { "type": "Identifier", "start": 205, "end": 211, "loc": { "start": { "line": 11, "column": 56 }, "end": { "line": 11, "column": 62 }, "identifierName": "parent" }, "name": "parent" }, "extra": { "parenthesized": true, "parenStart": 184 } }, "alternate": { "type": "ThisExpression", "start": 215, "end": 219, "loc": { "start": { "line": 11, "column": 66 }, "end": { "line": 11, "column": 70 } } }, "extra": { "parenthesized": true, "parenStart": 174 } } } }, { "type": "ExpressionStatement", "start": 230, "end": 276, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 230, "end": 275, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 230, "end": 241, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 19 } }, "object": { "type": "ThisExpression", "start": 230, "end": 234, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 12 } } }, "property": { "type": "Identifier", "start": 235, "end": 241, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 19 }, "identifierName": "server" }, "name": "server" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 244, "end": 275, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 53 } }, "test": { "type": "Identifier", "start": 244, "end": 250, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 28 }, "identifierName": "parent" }, "name": "parent" }, "consequent": { "type": "MemberExpression", "start": 253, "end": 266, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 44 } }, "object": { "type": "Identifier", "start": 253, "end": 259, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 37 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 260, "end": 266, "loc": { "start": { "line": 12, "column": 38 }, "end": { "line": 12, "column": 44 }, "identifierName": "server" }, "name": "server" }, "computed": false }, "alternate": { "type": "Identifier", "start": 269, "end": 275, "loc": { "start": { "line": 12, "column": 47 }, "end": { "line": 12, "column": 53 }, "identifierName": "server" }, "name": "server" } } } }, { "type": "ExpressionStatement", "start": 285, "end": 331, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 285, "end": 330, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 285, "end": 296, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 19 } }, "object": { "type": "ThisExpression", "start": 285, "end": 289, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 12 } } }, "property": { "type": "Identifier", "start": 290, "end": 296, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 19 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 299, "end": 330, "loc": { "start": { "line": 13, "column": 22 }, "end": { "line": 13, "column": 53 } }, "test": { "type": "Identifier", "start": 299, "end": 305, "loc": { "start": { "line": 13, "column": 22 }, "end": { "line": 13, "column": 28 }, "identifierName": "parent" }, "name": "parent" }, "consequent": { "type": "MemberExpression", "start": 308, "end": 321, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 44 } }, "object": { "type": "Identifier", "start": 308, "end": 314, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 37 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 315, "end": 321, "loc": { "start": { "line": 13, "column": 38 }, "end": { "line": 13, "column": 44 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "alternate": { "type": "Identifier", "start": 324, "end": 330, "loc": { "start": { "line": 13, "column": 47 }, "end": { "line": 13, "column": 53 }, "identifierName": "viewer" }, "name": "viewer" } } } }, { "type": "ExpressionStatement", "start": 341, "end": 361, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 341, "end": 360, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 341, "end": 355, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 22 } }, "object": { "type": "ThisExpression", "start": 341, "end": 345, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 12 } } }, "property": { "type": "Identifier", "start": 346, "end": 355, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 22 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 358, "end": 360, "loc": { "start": { "line": 15, "column": 25 }, "end": { "line": 15, "column": 27 } }, "elements": [] } } }, { "type": "IfStatement", "start": 371, "end": 435, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 19, "column": 9 } }, "test": { "type": "Identifier", "start": 375, "end": 381, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 18 }, "identifierName": "parent" }, "name": "parent" }, "consequent": { "type": "BlockStatement", "start": 383, "end": 435, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 19, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 397, "end": 425, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 40 } }, "expression": { "type": "CallExpression", "start": 397, "end": 424, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 397, "end": 418, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 33 } }, "object": { "type": "MemberExpression", "start": 397, "end": 413, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 28 } }, "object": { "type": "Identifier", "start": 397, "end": 403, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 18 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 404, "end": 413, "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 18, "column": 28 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "property": { "type": "Identifier", "start": 414, "end": 418, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 33 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 419, "end": 423, "loc": { "start": { "line": 18, "column": 34 }, "end": { "line": 18, "column": 38 } } } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 445, "end": 467, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 445, "end": 466, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 445, "end": 459, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 22 } }, "object": { "type": "ThisExpression", "start": 445, "end": 449, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 12 } } }, "property": { "type": "Identifier", "start": 450, "end": 459, "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 22 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "right": { "type": "NullLiteral", "start": 462, "end": 466, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 29 } } } }, "trailingComments": [ { "type": "CommentLine", "value": " Subscription subId pool", "start": 468, "end": 494, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 57 } } } ] }, { "type": "ExpressionStatement", "start": 503, "end": 528, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 503, "end": 527, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 503, "end": 520, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 25 } }, "object": { "type": "ThisExpression", "start": 503, "end": 507, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 508, "end": 520, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 25 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 523, "end": 527, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 32 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Subscription subId pool", "start": 468, "end": 494, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 57 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Subscription subIds mapped to event names", "start": 529, "end": 573, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 78 } } } ] }, { "type": "ExpressionStatement", "start": 582, "end": 605, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 582, "end": 604, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 582, "end": 597, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 23 } }, "object": { "type": "ThisExpression", "start": 582, "end": 586, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 587, "end": 597, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 23 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 600, "end": 604, "loc": { "start": { "line": 23, "column": 26 }, "end": { "line": 23, "column": 30 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Subscription subIds mapped to event names", "start": 529, "end": 573, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 78 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Event names mapped to subscribers", "start": 606, "end": 642, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 68 } } } ] }, { "type": "ExpressionStatement", "start": 651, "end": 671, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 651, "end": 670, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 651, "end": 663, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 20 } }, "object": { "type": "ThisExpression", "start": 651, "end": 655, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 656, "end": 663, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 20 }, "identifierName": "_events" }, "name": "_events" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 666, "end": 670, "loc": { "start": { "line": 24, "column": 23 }, "end": { "line": 24, "column": 27 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Event names mapped to subscribers", "start": 606, "end": 642, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 68 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Maps names to events", "start": 672, "end": 695, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 52 } } } ] }, { "type": "ExpressionStatement", "start": 704, "end": 729, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 704, "end": 728, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 704, "end": 724, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 28 } }, "object": { "type": "ThisExpression", "start": 704, "end": 708, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 709, "end": 724, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 28 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 727, "end": 728, "loc": { "start": { "line": 25, "column": 31 }, "end": { "line": 25, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Maps names to events", "start": 672, "end": 695, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 52 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Helps us catch stack overflows from recursive events", "start": 730, "end": 785, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 89 } } } ] }, { "type": "ExpressionStatement", "start": 795, "end": 816, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 795, "end": 815, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 795, "end": 808, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 21 } }, "object": { "type": "ThisExpression", "start": 795, "end": 799, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 800, "end": 808, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 21 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 811, "end": 815, "loc": { "start": { "line": 27, "column": 24 }, "end": { "line": 27, "column": 28 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Helps us catch stack overflows from recursive events", "start": 730, "end": 785, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 89 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Used by #setEnabled() and #getEnabled()", "start": 817, "end": 859, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 72 } } } ] }, { "type": "ExpressionStatement", "start": 868, "end": 888, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 868, "end": 887, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 868, "end": 880, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 20 } }, "object": { "type": "ThisExpression", "start": 868, "end": 872, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 873, "end": 880, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 20 }, "identifierName": "_active" }, "name": "_active" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 883, "end": 887, "loc": { "start": { "line": 28, "column": 23 }, "end": { "line": 28, "column": 27 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Used by #setEnabled() and #getEnabled()", "start": 817, "end": 859, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 72 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Used by #setActive() and #getActive()", "start": 889, "end": 929, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 69 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @protected\n ", "start": 71, "end": 100, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 8, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Fires an event on this Controller.\n *\n * @protected\n *\n * @param {String} event The event type name\n * @param {Object} value The event parameters\n * @param {Boolean} [forget=false] When true, does not retain for subsequent subscribers\n ", "start": 941, "end": 1218, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 39, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1223, "end": 2174, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 66, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1223, "end": 1227, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 8 }, "identifierName": "fire" }, "name": "fire", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1228, "end": 1233, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 14 }, "identifierName": "event" }, "name": "event" }, { "type": "Identifier", "start": 1235, "end": 1240, "loc": { "start": { "line": 40, "column": 16 }, "end": { "line": 40, "column": 21 }, "identifierName": "value" }, "name": "value" }, { "type": "Identifier", "start": 1242, "end": 1248, "loc": { "start": { "line": 40, "column": 23 }, "end": { "line": 40, "column": 29 }, "identifierName": "forget" }, "name": "forget" } ], "body": { "type": "BlockStatement", "start": 1250, "end": 2174, "loc": { "start": { "line": 40, "column": 31 }, "end": { "line": 66, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1260, "end": 1321, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 43, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1264, "end": 1277, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1265, "end": 1277, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1265, "end": 1269, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 17 } } }, "property": { "type": "Identifier", "start": 1270, "end": 1277, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 25 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1279, "end": 1321, "loc": { "start": { "line": 41, "column": 27 }, "end": { "line": 43, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1293, "end": 1311, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 1293, "end": 1310, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1293, "end": 1305, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1293, "end": 1297, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 16 } } }, "property": { "type": "Identifier", "start": 1298, "end": 1305, "loc": { "start": { "line": 42, "column": 17 }, "end": { "line": 42, "column": 24 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 1308, "end": 1310, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 29 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1330, "end": 1397, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 46, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1334, "end": 1350, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 28 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1335, "end": 1350, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1335, "end": 1339, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 17 } } }, "property": { "type": "Identifier", "start": 1340, "end": 1350, "loc": { "start": { "line": 44, "column": 18 }, "end": { "line": 44, "column": 28 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1352, "end": 1397, "loc": { "start": { "line": 44, "column": 30 }, "end": { "line": 46, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1366, "end": 1387, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 1366, "end": 1386, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1366, "end": 1381, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1366, "end": 1370, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 16 } } }, "property": { "type": "Identifier", "start": 1371, "end": 1381, "loc": { "start": { "line": 45, "column": 17 }, "end": { "line": 45, "column": 27 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 1384, "end": 1386, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 45, "column": 32 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1406, "end": 1508, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 49, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1410, "end": 1425, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 27 } }, "left": { "type": "Identifier", "start": 1410, "end": 1416, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 18 }, "identifierName": "forget" }, "name": "forget" }, "operator": "!==", "right": { "type": "BooleanLiteral", "start": 1421, "end": 1425, "loc": { "start": { "line": 47, "column": 23 }, "end": { "line": 47, "column": 27 } }, "value": true } }, "consequent": { "type": "BlockStatement", "start": 1427, "end": 1508, "loc": { "start": { "line": 47, "column": 29 }, "end": { "line": 49, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1441, "end": 1477, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 1441, "end": 1476, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1441, "end": 1460, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 31 } }, "object": { "type": "MemberExpression", "start": 1441, "end": 1453, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1441, "end": 1445, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 16 } } }, "property": { "type": "Identifier", "start": 1446, "end": 1453, "loc": { "start": { "line": 48, "column": 17 }, "end": { "line": 48, "column": 24 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "property": { "type": "Identifier", "start": 1454, "end": 1459, "loc": { "start": { "line": 48, "column": 25 }, "end": { "line": 48, "column": 30 }, "identifierName": "event" }, "name": "event" }, "computed": true }, "right": { "type": "LogicalExpression", "start": 1463, "end": 1476, "loc": { "start": { "line": 48, "column": 34 }, "end": { "line": 48, "column": 47 } }, "left": { "type": "Identifier", "start": 1463, "end": 1468, "loc": { "start": { "line": 48, "column": 34 }, "end": { "line": 48, "column": 39 }, "identifierName": "value" }, "name": "value" }, "operator": "||", "right": { "type": "BooleanLiteral", "start": 1472, "end": 1476, "loc": { "start": { "line": 48, "column": 43 }, "end": { "line": 48, "column": 47 } }, "value": true } } }, "trailingComments": [ { "type": "CommentLine", "value": " Save notification", "start": 1478, "end": 1498, "loc": { "start": { "line": 48, "column": 49 }, "end": { "line": 48, "column": 69 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 1517, "end": 1553, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1523, "end": 1552, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 43 } }, "id": { "type": "Identifier", "start": 1523, "end": 1527, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 18 }, "identifierName": "subs" }, "name": "subs" }, "init": { "type": "MemberExpression", "start": 1530, "end": 1552, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 43 } }, "object": { "type": "MemberExpression", "start": 1530, "end": 1545, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 36 } }, "object": { "type": "ThisExpression", "start": 1530, "end": 1534, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 25 } } }, "property": { "type": "Identifier", "start": 1535, "end": 1545, "loc": { "start": { "line": 50, "column": 26 }, "end": { "line": 50, "column": 36 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "property": { "type": "Identifier", "start": 1546, "end": 1551, "loc": { "start": { "line": 50, "column": 37 }, "end": { "line": 50, "column": 42 }, "identifierName": "event" }, "name": "event" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1562, "end": 1570, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1566, "end": 1569, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 15 } }, "id": { "type": "Identifier", "start": 1566, "end": 1569, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 15 }, "identifierName": "sub" }, "name": "sub" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 1579, "end": 2168, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 65, "column": 9 } }, "test": { "type": "Identifier", "start": 1583, "end": 1587, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 16 }, "identifierName": "subs" }, "name": "subs" }, "consequent": { "type": "BlockStatement", "start": 1589, "end": 2168, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 65, "column": 9 } }, "body": [ { "type": "ForInStatement", "start": 1627, "end": 2158, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 64, "column": 13 } }, "left": { "type": "VariableDeclaration", "start": 1632, "end": 1643, "loc": { "start": { "line": 53, "column": 17 }, "end": { "line": 53, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1638, "end": 1643, "loc": { "start": { "line": 53, "column": 23 }, "end": { "line": 53, "column": 28 } }, "id": { "type": "Identifier", "start": 1638, "end": 1643, "loc": { "start": { "line": 53, "column": 23 }, "end": { "line": 53, "column": 28 }, "identifierName": "subId" }, "name": "subId", "leadingComments": null }, "init": null, "leadingComments": null } ], "kind": "const", "leadingComments": null }, "right": { "type": "Identifier", "start": 1647, "end": 1651, "loc": { "start": { "line": 53, "column": 32 }, "end": { "line": 53, "column": 36 }, "identifierName": "subs" }, "name": "subs" }, "body": { "type": "BlockStatement", "start": 1653, "end": 2158, "loc": { "start": { "line": 53, "column": 38 }, "end": { "line": 64, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 1671, "end": 2144, "loc": { "start": { "line": 54, "column": 16 }, "end": { "line": 63, "column": 17 } }, "test": { "type": "CallExpression", "start": 1675, "end": 1701, "loc": { "start": { "line": 54, "column": 20 }, "end": { "line": 54, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 1675, "end": 1694, "loc": { "start": { "line": 54, "column": 20 }, "end": { "line": 54, "column": 39 } }, "object": { "type": "Identifier", "start": 1675, "end": 1679, "loc": { "start": { "line": 54, "column": 20 }, "end": { "line": 54, "column": 24 }, "identifierName": "subs" }, "name": "subs" }, "property": { "type": "Identifier", "start": 1680, "end": 1694, "loc": { "start": { "line": 54, "column": 25 }, "end": { "line": 54, "column": 39 }, "identifierName": "hasOwnProperty" }, "name": "hasOwnProperty" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1695, "end": 1700, "loc": { "start": { "line": 54, "column": 40 }, "end": { "line": 54, "column": 45 }, "identifierName": "subId" }, "name": "subId" } ] }, "consequent": { "type": "BlockStatement", "start": 1703, "end": 2144, "loc": { "start": { "line": 54, "column": 48 }, "end": { "line": 63, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 1725, "end": 1743, "loc": { "start": { "line": 55, "column": 20 }, "end": { "line": 55, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 1725, "end": 1742, "loc": { "start": { "line": 55, "column": 20 }, "end": { "line": 55, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", "start": 1725, "end": 1728, "loc": { "start": { "line": 55, "column": 20 }, "end": { "line": 55, "column": 23 }, "identifierName": "sub" }, "name": "sub" }, "right": { "type": "MemberExpression", "start": 1731, "end": 1742, "loc": { "start": { "line": 55, "column": 26 }, "end": { "line": 55, "column": 37 } }, "object": { "type": "Identifier", "start": 1731, "end": 1735, "loc": { "start": { "line": 55, "column": 26 }, "end": { "line": 55, "column": 30 }, "identifierName": "subs" }, "name": "subs" }, "property": { "type": "Identifier", "start": 1736, "end": 1741, "loc": { "start": { "line": 55, "column": 31 }, "end": { "line": 55, "column": 36 }, "identifierName": "subId" }, "name": "subId" }, "computed": true } } }, { "type": "ExpressionStatement", "start": 1764, "end": 1787, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 43 } }, "expression": { "type": "UpdateExpression", "start": 1764, "end": 1786, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 42 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 1764, "end": 1784, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 40 } }, "object": { "type": "ThisExpression", "start": 1764, "end": 1768, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 24 } } }, "property": { "type": "Identifier", "start": 1769, "end": 1784, "loc": { "start": { "line": 56, "column": 25 }, "end": { "line": 56, "column": 40 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false } } }, { "type": "IfStatement", "start": 1808, "end": 2082, "loc": { "start": { "line": 57, "column": 20 }, "end": { "line": 61, "column": 21 } }, "test": { "type": "BinaryExpression", "start": 1812, "end": 1838, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 50 } }, "left": { "type": "MemberExpression", "start": 1812, "end": 1832, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 44 } }, "object": { "type": "ThisExpression", "start": 1812, "end": 1816, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 28 } } }, "property": { "type": "Identifier", "start": 1817, "end": 1832, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 44 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 1835, "end": 1838, "loc": { "start": { "line": 57, "column": 47 }, "end": { "line": 57, "column": 50 } }, "extra": { "rawValue": 300, "raw": "300" }, "value": 300 } }, "consequent": { "type": "BlockStatement", "start": 1840, "end": 1924, "loc": { "start": { "line": 57, "column": 52 }, "end": { "line": 59, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 1866, "end": 1902, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 60 } }, "expression": { "type": "CallExpression", "start": 1866, "end": 1901, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 1866, "end": 1883, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 41 } }, "object": { "type": "MemberExpression", "start": 1866, "end": 1878, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 36 } }, "object": { "type": "Identifier", "start": 1866, "end": 1869, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 27 }, "identifierName": "sub" }, "name": "sub" }, "property": { "type": "Identifier", "start": 1870, "end": 1878, "loc": { "start": { "line": 58, "column": 28 }, "end": { "line": 58, "column": 36 }, "identifierName": "callback" }, "name": "callback" }, "computed": false }, "property": { "type": "Identifier", "start": 1879, "end": 1883, "loc": { "start": { "line": 58, "column": 37 }, "end": { "line": 58, "column": 41 }, "identifierName": "call" }, "name": "call" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1884, "end": 1893, "loc": { "start": { "line": 58, "column": 42 }, "end": { "line": 58, "column": 51 } }, "object": { "type": "Identifier", "start": 1884, "end": 1887, "loc": { "start": { "line": 58, "column": 42 }, "end": { "line": 58, "column": 45 }, "identifierName": "sub" }, "name": "sub" }, "property": { "type": "Identifier", "start": 1888, "end": 1893, "loc": { "start": { "line": 58, "column": 46 }, "end": { "line": 58, "column": 51 }, "identifierName": "scope" }, "name": "scope" }, "computed": false }, { "type": "Identifier", "start": 1895, "end": 1900, "loc": { "start": { "line": 58, "column": 53 }, "end": { "line": 58, "column": 58 }, "identifierName": "value" }, "name": "value" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1930, "end": 2082, "loc": { "start": { "line": 59, "column": 27 }, "end": { "line": 61, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 1956, "end": 2060, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 128 } }, "expression": { "type": "CallExpression", "start": 1956, "end": 2059, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 127 } }, "callee": { "type": "MemberExpression", "start": 1956, "end": 1966, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 34 } }, "object": { "type": "ThisExpression", "start": 1956, "end": 1960, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 28 } } }, "property": { "type": "Identifier", "start": 1961, "end": 1966, "loc": { "start": { "line": 60, "column": 29 }, "end": { "line": 60, "column": 34 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 1967, "end": 2058, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 126 } }, "left": { "type": "BinaryExpression", "start": 1967, "end": 2030, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 98 } }, "left": { "type": "StringLiteral", "start": 1967, "end": 2022, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 90 } }, "extra": { "rawValue": "fire: potential stack overflow from recursive event '", "raw": "\"fire: potential stack overflow from recursive event '\"" }, "value": "fire: potential stack overflow from recursive event '" }, "operator": "+", "right": { "type": "Identifier", "start": 2025, "end": 2030, "loc": { "start": { "line": 60, "column": 93 }, "end": { "line": 60, "column": 98 }, "identifierName": "event" }, "name": "event" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 2033, "end": 2058, "loc": { "start": { "line": 60, "column": 101 }, "end": { "line": 60, "column": 126 } }, "extra": { "rawValue": "' - dropping this event", "raw": "\"' - dropping this event\"" }, "value": "' - dropping this event" } } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 2103, "end": 2126, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 43 } }, "expression": { "type": "UpdateExpression", "start": 2103, "end": 2125, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 42 } }, "operator": "--", "prefix": false, "argument": { "type": "MemberExpression", "start": 2103, "end": 2123, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 40 } }, "object": { "type": "ThisExpression", "start": 2103, "end": 2107, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 24 } } }, "property": { "type": "Identifier", "start": 2108, "end": 2123, "loc": { "start": { "line": 62, "column": 25 }, "end": { "line": 62, "column": 40 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Notify subscriptions", "start": 1591, "end": 1614, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 43 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Fires an event on this Controller.\n *\n * @protected\n *\n * @param {String} event The event type name\n * @param {Object} value The event parameters\n * @param {Boolean} [forget=false] When true, does not retain for subsequent subscribers\n ", "start": 941, "end": 1218, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 39, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Subscribes to an event on this Controller.\n *\n * The callback is be called with this component as scope.\n *\n * @param {String} event The event\n * @param {Function} callback Called fired on the event\n * @param {Object} [scope=this] Scope for the callback\n * @return {String} Handle to the subscription, which may be used to unsubscribe with {@link #off}.\n ", "start": 2180, "end": 2580, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 77, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2585, "end": 3518, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 107, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2585, "end": 2587, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 6 }, "identifierName": "on" }, "name": "on", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2588, "end": 2593, "loc": { "start": { "line": 78, "column": 7 }, "end": { "line": 78, "column": 12 }, "identifierName": "event" }, "name": "event" }, { "type": "Identifier", "start": 2595, "end": 2603, "loc": { "start": { "line": 78, "column": 14 }, "end": { "line": 78, "column": 22 }, "identifierName": "callback" }, "name": "callback" }, { "type": "Identifier", "start": 2605, "end": 2610, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 78, "column": 29 }, "identifierName": "scope" }, "name": "scope" } ], "body": { "type": "BlockStatement", "start": 2612, "end": 3518, "loc": { "start": { "line": 78, "column": 31 }, "end": { "line": 107, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 2622, "end": 2683, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 81, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 2626, "end": 2639, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2627, "end": 2639, "loc": { "start": { "line": 79, "column": 13 }, "end": { "line": 79, "column": 25 } }, "object": { "type": "ThisExpression", "start": 2627, "end": 2631, "loc": { "start": { "line": 79, "column": 13 }, "end": { "line": 79, "column": 17 } } }, "property": { "type": "Identifier", "start": 2632, "end": 2639, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 25 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2641, "end": 2683, "loc": { "start": { "line": 79, "column": 27 }, "end": { "line": 81, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2655, "end": 2673, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 2655, "end": 2672, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2655, "end": 2667, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2655, "end": 2659, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 16 } } }, "property": { "type": "Identifier", "start": 2660, "end": 2667, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 24 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 2670, "end": 2672, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 29 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2692, "end": 2791, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 84, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 2696, "end": 2711, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 27 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2697, "end": 2711, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2697, "end": 2701, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 17 } } }, "property": { "type": "Identifier", "start": 2702, "end": 2711, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 27 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2713, "end": 2791, "loc": { "start": { "line": 82, "column": 29 }, "end": { "line": 84, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2727, "end": 2754, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 2727, "end": 2753, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2727, "end": 2741, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 26 } }, "object": { "type": "ThisExpression", "start": 2727, "end": 2731, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 16 } } }, "property": { "type": "Identifier", "start": 2732, "end": 2741, "loc": { "start": { "line": 83, "column": 17 }, "end": { "line": 83, "column": 26 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "right": { "type": "NewExpression", "start": 2744, "end": 2753, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 38 } }, "callee": { "type": "Identifier", "start": 2748, "end": 2751, "loc": { "start": { "line": 83, "column": 33 }, "end": { "line": 83, "column": 36 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] } }, "trailingComments": [ { "type": "CommentLine", "value": " Subscription subId pool", "start": 2755, "end": 2781, "loc": { "start": { "line": 83, "column": 40 }, "end": { "line": 83, "column": 66 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2800, "end": 2871, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 87, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 2804, "end": 2822, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2805, "end": 2822, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 30 } }, "object": { "type": "ThisExpression", "start": 2805, "end": 2809, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 17 } } }, "property": { "type": "Identifier", "start": 2810, "end": 2822, "loc": { "start": { "line": 85, "column": 18 }, "end": { "line": 85, "column": 30 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2824, "end": 2871, "loc": { "start": { "line": 85, "column": 32 }, "end": { "line": 87, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2838, "end": 2861, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 2838, "end": 2860, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2838, "end": 2855, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 29 } }, "object": { "type": "ThisExpression", "start": 2838, "end": 2842, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 16 } } }, "property": { "type": "Identifier", "start": 2843, "end": 2855, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 29 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 2858, "end": 2860, "loc": { "start": { "line": 86, "column": 32 }, "end": { "line": 86, "column": 34 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2880, "end": 2947, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 90, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 2884, "end": 2900, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 28 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2885, "end": 2900, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 28 } }, "object": { "type": "ThisExpression", "start": 2885, "end": 2889, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 17 } } }, "property": { "type": "Identifier", "start": 2890, "end": 2900, "loc": { "start": { "line": 88, "column": 18 }, "end": { "line": 88, "column": 28 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2902, "end": 2947, "loc": { "start": { "line": 88, "column": 30 }, "end": { "line": 90, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2916, "end": 2937, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 2916, "end": 2936, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2916, "end": 2931, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2916, "end": 2920, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 16 } } }, "property": { "type": "Identifier", "start": 2921, "end": 2931, "loc": { "start": { "line": 89, "column": 17 }, "end": { "line": 89, "column": 27 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 2934, "end": 2936, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 32 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 2956, "end": 2990, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2960, "end": 2989, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 41 } }, "id": { "type": "Identifier", "start": 2960, "end": 2964, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 16 }, "identifierName": "subs" }, "name": "subs" }, "init": { "type": "MemberExpression", "start": 2967, "end": 2989, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 41 } }, "object": { "type": "MemberExpression", "start": 2967, "end": 2982, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 34 } }, "object": { "type": "ThisExpression", "start": 2967, "end": 2971, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 23 } } }, "property": { "type": "Identifier", "start": 2972, "end": 2982, "loc": { "start": { "line": 91, "column": 24 }, "end": { "line": 91, "column": 34 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "property": { "type": "Identifier", "start": 2983, "end": 2988, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 91, "column": 40 }, "identifierName": "event" }, "name": "event" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 2999, "end": 3087, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 95, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 3003, "end": 3008, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 3004, "end": 3008, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 17 }, "identifierName": "subs" }, "name": "subs" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 3010, "end": 3087, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 95, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3024, "end": 3034, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 3024, "end": 3033, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 21 } }, "operator": "=", "left": { "type": "Identifier", "start": 3024, "end": 3028, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 16 }, "identifierName": "subs" }, "name": "subs" }, "right": { "type": "ObjectExpression", "start": 3031, "end": 3033, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 21 } }, "properties": [] } } }, { "type": "ExpressionStatement", "start": 3047, "end": 3077, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 3047, "end": 3076, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3047, "end": 3069, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 34 } }, "object": { "type": "MemberExpression", "start": 3047, "end": 3062, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 27 } }, "object": { "type": "ThisExpression", "start": 3047, "end": 3051, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 16 } } }, "property": { "type": "Identifier", "start": 3052, "end": 3062, "loc": { "start": { "line": 94, "column": 17 }, "end": { "line": 94, "column": 27 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "property": { "type": "Identifier", "start": 3063, "end": 3068, "loc": { "start": { "line": 94, "column": 28 }, "end": { "line": 94, "column": 33 }, "identifierName": "event" }, "name": "event" }, "computed": true }, "right": { "type": "Identifier", "start": 3072, "end": 3076, "loc": { "start": { "line": 94, "column": 37 }, "end": { "line": 94, "column": 41 }, "identifierName": "subs" }, "name": "subs" } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3096, "end": 3135, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3102, "end": 3134, "loc": { "start": { "line": 96, "column": 14 }, "end": { "line": 96, "column": 46 } }, "id": { "type": "Identifier", "start": 3102, "end": 3107, "loc": { "start": { "line": 96, "column": 14 }, "end": { "line": 96, "column": 19 }, "identifierName": "subId" }, "name": "subId" }, "init": { "type": "CallExpression", "start": 3110, "end": 3134, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 3110, "end": 3132, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 44 } }, "object": { "type": "MemberExpression", "start": 3110, "end": 3124, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 36 } }, "object": { "type": "ThisExpression", "start": 3110, "end": 3114, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 26 } } }, "property": { "type": "Identifier", "start": 3115, "end": 3124, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 36 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "property": { "type": "Identifier", "start": 3125, "end": 3132, "loc": { "start": { "line": 96, "column": 37 }, "end": { "line": 96, "column": 44 }, "identifierName": "addItem" }, "name": "addItem" }, "computed": false }, "arguments": [] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Create unique subId", "start": 3136, "end": 3158, "loc": { "start": { "line": 96, "column": 48 }, "end": { "line": 96, "column": 70 } } } ] }, { "type": "ExpressionStatement", "start": 3167, "end": 3258, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 100, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 3167, "end": 3257, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 100, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3167, "end": 3178, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 19 } }, "object": { "type": "Identifier", "start": 3167, "end": 3171, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 12 }, "identifierName": "subs" }, "name": "subs", "leadingComments": null }, "property": { "type": "Identifier", "start": 3172, "end": 3177, "loc": { "start": { "line": 97, "column": 13 }, "end": { "line": 97, "column": 18 }, "identifierName": "subId" }, "name": "subId" }, "computed": true, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 3181, "end": 3257, "loc": { "start": { "line": 97, "column": 22 }, "end": { "line": 100, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 3195, "end": 3213, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3195, "end": 3203, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 20 }, "identifierName": "callback" }, "name": "callback" }, "value": { "type": "Identifier", "start": 3205, "end": 3213, "loc": { "start": { "line": 98, "column": 22 }, "end": { "line": 98, "column": 30 }, "identifierName": "callback" }, "name": "callback" } }, { "type": "ObjectProperty", "start": 3227, "end": 3247, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3227, "end": 3232, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 17 }, "identifierName": "scope" }, "name": "scope" }, "value": { "type": "LogicalExpression", "start": 3234, "end": 3247, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 32 } }, "left": { "type": "Identifier", "start": 3234, "end": 3239, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 24 }, "identifierName": "scope" }, "name": "scope" }, "operator": "||", "right": { "type": "ThisExpression", "start": 3243, "end": 3247, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 32 } } } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Create unique subId", "start": 3136, "end": 3158, "loc": { "start": { "line": 96, "column": 48 }, "end": { "line": 96, "column": 70 } } } ] }, { "type": "ExpressionStatement", "start": 3267, "end": 3300, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 3267, "end": 3299, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3267, "end": 3291, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 32 } }, "object": { "type": "MemberExpression", "start": 3267, "end": 3284, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 25 } }, "object": { "type": "ThisExpression", "start": 3267, "end": 3271, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 12 } } }, "property": { "type": "Identifier", "start": 3272, "end": 3284, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 25 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "property": { "type": "Identifier", "start": 3285, "end": 3290, "loc": { "start": { "line": 101, "column": 26 }, "end": { "line": 101, "column": 31 }, "identifierName": "subId" }, "name": "subId" }, "computed": true }, "right": { "type": "Identifier", "start": 3294, "end": 3299, "loc": { "start": { "line": 101, "column": 35 }, "end": { "line": 101, "column": 40 }, "identifierName": "event" }, "name": "event" } } }, { "type": "VariableDeclaration", "start": 3309, "end": 3343, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3315, "end": 3342, "loc": { "start": { "line": 102, "column": 14 }, "end": { "line": 102, "column": 41 } }, "id": { "type": "Identifier", "start": 3315, "end": 3320, "loc": { "start": { "line": 102, "column": 14 }, "end": { "line": 102, "column": 19 }, "identifierName": "value" }, "name": "value" }, "init": { "type": "MemberExpression", "start": 3323, "end": 3342, "loc": { "start": { "line": 102, "column": 22 }, "end": { "line": 102, "column": 41 } }, "object": { "type": "MemberExpression", "start": 3323, "end": 3335, "loc": { "start": { "line": 102, "column": 22 }, "end": { "line": 102, "column": 34 } }, "object": { "type": "ThisExpression", "start": 3323, "end": 3327, "loc": { "start": { "line": 102, "column": 22 }, "end": { "line": 102, "column": 26 } } }, "property": { "type": "Identifier", "start": 3328, "end": 3335, "loc": { "start": { "line": 102, "column": 27 }, "end": { "line": 102, "column": 34 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "property": { "type": "Identifier", "start": 3336, "end": 3341, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 40 }, "identifierName": "event" }, "name": "event" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 3352, "end": 3490, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 105, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3356, "end": 3375, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 31 } }, "left": { "type": "Identifier", "start": 3356, "end": 3361, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 17 }, "identifierName": "value" }, "name": "value" }, "operator": "!==", "right": { "type": "Identifier", "start": 3366, "end": 3375, "loc": { "start": { "line": 103, "column": 22 }, "end": { "line": 103, "column": 31 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 3377, "end": 3490, "loc": { "start": { "line": 103, "column": 33 }, "end": { "line": 105, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3444, "end": 3480, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 48 } }, "expression": { "type": "CallExpression", "start": 3444, "end": 3479, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 3444, "end": 3457, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 25 } }, "object": { "type": "Identifier", "start": 3444, "end": 3452, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 20 }, "identifierName": "callback" }, "name": "callback", "leadingComments": null }, "property": { "type": "Identifier", "start": 3453, "end": 3457, "loc": { "start": { "line": 104, "column": 21 }, "end": { "line": 104, "column": 25 }, "identifierName": "call" }, "name": "call" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "LogicalExpression", "start": 3458, "end": 3471, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 39 } }, "left": { "type": "Identifier", "start": 3458, "end": 3463, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 31 }, "identifierName": "scope" }, "name": "scope" }, "operator": "||", "right": { "type": "ThisExpression", "start": 3467, "end": 3471, "loc": { "start": { "line": 104, "column": 35 }, "end": { "line": 104, "column": 39 } } } }, { "type": "Identifier", "start": 3473, "end": 3478, "loc": { "start": { "line": 104, "column": 41 }, "end": { "line": 104, "column": 46 }, "identifierName": "value" }, "name": "value" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " A publication exists, notify callback immediately", "start": 3379, "end": 3431, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 87 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 3499, "end": 3512, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 21 } }, "argument": { "type": "Identifier", "start": 3506, "end": 3511, "loc": { "start": { "line": 106, "column": 15 }, "end": { "line": 106, "column": 20 }, "identifierName": "subId" }, "name": "subId" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Subscribes to an event on this Controller.\n *\n * The callback is be called with this component as scope.\n *\n * @param {String} event The event\n * @param {Function} callback Called fired on the event\n * @param {Object} [scope=this] Scope for the callback\n * @return {String} Handle to the subscription, which may be used to unsubscribe with {@link #off}.\n ", "start": 2180, "end": 2580, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 77, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Cancels an event subscription that was previously made with {@link Controller#on} or {@link Controller#once}.\n *\n * @param {String} subId Subscription ID\n ", "start": 3524, "end": 3704, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 113, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3709, "end": 4184, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 130, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3709, "end": 3712, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 114, "column": 7 }, "identifierName": "off" }, "name": "off", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3713, "end": 3718, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 13 }, "identifierName": "subId" }, "name": "subId" } ], "body": { "type": "BlockStatement", "start": 3720, "end": 4184, "loc": { "start": { "line": 114, "column": 15 }, "end": { "line": 130, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 3730, "end": 3804, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 117, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 3734, "end": 3771, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 49 } }, "left": { "type": "BinaryExpression", "start": 3734, "end": 3753, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 31 } }, "left": { "type": "Identifier", "start": 3734, "end": 3739, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 17 }, "identifierName": "subId" }, "name": "subId" }, "operator": "===", "right": { "type": "Identifier", "start": 3744, "end": 3753, "loc": { "start": { "line": 115, "column": 22 }, "end": { "line": 115, "column": 31 }, "identifierName": "undefined" }, "name": "undefined" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3757, "end": 3771, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "column": 49 } }, "left": { "type": "Identifier", "start": 3757, "end": 3762, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "column": 40 }, "identifierName": "subId" }, "name": "subId" }, "operator": "===", "right": { "type": "NullLiteral", "start": 3767, "end": 3771, "loc": { "start": { "line": 115, "column": 45 }, "end": { "line": 115, "column": 49 } } } } }, "consequent": { "type": "BlockStatement", "start": 3773, "end": 3804, "loc": { "start": { "line": 115, "column": 51 }, "end": { "line": 117, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3787, "end": 3794, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3813, "end": 3868, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 120, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 3817, "end": 3835, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 3818, "end": 3835, "loc": { "start": { "line": 118, "column": 13 }, "end": { "line": 118, "column": 30 } }, "object": { "type": "ThisExpression", "start": 3818, "end": 3822, "loc": { "start": { "line": 118, "column": 13 }, "end": { "line": 118, "column": 17 } } }, "property": { "type": "Identifier", "start": 3823, "end": 3835, "loc": { "start": { "line": 118, "column": 18 }, "end": { "line": 118, "column": 30 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 3837, "end": 3868, "loc": { "start": { "line": 118, "column": 32 }, "end": { "line": 120, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3851, "end": 3858, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3877, "end": 3916, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3883, "end": 3915, "loc": { "start": { "line": 121, "column": 14 }, "end": { "line": 121, "column": 46 } }, "id": { "type": "Identifier", "start": 3883, "end": 3888, "loc": { "start": { "line": 121, "column": 14 }, "end": { "line": 121, "column": 19 }, "identifierName": "event" }, "name": "event" }, "init": { "type": "MemberExpression", "start": 3891, "end": 3915, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 46 } }, "object": { "type": "MemberExpression", "start": 3891, "end": 3908, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 39 } }, "object": { "type": "ThisExpression", "start": 3891, "end": 3895, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 26 } } }, "property": { "type": "Identifier", "start": 3896, "end": 3908, "loc": { "start": { "line": 121, "column": 27 }, "end": { "line": 121, "column": 39 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "property": { "type": "Identifier", "start": 3909, "end": 3914, "loc": { "start": { "line": 121, "column": 40 }, "end": { "line": 121, "column": 45 }, "identifierName": "subId" }, "name": "subId" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 3925, "end": 4178, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 129, "column": 9 } }, "test": { "type": "Identifier", "start": 3929, "end": 3934, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 17 }, "identifierName": "event" }, "name": "event" }, "consequent": { "type": "BlockStatement", "start": 3936, "end": 4178, "loc": { "start": { "line": 122, "column": 19 }, "end": { "line": 129, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3950, "end": 3982, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 44 } }, "expression": { "type": "UnaryExpression", "start": 3950, "end": 3981, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 43 } }, "operator": "delete", "prefix": true, "argument": { "type": "MemberExpression", "start": 3957, "end": 3981, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 43 } }, "object": { "type": "MemberExpression", "start": 3957, "end": 3974, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 36 } }, "object": { "type": "ThisExpression", "start": 3957, "end": 3961, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 23 } } }, "property": { "type": "Identifier", "start": 3962, "end": 3974, "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 36 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "property": { "type": "Identifier", "start": 3975, "end": 3980, "loc": { "start": { "line": 123, "column": 37 }, "end": { "line": 123, "column": 42 }, "identifierName": "subId" }, "name": "subId" }, "computed": true }, "extra": { "parenthesizedArgument": false } } }, { "type": "VariableDeclaration", "start": 3995, "end": 4031, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4001, "end": 4030, "loc": { "start": { "line": 124, "column": 18 }, "end": { "line": 124, "column": 47 } }, "id": { "type": "Identifier", "start": 4001, "end": 4005, "loc": { "start": { "line": 124, "column": 18 }, "end": { "line": 124, "column": 22 }, "identifierName": "subs" }, "name": "subs" }, "init": { "type": "MemberExpression", "start": 4008, "end": 4030, "loc": { "start": { "line": 124, "column": 25 }, "end": { "line": 124, "column": 47 } }, "object": { "type": "MemberExpression", "start": 4008, "end": 4023, "loc": { "start": { "line": 124, "column": 25 }, "end": { "line": 124, "column": 40 } }, "object": { "type": "ThisExpression", "start": 4008, "end": 4012, "loc": { "start": { "line": 124, "column": 25 }, "end": { "line": 124, "column": 29 } } }, "property": { "type": "Identifier", "start": 4013, "end": 4023, "loc": { "start": { "line": 124, "column": 30 }, "end": { "line": 124, "column": 40 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "property": { "type": "Identifier", "start": 4024, "end": 4029, "loc": { "start": { "line": 124, "column": 41 }, "end": { "line": 124, "column": 46 }, "identifierName": "event" }, "name": "event" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 4044, "end": 4105, "loc": { "start": { "line": 125, "column": 12 }, "end": { "line": 127, "column": 13 } }, "test": { "type": "Identifier", "start": 4048, "end": 4052, "loc": { "start": { "line": 125, "column": 16 }, "end": { "line": 125, "column": 20 }, "identifierName": "subs" }, "name": "subs" }, "consequent": { "type": "BlockStatement", "start": 4054, "end": 4105, "loc": { "start": { "line": 125, "column": 22 }, "end": { "line": 127, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 4072, "end": 4091, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 35 } }, "expression": { "type": "UnaryExpression", "start": 4072, "end": 4090, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 34 } }, "operator": "delete", "prefix": true, "argument": { "type": "MemberExpression", "start": 4079, "end": 4090, "loc": { "start": { "line": 126, "column": 23 }, "end": { "line": 126, "column": 34 } }, "object": { "type": "Identifier", "start": 4079, "end": 4083, "loc": { "start": { "line": 126, "column": 23 }, "end": { "line": 126, "column": 27 }, "identifierName": "subs" }, "name": "subs" }, "property": { "type": "Identifier", "start": 4084, "end": 4089, "loc": { "start": { "line": 126, "column": 28 }, "end": { "line": 126, "column": 33 }, "identifierName": "subId" }, "name": "subId" }, "computed": true }, "extra": { "parenthesizedArgument": false } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 4118, "end": 4151, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 45 } }, "expression": { "type": "CallExpression", "start": 4118, "end": 4150, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4118, "end": 4143, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 37 } }, "object": { "type": "MemberExpression", "start": 4118, "end": 4132, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4118, "end": 4122, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 16 } } }, "property": { "type": "Identifier", "start": 4123, "end": 4132, "loc": { "start": { "line": 128, "column": 17 }, "end": { "line": 128, "column": 26 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "property": { "type": "Identifier", "start": 4133, "end": 4143, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 37 }, "identifierName": "removeItem" }, "name": "removeItem" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4144, "end": 4149, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "column": 43 }, "identifierName": "subId" }, "name": "subId" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Release subId", "start": 4152, "end": 4168, "loc": { "start": { "line": 128, "column": 46 }, "end": { "line": 128, "column": 62 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Cancels an event subscription that was previously made with {@link Controller#on} or {@link Controller#once}.\n *\n * @param {String} subId Subscription ID\n ", "start": 3524, "end": 3704, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 113, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Subscribes to the next occurrence of the given event, then un-subscribes as soon as the event is handled.\n *\n * This is equivalent to calling {@link Controller#on}, and then calling {@link Controller#off} inside the callback function.\n *\n * @param {String} event Data event to listen to\n * @param {Function} callback Called when fresh data is available at the event\n * @param {Object} [scope=this] Scope for the callback\n ", "start": 4190, "end": 4653, "loc": { "start": { "line": 132, "column": 4 }, "end": { "line": 140, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4658, "end": 4910, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 149, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4658, "end": 4662, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 8 }, "identifierName": "once" }, "name": "once", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4663, "end": 4668, "loc": { "start": { "line": 141, "column": 9 }, "end": { "line": 141, "column": 14 }, "identifierName": "event" }, "name": "event" }, { "type": "Identifier", "start": 4670, "end": 4678, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 24 }, "identifierName": "callback" }, "name": "callback" }, { "type": "Identifier", "start": 4680, "end": 4685, "loc": { "start": { "line": 141, "column": 26 }, "end": { "line": 141, "column": 31 }, "identifierName": "scope" }, "name": "scope" } ], "body": { "type": "BlockStatement", "start": 4687, "end": 4910, "loc": { "start": { "line": 141, "column": 33 }, "end": { "line": 149, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 4697, "end": 4715, "loc": { "start": { "line": 142, "column": 8 }, "end": { "line": 142, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4703, "end": 4714, "loc": { "start": { "line": 142, "column": 14 }, "end": { "line": 142, "column": 25 } }, "id": { "type": "Identifier", "start": 4703, "end": 4707, "loc": { "start": { "line": 142, "column": 14 }, "end": { "line": 142, "column": 18 }, "identifierName": "self" }, "name": "self" }, "init": { "type": "ThisExpression", "start": 4710, "end": 4714, "loc": { "start": { "line": 142, "column": 21 }, "end": { "line": 142, "column": 25 } } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4724, "end": 4904, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 148, "column": 19 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4730, "end": 4903, "loc": { "start": { "line": 143, "column": 14 }, "end": { "line": 148, "column": 18 } }, "id": { "type": "Identifier", "start": 4730, "end": 4735, "loc": { "start": { "line": 143, "column": 14 }, "end": { "line": 143, "column": 19 }, "identifierName": "subId" }, "name": "subId" }, "init": { "type": "CallExpression", "start": 4738, "end": 4903, "loc": { "start": { "line": 143, "column": 22 }, "end": { "line": 148, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 4738, "end": 4745, "loc": { "start": { "line": 143, "column": 22 }, "end": { "line": 143, "column": 29 } }, "object": { "type": "ThisExpression", "start": 4738, "end": 4742, "loc": { "start": { "line": 143, "column": 22 }, "end": { "line": 143, "column": 26 } } }, "property": { "type": "Identifier", "start": 4743, "end": 4745, "loc": { "start": { "line": 143, "column": 27 }, "end": { "line": 143, "column": 29 }, "identifierName": "on" }, "name": "on" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4746, "end": 4751, "loc": { "start": { "line": 143, "column": 30 }, "end": { "line": 143, "column": 35 }, "identifierName": "event" }, "name": "event" }, { "type": "FunctionExpression", "start": 4765, "end": 4883, "loc": { "start": { "line": 144, "column": 12 }, "end": { "line": 147, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4775, "end": 4780, "loc": { "start": { "line": 144, "column": 22 }, "end": { "line": 144, "column": 27 }, "identifierName": "value" }, "name": "value" } ], "body": { "type": "BlockStatement", "start": 4782, "end": 4883, "loc": { "start": { "line": 144, "column": 29 }, "end": { "line": 147, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 4800, "end": 4816, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 32 } }, "expression": { "type": "CallExpression", "start": 4800, "end": 4815, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 4800, "end": 4808, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 24 } }, "object": { "type": "Identifier", "start": 4800, "end": 4804, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 20 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4805, "end": 4808, "loc": { "start": { "line": 145, "column": 21 }, "end": { "line": 145, "column": 24 }, "identifierName": "off" }, "name": "off" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4809, "end": 4814, "loc": { "start": { "line": 145, "column": 25 }, "end": { "line": 145, "column": 30 }, "identifierName": "subId" }, "name": "subId" } ] } }, { "type": "ExpressionStatement", "start": 4833, "end": 4869, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 52 } }, "expression": { "type": "CallExpression", "start": 4833, "end": 4868, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 4833, "end": 4846, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 29 } }, "object": { "type": "Identifier", "start": 4833, "end": 4841, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 24 }, "identifierName": "callback" }, "name": "callback" }, "property": { "type": "Identifier", "start": 4842, "end": 4846, "loc": { "start": { "line": 146, "column": 25 }, "end": { "line": 146, "column": 29 }, "identifierName": "call" }, "name": "call" }, "computed": false }, "arguments": [ { "type": "LogicalExpression", "start": 4847, "end": 4860, "loc": { "start": { "line": 146, "column": 30 }, "end": { "line": 146, "column": 43 } }, "left": { "type": "Identifier", "start": 4847, "end": 4852, "loc": { "start": { "line": 146, "column": 30 }, "end": { "line": 146, "column": 35 }, "identifierName": "scope" }, "name": "scope" }, "operator": "||", "right": { "type": "ThisExpression", "start": 4856, "end": 4860, "loc": { "start": { "line": 146, "column": 39 }, "end": { "line": 146, "column": 43 } } } }, { "type": "Identifier", "start": 4862, "end": 4867, "loc": { "start": { "line": 146, "column": 45 }, "end": { "line": 146, "column": 50 }, "identifierName": "value" }, "name": "value" } ] } } ], "directives": [] } }, { "type": "Identifier", "start": 4897, "end": 4902, "loc": { "start": { "line": 148, "column": 12 }, "end": { "line": 148, "column": 17 }, "identifierName": "scope" }, "name": "scope" } ] } } ], "kind": "const" } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Subscribes to the next occurrence of the given event, then un-subscribes as soon as the event is handled.\n *\n * This is equivalent to calling {@link Controller#on}, and then calling {@link Controller#off} inside the callback function.\n *\n * @param {String} event Data event to listen to\n * @param {Function} callback Called when fresh data is available at the event\n * @param {Object} [scope=this] Scope for the callback\n ", "start": 4190, "end": 4653, "loc": { "start": { "line": 132, "column": 4 }, "end": { "line": 140, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a console debugging message for this Controller.\n *\n * The console message will have this format: *````[LOG] [ : ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 4916, "end": 5187, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 159, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5192, "end": 5287, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 163, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5192, "end": 5195, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 160, "column": 7 }, "identifierName": "log" }, "name": "log", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5196, "end": 5203, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 15 }, "identifierName": "message" }, "name": "message" } ], "body": { "type": "BlockStatement", "start": 5205, "end": 5287, "loc": { "start": { "line": 160, "column": 17 }, "end": { "line": 163, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5215, "end": 5244, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 5215, "end": 5243, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 5215, "end": 5222, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 15 }, "identifierName": "message" }, "name": "message" }, "right": { "type": "BinaryExpression", "start": 5225, "end": 5243, "loc": { "start": { "line": 161, "column": 18 }, "end": { "line": 161, "column": 36 } }, "left": { "type": "StringLiteral", "start": 5225, "end": 5233, "loc": { "start": { "line": 161, "column": 18 }, "end": { "line": 161, "column": 26 } }, "extra": { "rawValue": "[LOG] ", "raw": "\"[LOG] \"" }, "value": "[LOG] " }, "operator": "+", "right": { "type": "Identifier", "start": 5236, "end": 5243, "loc": { "start": { "line": 161, "column": 29 }, "end": { "line": 161, "column": 36 }, "identifierName": "message" }, "name": "message" } } } }, { "type": "ExpressionStatement", "start": 5253, "end": 5281, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 36 } }, "expression": { "type": "CallExpression", "start": 5253, "end": 5280, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 5253, "end": 5271, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 26 } }, "object": { "type": "MemberExpression", "start": 5253, "end": 5267, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 22 } }, "object": { "type": "Identifier", "start": 5253, "end": 5259, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 5260, "end": 5267, "loc": { "start": { "line": 162, "column": 15 }, "end": { "line": 162, "column": 22 }, "identifierName": "console" }, "name": "console" }, "computed": false }, "property": { "type": "Identifier", "start": 5268, "end": 5271, "loc": { "start": { "line": 162, "column": 23 }, "end": { "line": 162, "column": 26 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5272, "end": 5279, "loc": { "start": { "line": 162, "column": 27 }, "end": { "line": 162, "column": 34 }, "identifierName": "message" }, "name": "message" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a console debugging message for this Controller.\n *\n * The console message will have this format: *````[LOG] [ : ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 4916, "end": 5187, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 159, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a warning for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[WARN] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5293, "end": 5574, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 173, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5579, "end": 5677, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 177, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5579, "end": 5583, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 174, "column": 8 }, "identifierName": "warn" }, "name": "warn", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5584, "end": 5591, "loc": { "start": { "line": 174, "column": 9 }, "end": { "line": 174, "column": 16 }, "identifierName": "message" }, "name": "message" } ], "body": { "type": "BlockStatement", "start": 5593, "end": 5677, "loc": { "start": { "line": 174, "column": 18 }, "end": { "line": 177, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5603, "end": 5633, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 5603, "end": 5632, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", "start": 5603, "end": 5610, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 15 }, "identifierName": "message" }, "name": "message" }, "right": { "type": "BinaryExpression", "start": 5613, "end": 5632, "loc": { "start": { "line": 175, "column": 18 }, "end": { "line": 175, "column": 37 } }, "left": { "type": "StringLiteral", "start": 5613, "end": 5622, "loc": { "start": { "line": 175, "column": 18 }, "end": { "line": 175, "column": 27 } }, "extra": { "rawValue": "[WARN] ", "raw": "\"[WARN] \"" }, "value": "[WARN] " }, "operator": "+", "right": { "type": "Identifier", "start": 5625, "end": 5632, "loc": { "start": { "line": 175, "column": 30 }, "end": { "line": 175, "column": 37 }, "identifierName": "message" }, "name": "message" } } } }, { "type": "ExpressionStatement", "start": 5642, "end": 5671, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 37 } }, "expression": { "type": "CallExpression", "start": 5642, "end": 5670, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 5642, "end": 5661, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 27 } }, "object": { "type": "MemberExpression", "start": 5642, "end": 5656, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 22 } }, "object": { "type": "Identifier", "start": 5642, "end": 5648, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 5649, "end": 5656, "loc": { "start": { "line": 176, "column": 15 }, "end": { "line": 176, "column": 22 }, "identifierName": "console" }, "name": "console" }, "computed": false }, "property": { "type": "Identifier", "start": 5657, "end": 5661, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5662, "end": 5669, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 35 }, "identifierName": "message" }, "name": "message" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a warning for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[WARN] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5293, "end": 5574, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 173, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Logs an error for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[ERROR] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5683, "end": 5964, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 187, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5969, "end": 6070, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 191, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5969, "end": 5974, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 9 }, "identifierName": "error" }, "name": "error", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5975, "end": 5982, "loc": { "start": { "line": 188, "column": 10 }, "end": { "line": 188, "column": 17 }, "identifierName": "message" }, "name": "message" } ], "body": { "type": "BlockStatement", "start": 5984, "end": 6070, "loc": { "start": { "line": 188, "column": 19 }, "end": { "line": 191, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5994, "end": 6025, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 5994, "end": 6024, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", "start": 5994, "end": 6001, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 15 }, "identifierName": "message" }, "name": "message" }, "right": { "type": "BinaryExpression", "start": 6004, "end": 6024, "loc": { "start": { "line": 189, "column": 18 }, "end": { "line": 189, "column": 38 } }, "left": { "type": "StringLiteral", "start": 6004, "end": 6014, "loc": { "start": { "line": 189, "column": 18 }, "end": { "line": 189, "column": 28 } }, "extra": { "rawValue": "[ERROR] ", "raw": "\"[ERROR] \"" }, "value": "[ERROR] " }, "operator": "+", "right": { "type": "Identifier", "start": 6017, "end": 6024, "loc": { "start": { "line": 189, "column": 31 }, "end": { "line": 189, "column": 38 }, "identifierName": "message" }, "name": "message" } } } }, { "type": "ExpressionStatement", "start": 6034, "end": 6064, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 38 } }, "expression": { "type": "CallExpression", "start": 6034, "end": 6063, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 6034, "end": 6054, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 28 } }, "object": { "type": "MemberExpression", "start": 6034, "end": 6048, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 22 } }, "object": { "type": "Identifier", "start": 6034, "end": 6040, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 6041, "end": 6048, "loc": { "start": { "line": 190, "column": 15 }, "end": { "line": 190, "column": 22 }, "identifierName": "console" }, "name": "console" }, "computed": false }, "property": { "type": "Identifier", "start": 6049, "end": 6054, "loc": { "start": { "line": 190, "column": 23 }, "end": { "line": 190, "column": 28 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6055, "end": 6062, "loc": { "start": { "line": 190, "column": 29 }, "end": { "line": 190, "column": 36 }, "identifierName": "message" }, "name": "message" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Logs an error for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[ERROR] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5683, "end": 5964, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 187, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6076, "end": 6769, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 212, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6076, "end": 6092, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 193, "column": 20 }, "identifierName": "_mutexActivation" }, "name": "_mutexActivation" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6093, "end": 6104, "loc": { "start": { "line": 193, "column": 21 }, "end": { "line": 193, "column": 32 }, "identifierName": "controllers" }, "name": "controllers" } ], "body": { "type": "BlockStatement", "start": 6106, "end": 6769, "loc": { "start": { "line": 193, "column": 34 }, "end": { "line": 212, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 6116, "end": 6158, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6122, "end": 6157, "loc": { "start": { "line": 194, "column": 14 }, "end": { "line": 194, "column": 49 } }, "id": { "type": "Identifier", "start": 6122, "end": 6136, "loc": { "start": { "line": 194, "column": 14 }, "end": { "line": 194, "column": 28 }, "identifierName": "numControllers" }, "name": "numControllers" }, "init": { "type": "MemberExpression", "start": 6139, "end": 6157, "loc": { "start": { "line": 194, "column": 31 }, "end": { "line": 194, "column": 49 } }, "object": { "type": "Identifier", "start": 6139, "end": 6150, "loc": { "start": { "line": 194, "column": 31 }, "end": { "line": 194, "column": 42 }, "identifierName": "controllers" }, "name": "controllers" }, "property": { "type": "Identifier", "start": 6151, "end": 6157, "loc": { "start": { "line": 194, "column": 43 }, "end": { "line": 194, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ], "kind": "const" }, { "type": "ForStatement", "start": 6167, "end": 6763, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 211, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 6172, "end": 6181, "loc": { "start": { "line": 195, "column": 13 }, "end": { "line": 195, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6176, "end": 6181, "loc": { "start": { "line": 195, "column": 17 }, "end": { "line": 195, "column": 22 } }, "id": { "type": "Identifier", "start": 6176, "end": 6177, "loc": { "start": { "line": 195, "column": 17 }, "end": { "line": 195, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 6180, "end": 6181, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 6183, "end": 6201, "loc": { "start": { "line": 195, "column": 24 }, "end": { "line": 195, "column": 42 } }, "left": { "type": "Identifier", "start": 6183, "end": 6184, "loc": { "start": { "line": 195, "column": 24 }, "end": { "line": 195, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "Identifier", "start": 6187, "end": 6201, "loc": { "start": { "line": 195, "column": 28 }, "end": { "line": 195, "column": 42 }, "identifierName": "numControllers" }, "name": "numControllers" } }, "update": { "type": "UpdateExpression", "start": 6203, "end": 6206, "loc": { "start": { "line": 195, "column": 44 }, "end": { "line": 195, "column": 47 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 6203, "end": 6204, "loc": { "start": { "line": 195, "column": 44 }, "end": { "line": 195, "column": 45 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 6208, "end": 6763, "loc": { "start": { "line": 195, "column": 49 }, "end": { "line": 211, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 6222, "end": 6256, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6228, "end": 6255, "loc": { "start": { "line": 196, "column": 18 }, "end": { "line": 196, "column": 45 } }, "id": { "type": "Identifier", "start": 6228, "end": 6238, "loc": { "start": { "line": 196, "column": 18 }, "end": { "line": 196, "column": 28 }, "identifierName": "controller" }, "name": "controller" }, "init": { "type": "MemberExpression", "start": 6241, "end": 6255, "loc": { "start": { "line": 196, "column": 31 }, "end": { "line": 196, "column": 45 } }, "object": { "type": "Identifier", "start": 6241, "end": 6252, "loc": { "start": { "line": 196, "column": 31 }, "end": { "line": 196, "column": 42 }, "identifierName": "controllers" }, "name": "controllers" }, "property": { "type": "Identifier", "start": 6253, "end": 6254, "loc": { "start": { "line": 196, "column": 43 }, "end": { "line": 196, "column": 44 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 6269, "end": 6753, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 210, "column": 18 } }, "expression": { "type": "CallExpression", "start": 6269, "end": 6752, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 210, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 6269, "end": 6282, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 25 } }, "object": { "type": "Identifier", "start": 6269, "end": 6279, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 22 }, "identifierName": "controller" }, "name": "controller" }, "property": { "type": "Identifier", "start": 6280, "end": 6282, "loc": { "start": { "line": 197, "column": 23 }, "end": { "line": 197, "column": 25 }, "identifierName": "on" }, "name": "on" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6283, "end": 6291, "loc": { "start": { "line": 197, "column": 26 }, "end": { "line": 197, "column": 34 } }, "extra": { "rawValue": "active", "raw": "\"active\"" }, "value": "active" }, { "type": "CallExpression", "start": 6293, "end": 6751, "loc": { "start": { "line": 197, "column": 36 }, "end": { "line": 210, "column": 16 } }, "callee": { "type": "FunctionExpression", "start": 6294, "end": 6748, "loc": { "start": { "line": 197, "column": 37 }, "end": { "line": 210, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6306, "end": 6748, "loc": { "start": { "line": 197, "column": 49 }, "end": { "line": 210, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 6324, "end": 6337, "loc": { "start": { "line": 198, "column": 16 }, "end": { "line": 198, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6330, "end": 6336, "loc": { "start": { "line": 198, "column": 22 }, "end": { "line": 198, "column": 28 } }, "id": { "type": "Identifier", "start": 6330, "end": 6332, "loc": { "start": { "line": 198, "column": 22 }, "end": { "line": 198, "column": 24 }, "identifierName": "_i" }, "name": "_i" }, "init": { "type": "Identifier", "start": 6335, "end": 6336, "loc": { "start": { "line": 198, "column": 27 }, "end": { "line": 198, "column": 28 }, "identifierName": "i" }, "name": "i" } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 6354, "end": 6734, "loc": { "start": { "line": 199, "column": 16 }, "end": { "line": 209, "column": 18 } }, "argument": { "type": "FunctionExpression", "start": 6361, "end": 6733, "loc": { "start": { "line": 199, "column": 23 }, "end": { "line": 209, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6371, "end": 6377, "loc": { "start": { "line": 199, "column": 33 }, "end": { "line": 199, "column": 39 }, "identifierName": "active" }, "name": "active" } ], "body": { "type": "BlockStatement", "start": 6379, "end": 6733, "loc": { "start": { "line": 199, "column": 41 }, "end": { "line": 209, "column": 17 } }, "body": [ { "type": "IfStatement", "start": 6401, "end": 6469, "loc": { "start": { "line": 200, "column": 20 }, "end": { "line": 202, "column": 21 } }, "test": { "type": "UnaryExpression", "start": 6405, "end": 6412, "loc": { "start": { "line": 200, "column": 24 }, "end": { "line": 200, "column": 31 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6406, "end": 6412, "loc": { "start": { "line": 200, "column": 25 }, "end": { "line": 200, "column": 31 }, "identifierName": "active" }, "name": "active" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 6414, "end": 6469, "loc": { "start": { "line": 200, "column": 33 }, "end": { "line": 202, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 6440, "end": 6447, "loc": { "start": { "line": 201, "column": 24 }, "end": { "line": 201, "column": 31 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ForStatement", "start": 6490, "end": 6715, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 208, "column": 21 } }, "init": { "type": "VariableDeclaration", "start": 6495, "end": 6504, "loc": { "start": { "line": 203, "column": 25 }, "end": { "line": 203, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6499, "end": 6504, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 34 } }, "id": { "type": "Identifier", "start": 6499, "end": 6500, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 30 }, "identifierName": "j" }, "name": "j" }, "init": { "type": "NumericLiteral", "start": 6503, "end": 6504, "loc": { "start": { "line": 203, "column": 33 }, "end": { "line": 203, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 6506, "end": 6524, "loc": { "start": { "line": 203, "column": 36 }, "end": { "line": 203, "column": 54 } }, "left": { "type": "Identifier", "start": 6506, "end": 6507, "loc": { "start": { "line": 203, "column": 36 }, "end": { "line": 203, "column": 37 }, "identifierName": "j" }, "name": "j" }, "operator": "<", "right": { "type": "Identifier", "start": 6510, "end": 6524, "loc": { "start": { "line": 203, "column": 40 }, "end": { "line": 203, "column": 54 }, "identifierName": "numControllers" }, "name": "numControllers" } }, "update": { "type": "UpdateExpression", "start": 6526, "end": 6529, "loc": { "start": { "line": 203, "column": 56 }, "end": { "line": 203, "column": 59 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 6526, "end": 6527, "loc": { "start": { "line": 203, "column": 56 }, "end": { "line": 203, "column": 57 }, "identifierName": "j" }, "name": "j" } }, "body": { "type": "BlockStatement", "start": 6531, "end": 6715, "loc": { "start": { "line": 203, "column": 61 }, "end": { "line": 208, "column": 21 } }, "body": [ { "type": "IfStatement", "start": 6557, "end": 6636, "loc": { "start": { "line": 204, "column": 24 }, "end": { "line": 206, "column": 25 } }, "test": { "type": "BinaryExpression", "start": 6561, "end": 6569, "loc": { "start": { "line": 204, "column": 28 }, "end": { "line": 204, "column": 36 } }, "left": { "type": "Identifier", "start": 6561, "end": 6562, "loc": { "start": { "line": 204, "column": 28 }, "end": { "line": 204, "column": 29 }, "identifierName": "j" }, "name": "j" }, "operator": "===", "right": { "type": "Identifier", "start": 6567, "end": 6569, "loc": { "start": { "line": 204, "column": 34 }, "end": { "line": 204, "column": 36 }, "identifierName": "_i" }, "name": "_i" } }, "consequent": { "type": "BlockStatement", "start": 6571, "end": 6636, "loc": { "start": { "line": 204, "column": 38 }, "end": { "line": 206, "column": 25 } }, "body": [ { "type": "ContinueStatement", "start": 6601, "end": 6610, "loc": { "start": { "line": 205, "column": 28 }, "end": { "line": 205, "column": 37 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 6661, "end": 6693, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 56 } }, "expression": { "type": "CallExpression", "start": 6661, "end": 6692, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6661, "end": 6685, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 48 } }, "object": { "type": "MemberExpression", "start": 6661, "end": 6675, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 38 } }, "object": { "type": "Identifier", "start": 6661, "end": 6672, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 35 }, "identifierName": "controllers" }, "name": "controllers" }, "property": { "type": "Identifier", "start": 6673, "end": 6674, "loc": { "start": { "line": 207, "column": 36 }, "end": { "line": 207, "column": 37 }, "identifierName": "j" }, "name": "j" }, "computed": true }, "property": { "type": "Identifier", "start": 6676, "end": 6685, "loc": { "start": { "line": 207, "column": 39 }, "end": { "line": 207, "column": 48 }, "identifierName": "setActive" }, "name": "setActive" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 6686, "end": 6691, "loc": { "start": { "line": 207, "column": 49 }, "end": { "line": 207, "column": 54 } }, "value": false } ] } } ], "directives": [] } } ], "directives": [] } } } ], "directives": [] }, "extra": { "parenthesized": true, "parenStart": 6293 } }, "arguments": [] } ] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Enables or disables this Controller.\n *\n * Fires an \"enabled\" event on update.\n *\n * @protected\n * @param {boolean} enabled Whether or not to enable.\n ", "start": 6775, "end": 6963, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 221, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6968, "end": 7144, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 228, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6968, "end": 6978, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 14 }, "identifierName": "setEnabled" }, "name": "setEnabled", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6979, "end": 6986, "loc": { "start": { "line": 222, "column": 15 }, "end": { "line": 222, "column": 22 }, "identifierName": "enabled" }, "name": "enabled" } ], "body": { "type": "BlockStatement", "start": 6988, "end": 7144, "loc": { "start": { "line": 222, "column": 24 }, "end": { "line": 228, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 6998, "end": 7060, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 225, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 7002, "end": 7027, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 37 } }, "left": { "type": "MemberExpression", "start": 7002, "end": 7015, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 25 } }, "object": { "type": "ThisExpression", "start": 7002, "end": 7006, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 16 } } }, "property": { "type": "Identifier", "start": 7007, "end": 7015, "loc": { "start": { "line": 223, "column": 17 }, "end": { "line": 223, "column": 25 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 7020, "end": 7027, "loc": { "start": { "line": 223, "column": 30 }, "end": { "line": 223, "column": 37 }, "identifierName": "enabled" }, "name": "enabled" } }, "consequent": { "type": "BlockStatement", "start": 7029, "end": 7060, "loc": { "start": { "line": 223, "column": 39 }, "end": { "line": 225, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 7043, "end": 7050, "loc": { "start": { "line": 224, "column": 12 }, "end": { "line": 224, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 7069, "end": 7093, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 7069, "end": 7092, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7069, "end": 7082, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 21 } }, "object": { "type": "ThisExpression", "start": 7069, "end": 7073, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 12 } } }, "property": { "type": "Identifier", "start": 7074, "end": 7082, "loc": { "start": { "line": 226, "column": 13 }, "end": { "line": 226, "column": 21 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false }, "right": { "type": "Identifier", "start": 7085, "end": 7092, "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "column": 31 }, "identifierName": "enabled" }, "name": "enabled" } } }, { "type": "ExpressionStatement", "start": 7102, "end": 7138, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 44 } }, "expression": { "type": "CallExpression", "start": 7102, "end": 7137, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 7102, "end": 7111, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7102, "end": 7106, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 12 } } }, "property": { "type": "Identifier", "start": 7107, "end": 7111, "loc": { "start": { "line": 227, "column": 13 }, "end": { "line": 227, "column": 17 }, "identifierName": "fire" }, "name": "fire" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7112, "end": 7121, "loc": { "start": { "line": 227, "column": 18 }, "end": { "line": 227, "column": 27 } }, "extra": { "rawValue": "enabled", "raw": "\"enabled\"" }, "value": "enabled" }, { "type": "MemberExpression", "start": 7123, "end": 7136, "loc": { "start": { "line": 227, "column": 29 }, "end": { "line": 227, "column": 42 } }, "object": { "type": "ThisExpression", "start": 7123, "end": 7127, "loc": { "start": { "line": 227, "column": 29 }, "end": { "line": 227, "column": 33 } } }, "property": { "type": "Identifier", "start": 7128, "end": 7136, "loc": { "start": { "line": 227, "column": 34 }, "end": { "line": 227, "column": 42 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Enables or disables this Controller.\n *\n * Fires an \"enabled\" event on update.\n *\n * @protected\n * @param {boolean} enabled Whether or not to enable.\n ", "start": 6775, "end": 6963, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 221, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is enabled.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7150, "end": 7274, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 236, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7279, "end": 7329, "loc": { "start": { "line": 237, "column": 4 }, "end": { "line": 239, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7279, "end": 7289, "loc": { "start": { "line": 237, "column": 4 }, "end": { "line": 237, "column": 14 }, "identifierName": "getEnabled" }, "name": "getEnabled", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7292, "end": 7329, "loc": { "start": { "line": 237, "column": 17 }, "end": { "line": 239, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7302, "end": 7323, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 29 } }, "argument": { "type": "MemberExpression", "start": 7309, "end": 7322, "loc": { "start": { "line": 238, "column": 15 }, "end": { "line": 238, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7309, "end": 7313, "loc": { "start": { "line": 238, "column": 15 }, "end": { "line": 238, "column": 19 } } }, "property": { "type": "Identifier", "start": 7314, "end": 7322, "loc": { "start": { "line": 238, "column": 20 }, "end": { "line": 238, "column": 28 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is enabled.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7150, "end": 7274, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 236, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Activates or deactivates this Controller.\n *\n * Fires an \"active\" event on update.\n *\n * @protected\n *\n * @param {boolean} active Whether or not to activate.\n ", "start": 7335, "end": 7535, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 249, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7540, "end": 7708, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 256, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7540, "end": 7549, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 250, "column": 13 }, "identifierName": "setActive" }, "name": "setActive", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7550, "end": 7556, "loc": { "start": { "line": 250, "column": 14 }, "end": { "line": 250, "column": 20 }, "identifierName": "active" }, "name": "active" } ], "body": { "type": "BlockStatement", "start": 7558, "end": 7708, "loc": { "start": { "line": 250, "column": 22 }, "end": { "line": 256, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 7568, "end": 7628, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 253, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 7572, "end": 7595, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 35 } }, "left": { "type": "MemberExpression", "start": 7572, "end": 7584, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7572, "end": 7576, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 16 } } }, "property": { "type": "Identifier", "start": 7577, "end": 7584, "loc": { "start": { "line": 251, "column": 17 }, "end": { "line": 251, "column": 24 }, "identifierName": "_active" }, "name": "_active" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 7589, "end": 7595, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 35 }, "identifierName": "active" }, "name": "active" } }, "consequent": { "type": "BlockStatement", "start": 7597, "end": 7628, "loc": { "start": { "line": 251, "column": 37 }, "end": { "line": 253, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 7611, "end": 7618, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 252, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 7637, "end": 7659, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 7637, "end": 7658, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7637, "end": 7649, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7637, "end": 7641, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 12 } } }, "property": { "type": "Identifier", "start": 7642, "end": 7649, "loc": { "start": { "line": 254, "column": 13 }, "end": { "line": 254, "column": 20 }, "identifierName": "_active" }, "name": "_active" }, "computed": false }, "right": { "type": "Identifier", "start": 7652, "end": 7658, "loc": { "start": { "line": 254, "column": 23 }, "end": { "line": 254, "column": 29 }, "identifierName": "active" }, "name": "active" } } }, { "type": "ExpressionStatement", "start": 7668, "end": 7702, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 42 } }, "expression": { "type": "CallExpression", "start": 7668, "end": 7701, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 7668, "end": 7677, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7668, "end": 7672, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 12 } } }, "property": { "type": "Identifier", "start": 7673, "end": 7677, "loc": { "start": { "line": 255, "column": 13 }, "end": { "line": 255, "column": 17 }, "identifierName": "fire" }, "name": "fire" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7678, "end": 7686, "loc": { "start": { "line": 255, "column": 18 }, "end": { "line": 255, "column": 26 } }, "extra": { "rawValue": "active", "raw": "\"active\"" }, "value": "active" }, { "type": "MemberExpression", "start": 7688, "end": 7700, "loc": { "start": { "line": 255, "column": 28 }, "end": { "line": 255, "column": 40 } }, "object": { "type": "ThisExpression", "start": 7688, "end": 7692, "loc": { "start": { "line": 255, "column": 28 }, "end": { "line": 255, "column": 32 } } }, "property": { "type": "Identifier", "start": 7693, "end": 7700, "loc": { "start": { "line": 255, "column": 33 }, "end": { "line": 255, "column": 40 }, "identifierName": "_active" }, "name": "_active" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Activates or deactivates this Controller.\n *\n * Fires an \"active\" event on update.\n *\n * @protected\n *\n * @param {boolean} active Whether or not to activate.\n ", "start": 7335, "end": 7535, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 249, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is active.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7714, "end": 7837, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 264, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7842, "end": 7890, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 267, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7842, "end": 7851, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 13 }, "identifierName": "getActive" }, "name": "getActive", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7854, "end": 7890, "loc": { "start": { "line": 265, "column": 16 }, "end": { "line": 267, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7864, "end": 7884, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 28 } }, "argument": { "type": "MemberExpression", "start": 7871, "end": 7883, "loc": { "start": { "line": 266, "column": 15 }, "end": { "line": 266, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7871, "end": 7875, "loc": { "start": { "line": 266, "column": 15 }, "end": { "line": 266, "column": 19 } } }, "property": { "type": "Identifier", "start": 7876, "end": 7883, "loc": { "start": { "line": 266, "column": 20 }, "end": { "line": 266, "column": 27 }, "identifierName": "_active" }, "name": "_active" }, "computed": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is active.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7714, "end": 7837, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 264, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Destroys this Controller.\n *\n * @protected\n *\n ", "start": 7896, "end": 7972, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 274, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7977, "end": 8522, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 293, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7977, "end": 7984, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 11 }, "identifierName": "destroy" }, "name": "destroy", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7987, "end": 8522, "loc": { "start": { "line": 275, "column": 14 }, "end": { "line": 293, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 7997, "end": 8048, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 278, "column": 9 } }, "test": { "type": "MemberExpression", "start": 8001, "end": 8015, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8001, "end": 8005, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 16 } } }, "property": { "type": "Identifier", "start": 8006, "end": 8015, "loc": { "start": { "line": 276, "column": 17 }, "end": { "line": 276, "column": 26 }, "identifierName": "destroyed" }, "name": "destroyed" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 8017, "end": 8048, "loc": { "start": { "line": 276, "column": 28 }, "end": { "line": 278, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 8031, "end": 8038, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 19 } }, "argument": null } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Fired when this Controller is destroyed.\n * @event destroyed\n ", "start": 8057, "end": 8152, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 282, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 8161, "end": 8207, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 54 } }, "expression": { "type": "CallExpression", "start": 8161, "end": 8206, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 8161, "end": 8170, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8161, "end": 8165, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8166, "end": 8170, "loc": { "start": { "line": 283, "column": 13 }, "end": { "line": 283, "column": 17 }, "identifierName": "fire" }, "name": "fire" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 8171, "end": 8182, "loc": { "start": { "line": 283, "column": 18 }, "end": { "line": 283, "column": 29 } }, "extra": { "rawValue": "destroyed", "raw": "\"destroyed\"" }, "value": "destroyed" }, { "type": "AssignmentExpression", "start": 8184, "end": 8205, "loc": { "start": { "line": 283, "column": 31 }, "end": { "line": 283, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8184, "end": 8198, "loc": { "start": { "line": 283, "column": 31 }, "end": { "line": 283, "column": 45 } }, "object": { "type": "ThisExpression", "start": 8184, "end": 8188, "loc": { "start": { "line": 283, "column": 31 }, "end": { "line": 283, "column": 35 } } }, "property": { "type": "Identifier", "start": 8189, "end": 8198, "loc": { "start": { "line": 283, "column": 36 }, "end": { "line": 283, "column": 45 }, "identifierName": "destroyed" }, "name": "destroyed" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 8201, "end": 8205, "loc": { "start": { "line": 283, "column": 48 }, "end": { "line": 283, "column": 52 } }, "value": true } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Fired when this Controller is destroyed.\n * @event destroyed\n ", "start": 8057, "end": 8152, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 282, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 8216, "end": 8238, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 8216, "end": 8237, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8216, "end": 8230, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 22 } }, "object": { "type": "ThisExpression", "start": 8216, "end": 8220, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 12 } } }, "property": { "type": "Identifier", "start": 8221, "end": 8230, "loc": { "start": { "line": 284, "column": 13 }, "end": { "line": 284, "column": 22 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "right": { "type": "NullLiteral", "start": 8233, "end": 8237, "loc": { "start": { "line": 284, "column": 25 }, "end": { "line": 284, "column": 29 } } } } }, { "type": "ExpressionStatement", "start": 8247, "end": 8272, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 8247, "end": 8271, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8247, "end": 8264, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 25 } }, "object": { "type": "ThisExpression", "start": 8247, "end": 8251, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 12 } } }, "property": { "type": "Identifier", "start": 8252, "end": 8264, "loc": { "start": { "line": 285, "column": 13 }, "end": { "line": 285, "column": 25 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "right": { "type": "NullLiteral", "start": 8267, "end": 8271, "loc": { "start": { "line": 285, "column": 28 }, "end": { "line": 285, "column": 32 } } } } }, { "type": "ExpressionStatement", "start": 8281, "end": 8304, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 8281, "end": 8303, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8281, "end": 8296, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 23 } }, "object": { "type": "ThisExpression", "start": 8281, "end": 8285, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 12 } } }, "property": { "type": "Identifier", "start": 8286, "end": 8296, "loc": { "start": { "line": 286, "column": 13 }, "end": { "line": 286, "column": 23 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "right": { "type": "NullLiteral", "start": 8299, "end": 8303, "loc": { "start": { "line": 286, "column": 26 }, "end": { "line": 286, "column": 30 } } } } }, { "type": "ExpressionStatement", "start": 8313, "end": 8333, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 8313, "end": 8332, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8313, "end": 8325, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8313, "end": 8317, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 12 } } }, "property": { "type": "Identifier", "start": 8318, "end": 8325, "loc": { "start": { "line": 287, "column": 13 }, "end": { "line": 287, "column": 20 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "right": { "type": "NullLiteral", "start": 8328, "end": 8332, "loc": { "start": { "line": 287, "column": 23 }, "end": { "line": 287, "column": 27 } } } } }, { "type": "ExpressionStatement", "start": 8342, "end": 8367, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 8342, "end": 8366, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8342, "end": 8362, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8342, "end": 8346, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 12 } } }, "property": { "type": "Identifier", "start": 8347, "end": 8362, "loc": { "start": { "line": 288, "column": 13 }, "end": { "line": 288, "column": 28 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 8365, "end": 8366, "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 288, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ForStatement", "start": 8376, "end": 8487, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 291, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 8381, "end": 8419, "loc": { "start": { "line": 289, "column": 13 }, "end": { "line": 289, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8385, "end": 8390, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 22 } }, "id": { "type": "Identifier", "start": 8385, "end": 8386, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 8389, "end": 8390, "loc": { "start": { "line": 289, "column": 21 }, "end": { "line": 289, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "VariableDeclarator", "start": 8392, "end": 8419, "loc": { "start": { "line": 289, "column": 24 }, "end": { "line": 289, "column": 51 } }, "id": { "type": "Identifier", "start": 8392, "end": 8395, "loc": { "start": { "line": 289, "column": 24 }, "end": { "line": 289, "column": 27 }, "identifierName": "len" }, "name": "len" }, "init": { "type": "MemberExpression", "start": 8398, "end": 8419, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8398, "end": 8412, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 44 } }, "object": { "type": "ThisExpression", "start": 8398, "end": 8402, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 34 } } }, "property": { "type": "Identifier", "start": 8403, "end": 8412, "loc": { "start": { "line": 289, "column": 35 }, "end": { "line": 289, "column": 44 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "property": { "type": "Identifier", "start": 8413, "end": 8419, "loc": { "start": { "line": 289, "column": 45 }, "end": { "line": 289, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 8421, "end": 8428, "loc": { "start": { "line": 289, "column": 53 }, "end": { "line": 289, "column": 60 } }, "left": { "type": "Identifier", "start": 8421, "end": 8422, "loc": { "start": { "line": 289, "column": 53 }, "end": { "line": 289, "column": 54 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "Identifier", "start": 8425, "end": 8428, "loc": { "start": { "line": 289, "column": 57 }, "end": { "line": 289, "column": 60 }, "identifierName": "len" }, "name": "len" } }, "update": { "type": "UpdateExpression", "start": 8430, "end": 8433, "loc": { "start": { "line": 289, "column": 62 }, "end": { "line": 289, "column": 65 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 8430, "end": 8431, "loc": { "start": { "line": 289, "column": 62 }, "end": { "line": 289, "column": 63 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 8435, "end": 8487, "loc": { "start": { "line": 289, "column": 67 }, "end": { "line": 291, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 8449, "end": 8477, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 40 } }, "expression": { "type": "CallExpression", "start": 8449, "end": 8476, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 8449, "end": 8474, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8449, "end": 8466, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8449, "end": 8463, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8449, "end": 8453, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 16 } } }, "property": { "type": "Identifier", "start": 8454, "end": 8463, "loc": { "start": { "line": 290, "column": 17 }, "end": { "line": 290, "column": 26 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "property": { "type": "Identifier", "start": 8464, "end": 8465, "loc": { "start": { "line": 290, "column": 27 }, "end": { "line": 290, "column": 28 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 8467, "end": 8474, "loc": { "start": { "line": 290, "column": 30 }, "end": { "line": 290, "column": 37 }, "identifierName": "destroy" }, "name": "destroy" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 8496, "end": 8516, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 8496, "end": 8515, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8496, "end": 8510, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 22 } }, "object": { "type": "ThisExpression", "start": 8496, "end": 8500, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 12 } } }, "property": { "type": "Identifier", "start": 8501, "end": 8510, "loc": { "start": { "line": 292, "column": 13 }, "end": { "line": 292, "column": 22 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 8513, "end": 8515, "loc": { "start": { "line": 292, "column": 25 }, "end": { "line": 292, "column": 27 } }, "elements": [] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Destroys this Controller.\n *\n * @protected\n *\n ", "start": 7896, "end": 7972, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 274, "column": 7 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "ExportNamedDeclaration", "start": 8526, "end": 8546, "loc": { "start": { "line": 296, "column": 0 }, "end": { "line": 296, "column": 20 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 8534, "end": 8544, "loc": { "start": { "line": 296, "column": 8 }, "end": { "line": 296, "column": 18 } }, "local": { "type": "Identifier", "start": 8534, "end": 8544, "loc": { "start": { "line": 296, "column": 8 }, "end": { "line": 296, "column": 18 }, "identifierName": "Controller" }, "name": "Controller" }, "exported": { "type": "Identifier", "start": 8534, "end": 8544, "loc": { "start": { "line": 296, "column": 8 }, "end": { "line": 296, "column": 18 }, "identifierName": "Controller" }, "name": "Controller" } } ], "source": null }, { "type": "ExportNamedDeclaration", "start": 8526, "end": 8546, "loc": { "start": { "line": 296, "column": 0 }, "end": { "line": 296, "column": 20 } }, "declaration": { "type": "ClassDeclaration", "start": 47, "end": 8524, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 294, "column": 1 } }, "id": { "type": "Identifier", "start": 53, "end": 63, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 16 }, "identifierName": "Controller" }, "name": "Controller", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 64, "end": 8524, "loc": { "start": { "line": 4, "column": 17 }, "end": { "line": 294, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 105, "end": 935, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 29, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 105, "end": 116, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 117, "end": 123, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 22 }, "identifierName": "parent" }, "name": "parent" }, { "type": "Identifier", "start": 125, "end": 128, "loc": { "start": { "line": 9, "column": 24 }, "end": { "line": 9, "column": 27 }, "identifierName": "cfg" }, "name": "cfg" }, { "type": "Identifier", "start": 130, "end": 136, "loc": { "start": { "line": 9, "column": 29 }, "end": { "line": 9, "column": 35 }, "identifierName": "server" }, "name": "server" }, { "type": "Identifier", "start": 138, "end": 144, "loc": { "start": { "line": 9, "column": 37 }, "end": { "line": 9, "column": 43 }, "identifierName": "viewer" }, "name": "viewer" } ], "body": { "type": "BlockStatement", "start": 146, "end": 935, "loc": { "start": { "line": 9, "column": 45 }, "end": { "line": 29, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 157, "end": 221, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 72 } }, "expression": { "type": "AssignmentExpression", "start": 157, "end": 220, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 71 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 157, "end": 171, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 22 } }, "object": { "type": "ThisExpression", "start": 157, "end": 161, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 12 } } }, "property": { "type": "Identifier", "start": 162, "end": 171, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 22 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 175, "end": 219, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 70 } }, "test": { "type": "Identifier", "start": 175, "end": 181, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 32 }, "identifierName": "parent" }, "name": "parent" }, "consequent": { "type": "LogicalExpression", "start": 185, "end": 211, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 62 } }, "left": { "type": "MemberExpression", "start": 185, "end": 201, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 52 } }, "object": { "type": "Identifier", "start": 185, "end": 191, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 42 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 192, "end": 201, "loc": { "start": { "line": 11, "column": 43 }, "end": { "line": 11, "column": 52 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "operator": "||", "right": { "type": "Identifier", "start": 205, "end": 211, "loc": { "start": { "line": 11, "column": 56 }, "end": { "line": 11, "column": 62 }, "identifierName": "parent" }, "name": "parent" }, "extra": { "parenthesized": true, "parenStart": 184 } }, "alternate": { "type": "ThisExpression", "start": 215, "end": 219, "loc": { "start": { "line": 11, "column": 66 }, "end": { "line": 11, "column": 70 } } }, "extra": { "parenthesized": true, "parenStart": 174 } } } }, { "type": "ExpressionStatement", "start": 230, "end": 276, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 230, "end": 275, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 230, "end": 241, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 19 } }, "object": { "type": "ThisExpression", "start": 230, "end": 234, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 12 } } }, "property": { "type": "Identifier", "start": 235, "end": 241, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 19 }, "identifierName": "server" }, "name": "server" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 244, "end": 275, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 53 } }, "test": { "type": "Identifier", "start": 244, "end": 250, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 28 }, "identifierName": "parent" }, "name": "parent" }, "consequent": { "type": "MemberExpression", "start": 253, "end": 266, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 44 } }, "object": { "type": "Identifier", "start": 253, "end": 259, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 37 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 260, "end": 266, "loc": { "start": { "line": 12, "column": 38 }, "end": { "line": 12, "column": 44 }, "identifierName": "server" }, "name": "server" }, "computed": false }, "alternate": { "type": "Identifier", "start": 269, "end": 275, "loc": { "start": { "line": 12, "column": 47 }, "end": { "line": 12, "column": 53 }, "identifierName": "server" }, "name": "server" } } } }, { "type": "ExpressionStatement", "start": 285, "end": 331, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 285, "end": 330, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 285, "end": 296, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 19 } }, "object": { "type": "ThisExpression", "start": 285, "end": 289, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 12 } } }, "property": { "type": "Identifier", "start": 290, "end": 296, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 19 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 299, "end": 330, "loc": { "start": { "line": 13, "column": 22 }, "end": { "line": 13, "column": 53 } }, "test": { "type": "Identifier", "start": 299, "end": 305, "loc": { "start": { "line": 13, "column": 22 }, "end": { "line": 13, "column": 28 }, "identifierName": "parent" }, "name": "parent" }, "consequent": { "type": "MemberExpression", "start": 308, "end": 321, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 44 } }, "object": { "type": "Identifier", "start": 308, "end": 314, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 37 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 315, "end": 321, "loc": { "start": { "line": 13, "column": 38 }, "end": { "line": 13, "column": 44 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "alternate": { "type": "Identifier", "start": 324, "end": 330, "loc": { "start": { "line": 13, "column": 47 }, "end": { "line": 13, "column": 53 }, "identifierName": "viewer" }, "name": "viewer" } } } }, { "type": "ExpressionStatement", "start": 341, "end": 361, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 341, "end": 360, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 341, "end": 355, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 22 } }, "object": { "type": "ThisExpression", "start": 341, "end": 345, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 12 } } }, "property": { "type": "Identifier", "start": 346, "end": 355, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 22 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 358, "end": 360, "loc": { "start": { "line": 15, "column": 25 }, "end": { "line": 15, "column": 27 } }, "elements": [] } } }, { "type": "IfStatement", "start": 371, "end": 435, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 19, "column": 9 } }, "test": { "type": "Identifier", "start": 375, "end": 381, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 18 }, "identifierName": "parent" }, "name": "parent" }, "consequent": { "type": "BlockStatement", "start": 383, "end": 435, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 19, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 397, "end": 425, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 40 } }, "expression": { "type": "CallExpression", "start": 397, "end": 424, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 397, "end": 418, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 33 } }, "object": { "type": "MemberExpression", "start": 397, "end": 413, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 28 } }, "object": { "type": "Identifier", "start": 397, "end": 403, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 18 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 404, "end": 413, "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 18, "column": 28 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "property": { "type": "Identifier", "start": 414, "end": 418, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 33 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 419, "end": 423, "loc": { "start": { "line": 18, "column": 34 }, "end": { "line": 18, "column": 38 } } } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 445, "end": 467, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 445, "end": 466, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 445, "end": 459, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 22 } }, "object": { "type": "ThisExpression", "start": 445, "end": 449, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 12 } } }, "property": { "type": "Identifier", "start": 450, "end": 459, "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 22 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "right": { "type": "NullLiteral", "start": 462, "end": 466, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 29 } } } }, "trailingComments": [ { "type": "CommentLine", "value": " Subscription subId pool", "start": 468, "end": 494, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 57 } } } ] }, { "type": "ExpressionStatement", "start": 503, "end": 528, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 503, "end": 527, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 503, "end": 520, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 25 } }, "object": { "type": "ThisExpression", "start": 503, "end": 507, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 508, "end": 520, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 25 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 523, "end": 527, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 32 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Subscription subId pool", "start": 468, "end": 494, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 57 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Subscription subIds mapped to event names", "start": 529, "end": 573, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 78 } } } ] }, { "type": "ExpressionStatement", "start": 582, "end": 605, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 582, "end": 604, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 582, "end": 597, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 23 } }, "object": { "type": "ThisExpression", "start": 582, "end": 586, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 587, "end": 597, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 23 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 600, "end": 604, "loc": { "start": { "line": 23, "column": 26 }, "end": { "line": 23, "column": 30 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Subscription subIds mapped to event names", "start": 529, "end": 573, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 78 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Event names mapped to subscribers", "start": 606, "end": 642, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 68 } } } ] }, { "type": "ExpressionStatement", "start": 651, "end": 671, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 651, "end": 670, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 651, "end": 663, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 20 } }, "object": { "type": "ThisExpression", "start": 651, "end": 655, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 656, "end": 663, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 20 }, "identifierName": "_events" }, "name": "_events" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 666, "end": 670, "loc": { "start": { "line": 24, "column": 23 }, "end": { "line": 24, "column": 27 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Event names mapped to subscribers", "start": 606, "end": 642, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 68 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Maps names to events", "start": 672, "end": 695, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 52 } } } ] }, { "type": "ExpressionStatement", "start": 704, "end": 729, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 704, "end": 728, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 704, "end": 724, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 28 } }, "object": { "type": "ThisExpression", "start": 704, "end": 708, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 709, "end": 724, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 28 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 727, "end": 728, "loc": { "start": { "line": 25, "column": 31 }, "end": { "line": 25, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Maps names to events", "start": 672, "end": 695, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 52 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Helps us catch stack overflows from recursive events", "start": 730, "end": 785, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 89 } } } ] }, { "type": "ExpressionStatement", "start": 795, "end": 816, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 795, "end": 815, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 795, "end": 808, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 21 } }, "object": { "type": "ThisExpression", "start": 795, "end": 799, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 800, "end": 808, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 21 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 811, "end": 815, "loc": { "start": { "line": 27, "column": 24 }, "end": { "line": 27, "column": 28 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Helps us catch stack overflows from recursive events", "start": 730, "end": 785, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 89 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Used by #setEnabled() and #getEnabled()", "start": 817, "end": 859, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 72 } } } ] }, { "type": "ExpressionStatement", "start": 868, "end": 888, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 868, "end": 887, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 868, "end": 880, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 20 } }, "object": { "type": "ThisExpression", "start": 868, "end": 872, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 873, "end": 880, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 20 }, "identifierName": "_active" }, "name": "_active" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 883, "end": 887, "loc": { "start": { "line": 28, "column": 23 }, "end": { "line": 28, "column": 27 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Used by #setEnabled() and #getEnabled()", "start": 817, "end": 859, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 72 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Used by #setActive() and #getActive()", "start": 889, "end": 929, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 69 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @protected\n ", "start": 71, "end": 100, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 8, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Fires an event on this Controller.\n *\n * @protected\n *\n * @param {String} event The event type name\n * @param {Object} value The event parameters\n * @param {Boolean} [forget=false] When true, does not retain for subsequent subscribers\n ", "start": 941, "end": 1218, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 39, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1223, "end": 2174, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 66, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1223, "end": 1227, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 8 }, "identifierName": "fire" }, "name": "fire", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1228, "end": 1233, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 14 }, "identifierName": "event" }, "name": "event" }, { "type": "Identifier", "start": 1235, "end": 1240, "loc": { "start": { "line": 40, "column": 16 }, "end": { "line": 40, "column": 21 }, "identifierName": "value" }, "name": "value" }, { "type": "Identifier", "start": 1242, "end": 1248, "loc": { "start": { "line": 40, "column": 23 }, "end": { "line": 40, "column": 29 }, "identifierName": "forget" }, "name": "forget" } ], "body": { "type": "BlockStatement", "start": 1250, "end": 2174, "loc": { "start": { "line": 40, "column": 31 }, "end": { "line": 66, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1260, "end": 1321, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 43, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1264, "end": 1277, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1265, "end": 1277, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1265, "end": 1269, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 17 } } }, "property": { "type": "Identifier", "start": 1270, "end": 1277, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 25 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1279, "end": 1321, "loc": { "start": { "line": 41, "column": 27 }, "end": { "line": 43, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1293, "end": 1311, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 1293, "end": 1310, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1293, "end": 1305, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1293, "end": 1297, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 16 } } }, "property": { "type": "Identifier", "start": 1298, "end": 1305, "loc": { "start": { "line": 42, "column": 17 }, "end": { "line": 42, "column": 24 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 1308, "end": 1310, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 29 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1330, "end": 1397, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 46, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1334, "end": 1350, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 28 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1335, "end": 1350, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1335, "end": 1339, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 17 } } }, "property": { "type": "Identifier", "start": 1340, "end": 1350, "loc": { "start": { "line": 44, "column": 18 }, "end": { "line": 44, "column": 28 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1352, "end": 1397, "loc": { "start": { "line": 44, "column": 30 }, "end": { "line": 46, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1366, "end": 1387, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 1366, "end": 1386, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1366, "end": 1381, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1366, "end": 1370, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 16 } } }, "property": { "type": "Identifier", "start": 1371, "end": 1381, "loc": { "start": { "line": 45, "column": 17 }, "end": { "line": 45, "column": 27 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 1384, "end": 1386, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 45, "column": 32 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1406, "end": 1508, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 49, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1410, "end": 1425, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 27 } }, "left": { "type": "Identifier", "start": 1410, "end": 1416, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 18 }, "identifierName": "forget" }, "name": "forget" }, "operator": "!==", "right": { "type": "BooleanLiteral", "start": 1421, "end": 1425, "loc": { "start": { "line": 47, "column": 23 }, "end": { "line": 47, "column": 27 } }, "value": true } }, "consequent": { "type": "BlockStatement", "start": 1427, "end": 1508, "loc": { "start": { "line": 47, "column": 29 }, "end": { "line": 49, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1441, "end": 1477, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 1441, "end": 1476, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1441, "end": 1460, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 31 } }, "object": { "type": "MemberExpression", "start": 1441, "end": 1453, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1441, "end": 1445, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 16 } } }, "property": { "type": "Identifier", "start": 1446, "end": 1453, "loc": { "start": { "line": 48, "column": 17 }, "end": { "line": 48, "column": 24 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "property": { "type": "Identifier", "start": 1454, "end": 1459, "loc": { "start": { "line": 48, "column": 25 }, "end": { "line": 48, "column": 30 }, "identifierName": "event" }, "name": "event" }, "computed": true }, "right": { "type": "LogicalExpression", "start": 1463, "end": 1476, "loc": { "start": { "line": 48, "column": 34 }, "end": { "line": 48, "column": 47 } }, "left": { "type": "Identifier", "start": 1463, "end": 1468, "loc": { "start": { "line": 48, "column": 34 }, "end": { "line": 48, "column": 39 }, "identifierName": "value" }, "name": "value" }, "operator": "||", "right": { "type": "BooleanLiteral", "start": 1472, "end": 1476, "loc": { "start": { "line": 48, "column": 43 }, "end": { "line": 48, "column": 47 } }, "value": true } } }, "trailingComments": [ { "type": "CommentLine", "value": " Save notification", "start": 1478, "end": 1498, "loc": { "start": { "line": 48, "column": 49 }, "end": { "line": 48, "column": 69 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 1517, "end": 1553, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1523, "end": 1552, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 43 } }, "id": { "type": "Identifier", "start": 1523, "end": 1527, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 18 }, "identifierName": "subs" }, "name": "subs" }, "init": { "type": "MemberExpression", "start": 1530, "end": 1552, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 43 } }, "object": { "type": "MemberExpression", "start": 1530, "end": 1545, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 36 } }, "object": { "type": "ThisExpression", "start": 1530, "end": 1534, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 25 } } }, "property": { "type": "Identifier", "start": 1535, "end": 1545, "loc": { "start": { "line": 50, "column": 26 }, "end": { "line": 50, "column": 36 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "property": { "type": "Identifier", "start": 1546, "end": 1551, "loc": { "start": { "line": 50, "column": 37 }, "end": { "line": 50, "column": 42 }, "identifierName": "event" }, "name": "event" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1562, "end": 1570, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1566, "end": 1569, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 15 } }, "id": { "type": "Identifier", "start": 1566, "end": 1569, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 15 }, "identifierName": "sub" }, "name": "sub" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 1579, "end": 2168, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 65, "column": 9 } }, "test": { "type": "Identifier", "start": 1583, "end": 1587, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 16 }, "identifierName": "subs" }, "name": "subs" }, "consequent": { "type": "BlockStatement", "start": 1589, "end": 2168, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 65, "column": 9 } }, "body": [ { "type": "ForInStatement", "start": 1627, "end": 2158, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 64, "column": 13 } }, "left": { "type": "VariableDeclaration", "start": 1632, "end": 1643, "loc": { "start": { "line": 53, "column": 17 }, "end": { "line": 53, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1638, "end": 1643, "loc": { "start": { "line": 53, "column": 23 }, "end": { "line": 53, "column": 28 } }, "id": { "type": "Identifier", "start": 1638, "end": 1643, "loc": { "start": { "line": 53, "column": 23 }, "end": { "line": 53, "column": 28 }, "identifierName": "subId" }, "name": "subId", "leadingComments": null }, "init": null, "leadingComments": null } ], "kind": "const", "leadingComments": null }, "right": { "type": "Identifier", "start": 1647, "end": 1651, "loc": { "start": { "line": 53, "column": 32 }, "end": { "line": 53, "column": 36 }, "identifierName": "subs" }, "name": "subs" }, "body": { "type": "BlockStatement", "start": 1653, "end": 2158, "loc": { "start": { "line": 53, "column": 38 }, "end": { "line": 64, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 1671, "end": 2144, "loc": { "start": { "line": 54, "column": 16 }, "end": { "line": 63, "column": 17 } }, "test": { "type": "CallExpression", "start": 1675, "end": 1701, "loc": { "start": { "line": 54, "column": 20 }, "end": { "line": 54, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 1675, "end": 1694, "loc": { "start": { "line": 54, "column": 20 }, "end": { "line": 54, "column": 39 } }, "object": { "type": "Identifier", "start": 1675, "end": 1679, "loc": { "start": { "line": 54, "column": 20 }, "end": { "line": 54, "column": 24 }, "identifierName": "subs" }, "name": "subs" }, "property": { "type": "Identifier", "start": 1680, "end": 1694, "loc": { "start": { "line": 54, "column": 25 }, "end": { "line": 54, "column": 39 }, "identifierName": "hasOwnProperty" }, "name": "hasOwnProperty" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1695, "end": 1700, "loc": { "start": { "line": 54, "column": 40 }, "end": { "line": 54, "column": 45 }, "identifierName": "subId" }, "name": "subId" } ] }, "consequent": { "type": "BlockStatement", "start": 1703, "end": 2144, "loc": { "start": { "line": 54, "column": 48 }, "end": { "line": 63, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 1725, "end": 1743, "loc": { "start": { "line": 55, "column": 20 }, "end": { "line": 55, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 1725, "end": 1742, "loc": { "start": { "line": 55, "column": 20 }, "end": { "line": 55, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", "start": 1725, "end": 1728, "loc": { "start": { "line": 55, "column": 20 }, "end": { "line": 55, "column": 23 }, "identifierName": "sub" }, "name": "sub" }, "right": { "type": "MemberExpression", "start": 1731, "end": 1742, "loc": { "start": { "line": 55, "column": 26 }, "end": { "line": 55, "column": 37 } }, "object": { "type": "Identifier", "start": 1731, "end": 1735, "loc": { "start": { "line": 55, "column": 26 }, "end": { "line": 55, "column": 30 }, "identifierName": "subs" }, "name": "subs" }, "property": { "type": "Identifier", "start": 1736, "end": 1741, "loc": { "start": { "line": 55, "column": 31 }, "end": { "line": 55, "column": 36 }, "identifierName": "subId" }, "name": "subId" }, "computed": true } } }, { "type": "ExpressionStatement", "start": 1764, "end": 1787, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 43 } }, "expression": { "type": "UpdateExpression", "start": 1764, "end": 1786, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 42 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 1764, "end": 1784, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 40 } }, "object": { "type": "ThisExpression", "start": 1764, "end": 1768, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 24 } } }, "property": { "type": "Identifier", "start": 1769, "end": 1784, "loc": { "start": { "line": 56, "column": 25 }, "end": { "line": 56, "column": 40 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false } } }, { "type": "IfStatement", "start": 1808, "end": 2082, "loc": { "start": { "line": 57, "column": 20 }, "end": { "line": 61, "column": 21 } }, "test": { "type": "BinaryExpression", "start": 1812, "end": 1838, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 50 } }, "left": { "type": "MemberExpression", "start": 1812, "end": 1832, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 44 } }, "object": { "type": "ThisExpression", "start": 1812, "end": 1816, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 28 } } }, "property": { "type": "Identifier", "start": 1817, "end": 1832, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 44 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 1835, "end": 1838, "loc": { "start": { "line": 57, "column": 47 }, "end": { "line": 57, "column": 50 } }, "extra": { "rawValue": 300, "raw": "300" }, "value": 300 } }, "consequent": { "type": "BlockStatement", "start": 1840, "end": 1924, "loc": { "start": { "line": 57, "column": 52 }, "end": { "line": 59, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 1866, "end": 1902, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 60 } }, "expression": { "type": "CallExpression", "start": 1866, "end": 1901, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 1866, "end": 1883, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 41 } }, "object": { "type": "MemberExpression", "start": 1866, "end": 1878, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 36 } }, "object": { "type": "Identifier", "start": 1866, "end": 1869, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 27 }, "identifierName": "sub" }, "name": "sub" }, "property": { "type": "Identifier", "start": 1870, "end": 1878, "loc": { "start": { "line": 58, "column": 28 }, "end": { "line": 58, "column": 36 }, "identifierName": "callback" }, "name": "callback" }, "computed": false }, "property": { "type": "Identifier", "start": 1879, "end": 1883, "loc": { "start": { "line": 58, "column": 37 }, "end": { "line": 58, "column": 41 }, "identifierName": "call" }, "name": "call" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1884, "end": 1893, "loc": { "start": { "line": 58, "column": 42 }, "end": { "line": 58, "column": 51 } }, "object": { "type": "Identifier", "start": 1884, "end": 1887, "loc": { "start": { "line": 58, "column": 42 }, "end": { "line": 58, "column": 45 }, "identifierName": "sub" }, "name": "sub" }, "property": { "type": "Identifier", "start": 1888, "end": 1893, "loc": { "start": { "line": 58, "column": 46 }, "end": { "line": 58, "column": 51 }, "identifierName": "scope" }, "name": "scope" }, "computed": false }, { "type": "Identifier", "start": 1895, "end": 1900, "loc": { "start": { "line": 58, "column": 53 }, "end": { "line": 58, "column": 58 }, "identifierName": "value" }, "name": "value" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1930, "end": 2082, "loc": { "start": { "line": 59, "column": 27 }, "end": { "line": 61, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 1956, "end": 2060, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 128 } }, "expression": { "type": "CallExpression", "start": 1956, "end": 2059, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 127 } }, "callee": { "type": "MemberExpression", "start": 1956, "end": 1966, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 34 } }, "object": { "type": "ThisExpression", "start": 1956, "end": 1960, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 28 } } }, "property": { "type": "Identifier", "start": 1961, "end": 1966, "loc": { "start": { "line": 60, "column": 29 }, "end": { "line": 60, "column": 34 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 1967, "end": 2058, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 126 } }, "left": { "type": "BinaryExpression", "start": 1967, "end": 2030, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 98 } }, "left": { "type": "StringLiteral", "start": 1967, "end": 2022, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 90 } }, "extra": { "rawValue": "fire: potential stack overflow from recursive event '", "raw": "\"fire: potential stack overflow from recursive event '\"" }, "value": "fire: potential stack overflow from recursive event '" }, "operator": "+", "right": { "type": "Identifier", "start": 2025, "end": 2030, "loc": { "start": { "line": 60, "column": 93 }, "end": { "line": 60, "column": 98 }, "identifierName": "event" }, "name": "event" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 2033, "end": 2058, "loc": { "start": { "line": 60, "column": 101 }, "end": { "line": 60, "column": 126 } }, "extra": { "rawValue": "' - dropping this event", "raw": "\"' - dropping this event\"" }, "value": "' - dropping this event" } } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 2103, "end": 2126, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 43 } }, "expression": { "type": "UpdateExpression", "start": 2103, "end": 2125, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 42 } }, "operator": "--", "prefix": false, "argument": { "type": "MemberExpression", "start": 2103, "end": 2123, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 40 } }, "object": { "type": "ThisExpression", "start": 2103, "end": 2107, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 24 } } }, "property": { "type": "Identifier", "start": 2108, "end": 2123, "loc": { "start": { "line": 62, "column": 25 }, "end": { "line": 62, "column": 40 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Notify subscriptions", "start": 1591, "end": 1614, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 43 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Fires an event on this Controller.\n *\n * @protected\n *\n * @param {String} event The event type name\n * @param {Object} value The event parameters\n * @param {Boolean} [forget=false] When true, does not retain for subsequent subscribers\n ", "start": 941, "end": 1218, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 39, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Subscribes to an event on this Controller.\n *\n * The callback is be called with this component as scope.\n *\n * @param {String} event The event\n * @param {Function} callback Called fired on the event\n * @param {Object} [scope=this] Scope for the callback\n * @return {String} Handle to the subscription, which may be used to unsubscribe with {@link #off}.\n ", "start": 2180, "end": 2580, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 77, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2585, "end": 3518, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 107, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2585, "end": 2587, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 6 }, "identifierName": "on" }, "name": "on", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2588, "end": 2593, "loc": { "start": { "line": 78, "column": 7 }, "end": { "line": 78, "column": 12 }, "identifierName": "event" }, "name": "event" }, { "type": "Identifier", "start": 2595, "end": 2603, "loc": { "start": { "line": 78, "column": 14 }, "end": { "line": 78, "column": 22 }, "identifierName": "callback" }, "name": "callback" }, { "type": "Identifier", "start": 2605, "end": 2610, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 78, "column": 29 }, "identifierName": "scope" }, "name": "scope" } ], "body": { "type": "BlockStatement", "start": 2612, "end": 3518, "loc": { "start": { "line": 78, "column": 31 }, "end": { "line": 107, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 2622, "end": 2683, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 81, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 2626, "end": 2639, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2627, "end": 2639, "loc": { "start": { "line": 79, "column": 13 }, "end": { "line": 79, "column": 25 } }, "object": { "type": "ThisExpression", "start": 2627, "end": 2631, "loc": { "start": { "line": 79, "column": 13 }, "end": { "line": 79, "column": 17 } } }, "property": { "type": "Identifier", "start": 2632, "end": 2639, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 25 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2641, "end": 2683, "loc": { "start": { "line": 79, "column": 27 }, "end": { "line": 81, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2655, "end": 2673, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 2655, "end": 2672, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2655, "end": 2667, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2655, "end": 2659, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 16 } } }, "property": { "type": "Identifier", "start": 2660, "end": 2667, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 24 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 2670, "end": 2672, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 29 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2692, "end": 2791, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 84, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 2696, "end": 2711, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 27 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2697, "end": 2711, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2697, "end": 2701, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 17 } } }, "property": { "type": "Identifier", "start": 2702, "end": 2711, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 27 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2713, "end": 2791, "loc": { "start": { "line": 82, "column": 29 }, "end": { "line": 84, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2727, "end": 2754, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 2727, "end": 2753, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2727, "end": 2741, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 26 } }, "object": { "type": "ThisExpression", "start": 2727, "end": 2731, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 16 } } }, "property": { "type": "Identifier", "start": 2732, "end": 2741, "loc": { "start": { "line": 83, "column": 17 }, "end": { "line": 83, "column": 26 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "right": { "type": "NewExpression", "start": 2744, "end": 2753, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 38 } }, "callee": { "type": "Identifier", "start": 2748, "end": 2751, "loc": { "start": { "line": 83, "column": 33 }, "end": { "line": 83, "column": 36 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] } }, "trailingComments": [ { "type": "CommentLine", "value": " Subscription subId pool", "start": 2755, "end": 2781, "loc": { "start": { "line": 83, "column": 40 }, "end": { "line": 83, "column": 66 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2800, "end": 2871, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 87, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 2804, "end": 2822, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2805, "end": 2822, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 30 } }, "object": { "type": "ThisExpression", "start": 2805, "end": 2809, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 17 } } }, "property": { "type": "Identifier", "start": 2810, "end": 2822, "loc": { "start": { "line": 85, "column": 18 }, "end": { "line": 85, "column": 30 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2824, "end": 2871, "loc": { "start": { "line": 85, "column": 32 }, "end": { "line": 87, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2838, "end": 2861, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 2838, "end": 2860, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2838, "end": 2855, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 29 } }, "object": { "type": "ThisExpression", "start": 2838, "end": 2842, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 16 } } }, "property": { "type": "Identifier", "start": 2843, "end": 2855, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 29 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 2858, "end": 2860, "loc": { "start": { "line": 86, "column": 32 }, "end": { "line": 86, "column": 34 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2880, "end": 2947, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 90, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 2884, "end": 2900, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 28 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2885, "end": 2900, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 28 } }, "object": { "type": "ThisExpression", "start": 2885, "end": 2889, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 17 } } }, "property": { "type": "Identifier", "start": 2890, "end": 2900, "loc": { "start": { "line": 88, "column": 18 }, "end": { "line": 88, "column": 28 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2902, "end": 2947, "loc": { "start": { "line": 88, "column": 30 }, "end": { "line": 90, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2916, "end": 2937, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 2916, "end": 2936, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2916, "end": 2931, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2916, "end": 2920, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 16 } } }, "property": { "type": "Identifier", "start": 2921, "end": 2931, "loc": { "start": { "line": 89, "column": 17 }, "end": { "line": 89, "column": 27 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 2934, "end": 2936, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 32 } }, "properties": [] } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 2956, "end": 2990, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2960, "end": 2989, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 41 } }, "id": { "type": "Identifier", "start": 2960, "end": 2964, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 16 }, "identifierName": "subs" }, "name": "subs" }, "init": { "type": "MemberExpression", "start": 2967, "end": 2989, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 41 } }, "object": { "type": "MemberExpression", "start": 2967, "end": 2982, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 34 } }, "object": { "type": "ThisExpression", "start": 2967, "end": 2971, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 23 } } }, "property": { "type": "Identifier", "start": 2972, "end": 2982, "loc": { "start": { "line": 91, "column": 24 }, "end": { "line": 91, "column": 34 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "property": { "type": "Identifier", "start": 2983, "end": 2988, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 91, "column": 40 }, "identifierName": "event" }, "name": "event" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 2999, "end": 3087, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 95, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 3003, "end": 3008, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 3004, "end": 3008, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 17 }, "identifierName": "subs" }, "name": "subs" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 3010, "end": 3087, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 95, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3024, "end": 3034, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 3024, "end": 3033, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 21 } }, "operator": "=", "left": { "type": "Identifier", "start": 3024, "end": 3028, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 16 }, "identifierName": "subs" }, "name": "subs" }, "right": { "type": "ObjectExpression", "start": 3031, "end": 3033, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 21 } }, "properties": [] } } }, { "type": "ExpressionStatement", "start": 3047, "end": 3077, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 3047, "end": 3076, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3047, "end": 3069, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 34 } }, "object": { "type": "MemberExpression", "start": 3047, "end": 3062, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 27 } }, "object": { "type": "ThisExpression", "start": 3047, "end": 3051, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 16 } } }, "property": { "type": "Identifier", "start": 3052, "end": 3062, "loc": { "start": { "line": 94, "column": 17 }, "end": { "line": 94, "column": 27 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "property": { "type": "Identifier", "start": 3063, "end": 3068, "loc": { "start": { "line": 94, "column": 28 }, "end": { "line": 94, "column": 33 }, "identifierName": "event" }, "name": "event" }, "computed": true }, "right": { "type": "Identifier", "start": 3072, "end": 3076, "loc": { "start": { "line": 94, "column": 37 }, "end": { "line": 94, "column": 41 }, "identifierName": "subs" }, "name": "subs" } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3096, "end": 3135, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3102, "end": 3134, "loc": { "start": { "line": 96, "column": 14 }, "end": { "line": 96, "column": 46 } }, "id": { "type": "Identifier", "start": 3102, "end": 3107, "loc": { "start": { "line": 96, "column": 14 }, "end": { "line": 96, "column": 19 }, "identifierName": "subId" }, "name": "subId" }, "init": { "type": "CallExpression", "start": 3110, "end": 3134, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 3110, "end": 3132, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 44 } }, "object": { "type": "MemberExpression", "start": 3110, "end": 3124, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 36 } }, "object": { "type": "ThisExpression", "start": 3110, "end": 3114, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 26 } } }, "property": { "type": "Identifier", "start": 3115, "end": 3124, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 36 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "property": { "type": "Identifier", "start": 3125, "end": 3132, "loc": { "start": { "line": 96, "column": 37 }, "end": { "line": 96, "column": 44 }, "identifierName": "addItem" }, "name": "addItem" }, "computed": false }, "arguments": [] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Create unique subId", "start": 3136, "end": 3158, "loc": { "start": { "line": 96, "column": 48 }, "end": { "line": 96, "column": 70 } } } ] }, { "type": "ExpressionStatement", "start": 3167, "end": 3258, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 100, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 3167, "end": 3257, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 100, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3167, "end": 3178, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 19 } }, "object": { "type": "Identifier", "start": 3167, "end": 3171, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 12 }, "identifierName": "subs" }, "name": "subs", "leadingComments": null }, "property": { "type": "Identifier", "start": 3172, "end": 3177, "loc": { "start": { "line": 97, "column": 13 }, "end": { "line": 97, "column": 18 }, "identifierName": "subId" }, "name": "subId" }, "computed": true, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 3181, "end": 3257, "loc": { "start": { "line": 97, "column": 22 }, "end": { "line": 100, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 3195, "end": 3213, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3195, "end": 3203, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 20 }, "identifierName": "callback" }, "name": "callback" }, "value": { "type": "Identifier", "start": 3205, "end": 3213, "loc": { "start": { "line": 98, "column": 22 }, "end": { "line": 98, "column": 30 }, "identifierName": "callback" }, "name": "callback" } }, { "type": "ObjectProperty", "start": 3227, "end": 3247, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3227, "end": 3232, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 17 }, "identifierName": "scope" }, "name": "scope" }, "value": { "type": "LogicalExpression", "start": 3234, "end": 3247, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 32 } }, "left": { "type": "Identifier", "start": 3234, "end": 3239, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 24 }, "identifierName": "scope" }, "name": "scope" }, "operator": "||", "right": { "type": "ThisExpression", "start": 3243, "end": 3247, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 32 } } } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Create unique subId", "start": 3136, "end": 3158, "loc": { "start": { "line": 96, "column": 48 }, "end": { "line": 96, "column": 70 } } } ] }, { "type": "ExpressionStatement", "start": 3267, "end": 3300, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 3267, "end": 3299, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3267, "end": 3291, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 32 } }, "object": { "type": "MemberExpression", "start": 3267, "end": 3284, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 25 } }, "object": { "type": "ThisExpression", "start": 3267, "end": 3271, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 12 } } }, "property": { "type": "Identifier", "start": 3272, "end": 3284, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 25 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "property": { "type": "Identifier", "start": 3285, "end": 3290, "loc": { "start": { "line": 101, "column": 26 }, "end": { "line": 101, "column": 31 }, "identifierName": "subId" }, "name": "subId" }, "computed": true }, "right": { "type": "Identifier", "start": 3294, "end": 3299, "loc": { "start": { "line": 101, "column": 35 }, "end": { "line": 101, "column": 40 }, "identifierName": "event" }, "name": "event" } } }, { "type": "VariableDeclaration", "start": 3309, "end": 3343, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3315, "end": 3342, "loc": { "start": { "line": 102, "column": 14 }, "end": { "line": 102, "column": 41 } }, "id": { "type": "Identifier", "start": 3315, "end": 3320, "loc": { "start": { "line": 102, "column": 14 }, "end": { "line": 102, "column": 19 }, "identifierName": "value" }, "name": "value" }, "init": { "type": "MemberExpression", "start": 3323, "end": 3342, "loc": { "start": { "line": 102, "column": 22 }, "end": { "line": 102, "column": 41 } }, "object": { "type": "MemberExpression", "start": 3323, "end": 3335, "loc": { "start": { "line": 102, "column": 22 }, "end": { "line": 102, "column": 34 } }, "object": { "type": "ThisExpression", "start": 3323, "end": 3327, "loc": { "start": { "line": 102, "column": 22 }, "end": { "line": 102, "column": 26 } } }, "property": { "type": "Identifier", "start": 3328, "end": 3335, "loc": { "start": { "line": 102, "column": 27 }, "end": { "line": 102, "column": 34 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "property": { "type": "Identifier", "start": 3336, "end": 3341, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 40 }, "identifierName": "event" }, "name": "event" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 3352, "end": 3490, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 105, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3356, "end": 3375, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 31 } }, "left": { "type": "Identifier", "start": 3356, "end": 3361, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 17 }, "identifierName": "value" }, "name": "value" }, "operator": "!==", "right": { "type": "Identifier", "start": 3366, "end": 3375, "loc": { "start": { "line": 103, "column": 22 }, "end": { "line": 103, "column": 31 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 3377, "end": 3490, "loc": { "start": { "line": 103, "column": 33 }, "end": { "line": 105, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3444, "end": 3480, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 48 } }, "expression": { "type": "CallExpression", "start": 3444, "end": 3479, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 3444, "end": 3457, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 25 } }, "object": { "type": "Identifier", "start": 3444, "end": 3452, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 20 }, "identifierName": "callback" }, "name": "callback", "leadingComments": null }, "property": { "type": "Identifier", "start": 3453, "end": 3457, "loc": { "start": { "line": 104, "column": 21 }, "end": { "line": 104, "column": 25 }, "identifierName": "call" }, "name": "call" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "LogicalExpression", "start": 3458, "end": 3471, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 39 } }, "left": { "type": "Identifier", "start": 3458, "end": 3463, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 31 }, "identifierName": "scope" }, "name": "scope" }, "operator": "||", "right": { "type": "ThisExpression", "start": 3467, "end": 3471, "loc": { "start": { "line": 104, "column": 35 }, "end": { "line": 104, "column": 39 } } } }, { "type": "Identifier", "start": 3473, "end": 3478, "loc": { "start": { "line": 104, "column": 41 }, "end": { "line": 104, "column": 46 }, "identifierName": "value" }, "name": "value" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " A publication exists, notify callback immediately", "start": 3379, "end": 3431, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 87 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 3499, "end": 3512, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 21 } }, "argument": { "type": "Identifier", "start": 3506, "end": 3511, "loc": { "start": { "line": 106, "column": 15 }, "end": { "line": 106, "column": 20 }, "identifierName": "subId" }, "name": "subId" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Subscribes to an event on this Controller.\n *\n * The callback is be called with this component as scope.\n *\n * @param {String} event The event\n * @param {Function} callback Called fired on the event\n * @param {Object} [scope=this] Scope for the callback\n * @return {String} Handle to the subscription, which may be used to unsubscribe with {@link #off}.\n ", "start": 2180, "end": 2580, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 77, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Cancels an event subscription that was previously made with {@link Controller#on} or {@link Controller#once}.\n *\n * @param {String} subId Subscription ID\n ", "start": 3524, "end": 3704, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 113, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3709, "end": 4184, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 130, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3709, "end": 3712, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 114, "column": 7 }, "identifierName": "off" }, "name": "off", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3713, "end": 3718, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 13 }, "identifierName": "subId" }, "name": "subId" } ], "body": { "type": "BlockStatement", "start": 3720, "end": 4184, "loc": { "start": { "line": 114, "column": 15 }, "end": { "line": 130, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 3730, "end": 3804, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 117, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 3734, "end": 3771, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 49 } }, "left": { "type": "BinaryExpression", "start": 3734, "end": 3753, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 31 } }, "left": { "type": "Identifier", "start": 3734, "end": 3739, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 17 }, "identifierName": "subId" }, "name": "subId" }, "operator": "===", "right": { "type": "Identifier", "start": 3744, "end": 3753, "loc": { "start": { "line": 115, "column": 22 }, "end": { "line": 115, "column": 31 }, "identifierName": "undefined" }, "name": "undefined" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3757, "end": 3771, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "column": 49 } }, "left": { "type": "Identifier", "start": 3757, "end": 3762, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "column": 40 }, "identifierName": "subId" }, "name": "subId" }, "operator": "===", "right": { "type": "NullLiteral", "start": 3767, "end": 3771, "loc": { "start": { "line": 115, "column": 45 }, "end": { "line": 115, "column": 49 } } } } }, "consequent": { "type": "BlockStatement", "start": 3773, "end": 3804, "loc": { "start": { "line": 115, "column": 51 }, "end": { "line": 117, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3787, "end": 3794, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3813, "end": 3868, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 120, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 3817, "end": 3835, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 3818, "end": 3835, "loc": { "start": { "line": 118, "column": 13 }, "end": { "line": 118, "column": 30 } }, "object": { "type": "ThisExpression", "start": 3818, "end": 3822, "loc": { "start": { "line": 118, "column": 13 }, "end": { "line": 118, "column": 17 } } }, "property": { "type": "Identifier", "start": 3823, "end": 3835, "loc": { "start": { "line": 118, "column": 18 }, "end": { "line": 118, "column": 30 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 3837, "end": 3868, "loc": { "start": { "line": 118, "column": 32 }, "end": { "line": 120, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3851, "end": 3858, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3877, "end": 3916, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3883, "end": 3915, "loc": { "start": { "line": 121, "column": 14 }, "end": { "line": 121, "column": 46 } }, "id": { "type": "Identifier", "start": 3883, "end": 3888, "loc": { "start": { "line": 121, "column": 14 }, "end": { "line": 121, "column": 19 }, "identifierName": "event" }, "name": "event" }, "init": { "type": "MemberExpression", "start": 3891, "end": 3915, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 46 } }, "object": { "type": "MemberExpression", "start": 3891, "end": 3908, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 39 } }, "object": { "type": "ThisExpression", "start": 3891, "end": 3895, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 26 } } }, "property": { "type": "Identifier", "start": 3896, "end": 3908, "loc": { "start": { "line": 121, "column": 27 }, "end": { "line": 121, "column": 39 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "property": { "type": "Identifier", "start": 3909, "end": 3914, "loc": { "start": { "line": 121, "column": 40 }, "end": { "line": 121, "column": 45 }, "identifierName": "subId" }, "name": "subId" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 3925, "end": 4178, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 129, "column": 9 } }, "test": { "type": "Identifier", "start": 3929, "end": 3934, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 17 }, "identifierName": "event" }, "name": "event" }, "consequent": { "type": "BlockStatement", "start": 3936, "end": 4178, "loc": { "start": { "line": 122, "column": 19 }, "end": { "line": 129, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3950, "end": 3982, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 44 } }, "expression": { "type": "UnaryExpression", "start": 3950, "end": 3981, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 43 } }, "operator": "delete", "prefix": true, "argument": { "type": "MemberExpression", "start": 3957, "end": 3981, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 43 } }, "object": { "type": "MemberExpression", "start": 3957, "end": 3974, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 36 } }, "object": { "type": "ThisExpression", "start": 3957, "end": 3961, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 23 } } }, "property": { "type": "Identifier", "start": 3962, "end": 3974, "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 36 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "property": { "type": "Identifier", "start": 3975, "end": 3980, "loc": { "start": { "line": 123, "column": 37 }, "end": { "line": 123, "column": 42 }, "identifierName": "subId" }, "name": "subId" }, "computed": true }, "extra": { "parenthesizedArgument": false } } }, { "type": "VariableDeclaration", "start": 3995, "end": 4031, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4001, "end": 4030, "loc": { "start": { "line": 124, "column": 18 }, "end": { "line": 124, "column": 47 } }, "id": { "type": "Identifier", "start": 4001, "end": 4005, "loc": { "start": { "line": 124, "column": 18 }, "end": { "line": 124, "column": 22 }, "identifierName": "subs" }, "name": "subs" }, "init": { "type": "MemberExpression", "start": 4008, "end": 4030, "loc": { "start": { "line": 124, "column": 25 }, "end": { "line": 124, "column": 47 } }, "object": { "type": "MemberExpression", "start": 4008, "end": 4023, "loc": { "start": { "line": 124, "column": 25 }, "end": { "line": 124, "column": 40 } }, "object": { "type": "ThisExpression", "start": 4008, "end": 4012, "loc": { "start": { "line": 124, "column": 25 }, "end": { "line": 124, "column": 29 } } }, "property": { "type": "Identifier", "start": 4013, "end": 4023, "loc": { "start": { "line": 124, "column": 30 }, "end": { "line": 124, "column": 40 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "property": { "type": "Identifier", "start": 4024, "end": 4029, "loc": { "start": { "line": 124, "column": 41 }, "end": { "line": 124, "column": 46 }, "identifierName": "event" }, "name": "event" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 4044, "end": 4105, "loc": { "start": { "line": 125, "column": 12 }, "end": { "line": 127, "column": 13 } }, "test": { "type": "Identifier", "start": 4048, "end": 4052, "loc": { "start": { "line": 125, "column": 16 }, "end": { "line": 125, "column": 20 }, "identifierName": "subs" }, "name": "subs" }, "consequent": { "type": "BlockStatement", "start": 4054, "end": 4105, "loc": { "start": { "line": 125, "column": 22 }, "end": { "line": 127, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 4072, "end": 4091, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 35 } }, "expression": { "type": "UnaryExpression", "start": 4072, "end": 4090, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 34 } }, "operator": "delete", "prefix": true, "argument": { "type": "MemberExpression", "start": 4079, "end": 4090, "loc": { "start": { "line": 126, "column": 23 }, "end": { "line": 126, "column": 34 } }, "object": { "type": "Identifier", "start": 4079, "end": 4083, "loc": { "start": { "line": 126, "column": 23 }, "end": { "line": 126, "column": 27 }, "identifierName": "subs" }, "name": "subs" }, "property": { "type": "Identifier", "start": 4084, "end": 4089, "loc": { "start": { "line": 126, "column": 28 }, "end": { "line": 126, "column": 33 }, "identifierName": "subId" }, "name": "subId" }, "computed": true }, "extra": { "parenthesizedArgument": false } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 4118, "end": 4151, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 45 } }, "expression": { "type": "CallExpression", "start": 4118, "end": 4150, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4118, "end": 4143, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 37 } }, "object": { "type": "MemberExpression", "start": 4118, "end": 4132, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4118, "end": 4122, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 16 } } }, "property": { "type": "Identifier", "start": 4123, "end": 4132, "loc": { "start": { "line": 128, "column": 17 }, "end": { "line": 128, "column": 26 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "property": { "type": "Identifier", "start": 4133, "end": 4143, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 37 }, "identifierName": "removeItem" }, "name": "removeItem" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4144, "end": 4149, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "column": 43 }, "identifierName": "subId" }, "name": "subId" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Release subId", "start": 4152, "end": 4168, "loc": { "start": { "line": 128, "column": 46 }, "end": { "line": 128, "column": 62 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Cancels an event subscription that was previously made with {@link Controller#on} or {@link Controller#once}.\n *\n * @param {String} subId Subscription ID\n ", "start": 3524, "end": 3704, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 113, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Subscribes to the next occurrence of the given event, then un-subscribes as soon as the event is handled.\n *\n * This is equivalent to calling {@link Controller#on}, and then calling {@link Controller#off} inside the callback function.\n *\n * @param {String} event Data event to listen to\n * @param {Function} callback Called when fresh data is available at the event\n * @param {Object} [scope=this] Scope for the callback\n ", "start": 4190, "end": 4653, "loc": { "start": { "line": 132, "column": 4 }, "end": { "line": 140, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4658, "end": 4910, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 149, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4658, "end": 4662, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 8 }, "identifierName": "once" }, "name": "once", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4663, "end": 4668, "loc": { "start": { "line": 141, "column": 9 }, "end": { "line": 141, "column": 14 }, "identifierName": "event" }, "name": "event" }, { "type": "Identifier", "start": 4670, "end": 4678, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 24 }, "identifierName": "callback" }, "name": "callback" }, { "type": "Identifier", "start": 4680, "end": 4685, "loc": { "start": { "line": 141, "column": 26 }, "end": { "line": 141, "column": 31 }, "identifierName": "scope" }, "name": "scope" } ], "body": { "type": "BlockStatement", "start": 4687, "end": 4910, "loc": { "start": { "line": 141, "column": 33 }, "end": { "line": 149, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 4697, "end": 4715, "loc": { "start": { "line": 142, "column": 8 }, "end": { "line": 142, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4703, "end": 4714, "loc": { "start": { "line": 142, "column": 14 }, "end": { "line": 142, "column": 25 } }, "id": { "type": "Identifier", "start": 4703, "end": 4707, "loc": { "start": { "line": 142, "column": 14 }, "end": { "line": 142, "column": 18 }, "identifierName": "self" }, "name": "self" }, "init": { "type": "ThisExpression", "start": 4710, "end": 4714, "loc": { "start": { "line": 142, "column": 21 }, "end": { "line": 142, "column": 25 } } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4724, "end": 4904, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 148, "column": 19 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4730, "end": 4903, "loc": { "start": { "line": 143, "column": 14 }, "end": { "line": 148, "column": 18 } }, "id": { "type": "Identifier", "start": 4730, "end": 4735, "loc": { "start": { "line": 143, "column": 14 }, "end": { "line": 143, "column": 19 }, "identifierName": "subId" }, "name": "subId" }, "init": { "type": "CallExpression", "start": 4738, "end": 4903, "loc": { "start": { "line": 143, "column": 22 }, "end": { "line": 148, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 4738, "end": 4745, "loc": { "start": { "line": 143, "column": 22 }, "end": { "line": 143, "column": 29 } }, "object": { "type": "ThisExpression", "start": 4738, "end": 4742, "loc": { "start": { "line": 143, "column": 22 }, "end": { "line": 143, "column": 26 } } }, "property": { "type": "Identifier", "start": 4743, "end": 4745, "loc": { "start": { "line": 143, "column": 27 }, "end": { "line": 143, "column": 29 }, "identifierName": "on" }, "name": "on" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4746, "end": 4751, "loc": { "start": { "line": 143, "column": 30 }, "end": { "line": 143, "column": 35 }, "identifierName": "event" }, "name": "event" }, { "type": "FunctionExpression", "start": 4765, "end": 4883, "loc": { "start": { "line": 144, "column": 12 }, "end": { "line": 147, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4775, "end": 4780, "loc": { "start": { "line": 144, "column": 22 }, "end": { "line": 144, "column": 27 }, "identifierName": "value" }, "name": "value" } ], "body": { "type": "BlockStatement", "start": 4782, "end": 4883, "loc": { "start": { "line": 144, "column": 29 }, "end": { "line": 147, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 4800, "end": 4816, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 32 } }, "expression": { "type": "CallExpression", "start": 4800, "end": 4815, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 4800, "end": 4808, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 24 } }, "object": { "type": "Identifier", "start": 4800, "end": 4804, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 20 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4805, "end": 4808, "loc": { "start": { "line": 145, "column": 21 }, "end": { "line": 145, "column": 24 }, "identifierName": "off" }, "name": "off" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4809, "end": 4814, "loc": { "start": { "line": 145, "column": 25 }, "end": { "line": 145, "column": 30 }, "identifierName": "subId" }, "name": "subId" } ] } }, { "type": "ExpressionStatement", "start": 4833, "end": 4869, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 52 } }, "expression": { "type": "CallExpression", "start": 4833, "end": 4868, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 4833, "end": 4846, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 29 } }, "object": { "type": "Identifier", "start": 4833, "end": 4841, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 24 }, "identifierName": "callback" }, "name": "callback" }, "property": { "type": "Identifier", "start": 4842, "end": 4846, "loc": { "start": { "line": 146, "column": 25 }, "end": { "line": 146, "column": 29 }, "identifierName": "call" }, "name": "call" }, "computed": false }, "arguments": [ { "type": "LogicalExpression", "start": 4847, "end": 4860, "loc": { "start": { "line": 146, "column": 30 }, "end": { "line": 146, "column": 43 } }, "left": { "type": "Identifier", "start": 4847, "end": 4852, "loc": { "start": { "line": 146, "column": 30 }, "end": { "line": 146, "column": 35 }, "identifierName": "scope" }, "name": "scope" }, "operator": "||", "right": { "type": "ThisExpression", "start": 4856, "end": 4860, "loc": { "start": { "line": 146, "column": 39 }, "end": { "line": 146, "column": 43 } } } }, { "type": "Identifier", "start": 4862, "end": 4867, "loc": { "start": { "line": 146, "column": 45 }, "end": { "line": 146, "column": 50 }, "identifierName": "value" }, "name": "value" } ] } } ], "directives": [] } }, { "type": "Identifier", "start": 4897, "end": 4902, "loc": { "start": { "line": 148, "column": 12 }, "end": { "line": 148, "column": 17 }, "identifierName": "scope" }, "name": "scope" } ] } } ], "kind": "const" } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Subscribes to the next occurrence of the given event, then un-subscribes as soon as the event is handled.\n *\n * This is equivalent to calling {@link Controller#on}, and then calling {@link Controller#off} inside the callback function.\n *\n * @param {String} event Data event to listen to\n * @param {Function} callback Called when fresh data is available at the event\n * @param {Object} [scope=this] Scope for the callback\n ", "start": 4190, "end": 4653, "loc": { "start": { "line": 132, "column": 4 }, "end": { "line": 140, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a console debugging message for this Controller.\n *\n * The console message will have this format: *````[LOG] [ : ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 4916, "end": 5187, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 159, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5192, "end": 5287, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 163, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5192, "end": 5195, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 160, "column": 7 }, "identifierName": "log" }, "name": "log", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5196, "end": 5203, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 15 }, "identifierName": "message" }, "name": "message" } ], "body": { "type": "BlockStatement", "start": 5205, "end": 5287, "loc": { "start": { "line": 160, "column": 17 }, "end": { "line": 163, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5215, "end": 5244, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 5215, "end": 5243, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 5215, "end": 5222, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 15 }, "identifierName": "message" }, "name": "message" }, "right": { "type": "BinaryExpression", "start": 5225, "end": 5243, "loc": { "start": { "line": 161, "column": 18 }, "end": { "line": 161, "column": 36 } }, "left": { "type": "StringLiteral", "start": 5225, "end": 5233, "loc": { "start": { "line": 161, "column": 18 }, "end": { "line": 161, "column": 26 } }, "extra": { "rawValue": "[LOG] ", "raw": "\"[LOG] \"" }, "value": "[LOG] " }, "operator": "+", "right": { "type": "Identifier", "start": 5236, "end": 5243, "loc": { "start": { "line": 161, "column": 29 }, "end": { "line": 161, "column": 36 }, "identifierName": "message" }, "name": "message" } } } }, { "type": "ExpressionStatement", "start": 5253, "end": 5281, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 36 } }, "expression": { "type": "CallExpression", "start": 5253, "end": 5280, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 5253, "end": 5271, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 26 } }, "object": { "type": "MemberExpression", "start": 5253, "end": 5267, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 22 } }, "object": { "type": "Identifier", "start": 5253, "end": 5259, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 5260, "end": 5267, "loc": { "start": { "line": 162, "column": 15 }, "end": { "line": 162, "column": 22 }, "identifierName": "console" }, "name": "console" }, "computed": false }, "property": { "type": "Identifier", "start": 5268, "end": 5271, "loc": { "start": { "line": 162, "column": 23 }, "end": { "line": 162, "column": 26 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5272, "end": 5279, "loc": { "start": { "line": 162, "column": 27 }, "end": { "line": 162, "column": 34 }, "identifierName": "message" }, "name": "message" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a console debugging message for this Controller.\n *\n * The console message will have this format: *````[LOG] [ : ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 4916, "end": 5187, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 159, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a warning for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[WARN] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5293, "end": 5574, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 173, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5579, "end": 5677, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 177, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5579, "end": 5583, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 174, "column": 8 }, "identifierName": "warn" }, "name": "warn", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5584, "end": 5591, "loc": { "start": { "line": 174, "column": 9 }, "end": { "line": 174, "column": 16 }, "identifierName": "message" }, "name": "message" } ], "body": { "type": "BlockStatement", "start": 5593, "end": 5677, "loc": { "start": { "line": 174, "column": 18 }, "end": { "line": 177, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5603, "end": 5633, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 5603, "end": 5632, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", "start": 5603, "end": 5610, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 15 }, "identifierName": "message" }, "name": "message" }, "right": { "type": "BinaryExpression", "start": 5613, "end": 5632, "loc": { "start": { "line": 175, "column": 18 }, "end": { "line": 175, "column": 37 } }, "left": { "type": "StringLiteral", "start": 5613, "end": 5622, "loc": { "start": { "line": 175, "column": 18 }, "end": { "line": 175, "column": 27 } }, "extra": { "rawValue": "[WARN] ", "raw": "\"[WARN] \"" }, "value": "[WARN] " }, "operator": "+", "right": { "type": "Identifier", "start": 5625, "end": 5632, "loc": { "start": { "line": 175, "column": 30 }, "end": { "line": 175, "column": 37 }, "identifierName": "message" }, "name": "message" } } } }, { "type": "ExpressionStatement", "start": 5642, "end": 5671, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 37 } }, "expression": { "type": "CallExpression", "start": 5642, "end": 5670, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 5642, "end": 5661, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 27 } }, "object": { "type": "MemberExpression", "start": 5642, "end": 5656, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 22 } }, "object": { "type": "Identifier", "start": 5642, "end": 5648, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 5649, "end": 5656, "loc": { "start": { "line": 176, "column": 15 }, "end": { "line": 176, "column": 22 }, "identifierName": "console" }, "name": "console" }, "computed": false }, "property": { "type": "Identifier", "start": 5657, "end": 5661, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5662, "end": 5669, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 35 }, "identifierName": "message" }, "name": "message" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a warning for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[WARN] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5293, "end": 5574, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 173, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Logs an error for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[ERROR] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5683, "end": 5964, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 187, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5969, "end": 6070, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 191, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5969, "end": 5974, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 9 }, "identifierName": "error" }, "name": "error", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5975, "end": 5982, "loc": { "start": { "line": 188, "column": 10 }, "end": { "line": 188, "column": 17 }, "identifierName": "message" }, "name": "message" } ], "body": { "type": "BlockStatement", "start": 5984, "end": 6070, "loc": { "start": { "line": 188, "column": 19 }, "end": { "line": 191, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5994, "end": 6025, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 5994, "end": 6024, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", "start": 5994, "end": 6001, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 15 }, "identifierName": "message" }, "name": "message" }, "right": { "type": "BinaryExpression", "start": 6004, "end": 6024, "loc": { "start": { "line": 189, "column": 18 }, "end": { "line": 189, "column": 38 } }, "left": { "type": "StringLiteral", "start": 6004, "end": 6014, "loc": { "start": { "line": 189, "column": 18 }, "end": { "line": 189, "column": 28 } }, "extra": { "rawValue": "[ERROR] ", "raw": "\"[ERROR] \"" }, "value": "[ERROR] " }, "operator": "+", "right": { "type": "Identifier", "start": 6017, "end": 6024, "loc": { "start": { "line": 189, "column": 31 }, "end": { "line": 189, "column": 38 }, "identifierName": "message" }, "name": "message" } } } }, { "type": "ExpressionStatement", "start": 6034, "end": 6064, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 38 } }, "expression": { "type": "CallExpression", "start": 6034, "end": 6063, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 6034, "end": 6054, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 28 } }, "object": { "type": "MemberExpression", "start": 6034, "end": 6048, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 22 } }, "object": { "type": "Identifier", "start": 6034, "end": 6040, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 6041, "end": 6048, "loc": { "start": { "line": 190, "column": 15 }, "end": { "line": 190, "column": 22 }, "identifierName": "console" }, "name": "console" }, "computed": false }, "property": { "type": "Identifier", "start": 6049, "end": 6054, "loc": { "start": { "line": 190, "column": 23 }, "end": { "line": 190, "column": 28 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6055, "end": 6062, "loc": { "start": { "line": 190, "column": 29 }, "end": { "line": 190, "column": 36 }, "identifierName": "message" }, "name": "message" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Logs an error for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[ERROR] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5683, "end": 5964, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 187, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6076, "end": 6769, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 212, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6076, "end": 6092, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 193, "column": 20 }, "identifierName": "_mutexActivation" }, "name": "_mutexActivation" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6093, "end": 6104, "loc": { "start": { "line": 193, "column": 21 }, "end": { "line": 193, "column": 32 }, "identifierName": "controllers" }, "name": "controllers" } ], "body": { "type": "BlockStatement", "start": 6106, "end": 6769, "loc": { "start": { "line": 193, "column": 34 }, "end": { "line": 212, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 6116, "end": 6158, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6122, "end": 6157, "loc": { "start": { "line": 194, "column": 14 }, "end": { "line": 194, "column": 49 } }, "id": { "type": "Identifier", "start": 6122, "end": 6136, "loc": { "start": { "line": 194, "column": 14 }, "end": { "line": 194, "column": 28 }, "identifierName": "numControllers" }, "name": "numControllers" }, "init": { "type": "MemberExpression", "start": 6139, "end": 6157, "loc": { "start": { "line": 194, "column": 31 }, "end": { "line": 194, "column": 49 } }, "object": { "type": "Identifier", "start": 6139, "end": 6150, "loc": { "start": { "line": 194, "column": 31 }, "end": { "line": 194, "column": 42 }, "identifierName": "controllers" }, "name": "controllers" }, "property": { "type": "Identifier", "start": 6151, "end": 6157, "loc": { "start": { "line": 194, "column": 43 }, "end": { "line": 194, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ], "kind": "const" }, { "type": "ForStatement", "start": 6167, "end": 6763, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 211, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 6172, "end": 6181, "loc": { "start": { "line": 195, "column": 13 }, "end": { "line": 195, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6176, "end": 6181, "loc": { "start": { "line": 195, "column": 17 }, "end": { "line": 195, "column": 22 } }, "id": { "type": "Identifier", "start": 6176, "end": 6177, "loc": { "start": { "line": 195, "column": 17 }, "end": { "line": 195, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 6180, "end": 6181, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 6183, "end": 6201, "loc": { "start": { "line": 195, "column": 24 }, "end": { "line": 195, "column": 42 } }, "left": { "type": "Identifier", "start": 6183, "end": 6184, "loc": { "start": { "line": 195, "column": 24 }, "end": { "line": 195, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "Identifier", "start": 6187, "end": 6201, "loc": { "start": { "line": 195, "column": 28 }, "end": { "line": 195, "column": 42 }, "identifierName": "numControllers" }, "name": "numControllers" } }, "update": { "type": "UpdateExpression", "start": 6203, "end": 6206, "loc": { "start": { "line": 195, "column": 44 }, "end": { "line": 195, "column": 47 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 6203, "end": 6204, "loc": { "start": { "line": 195, "column": 44 }, "end": { "line": 195, "column": 45 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 6208, "end": 6763, "loc": { "start": { "line": 195, "column": 49 }, "end": { "line": 211, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 6222, "end": 6256, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6228, "end": 6255, "loc": { "start": { "line": 196, "column": 18 }, "end": { "line": 196, "column": 45 } }, "id": { "type": "Identifier", "start": 6228, "end": 6238, "loc": { "start": { "line": 196, "column": 18 }, "end": { "line": 196, "column": 28 }, "identifierName": "controller" }, "name": "controller" }, "init": { "type": "MemberExpression", "start": 6241, "end": 6255, "loc": { "start": { "line": 196, "column": 31 }, "end": { "line": 196, "column": 45 } }, "object": { "type": "Identifier", "start": 6241, "end": 6252, "loc": { "start": { "line": 196, "column": 31 }, "end": { "line": 196, "column": 42 }, "identifierName": "controllers" }, "name": "controllers" }, "property": { "type": "Identifier", "start": 6253, "end": 6254, "loc": { "start": { "line": 196, "column": 43 }, "end": { "line": 196, "column": 44 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 6269, "end": 6753, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 210, "column": 18 } }, "expression": { "type": "CallExpression", "start": 6269, "end": 6752, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 210, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 6269, "end": 6282, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 25 } }, "object": { "type": "Identifier", "start": 6269, "end": 6279, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 22 }, "identifierName": "controller" }, "name": "controller" }, "property": { "type": "Identifier", "start": 6280, "end": 6282, "loc": { "start": { "line": 197, "column": 23 }, "end": { "line": 197, "column": 25 }, "identifierName": "on" }, "name": "on" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6283, "end": 6291, "loc": { "start": { "line": 197, "column": 26 }, "end": { "line": 197, "column": 34 } }, "extra": { "rawValue": "active", "raw": "\"active\"" }, "value": "active" }, { "type": "CallExpression", "start": 6293, "end": 6751, "loc": { "start": { "line": 197, "column": 36 }, "end": { "line": 210, "column": 16 } }, "callee": { "type": "FunctionExpression", "start": 6294, "end": 6748, "loc": { "start": { "line": 197, "column": 37 }, "end": { "line": 210, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6306, "end": 6748, "loc": { "start": { "line": 197, "column": 49 }, "end": { "line": 210, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 6324, "end": 6337, "loc": { "start": { "line": 198, "column": 16 }, "end": { "line": 198, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6330, "end": 6336, "loc": { "start": { "line": 198, "column": 22 }, "end": { "line": 198, "column": 28 } }, "id": { "type": "Identifier", "start": 6330, "end": 6332, "loc": { "start": { "line": 198, "column": 22 }, "end": { "line": 198, "column": 24 }, "identifierName": "_i" }, "name": "_i" }, "init": { "type": "Identifier", "start": 6335, "end": 6336, "loc": { "start": { "line": 198, "column": 27 }, "end": { "line": 198, "column": 28 }, "identifierName": "i" }, "name": "i" } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 6354, "end": 6734, "loc": { "start": { "line": 199, "column": 16 }, "end": { "line": 209, "column": 18 } }, "argument": { "type": "FunctionExpression", "start": 6361, "end": 6733, "loc": { "start": { "line": 199, "column": 23 }, "end": { "line": 209, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6371, "end": 6377, "loc": { "start": { "line": 199, "column": 33 }, "end": { "line": 199, "column": 39 }, "identifierName": "active" }, "name": "active" } ], "body": { "type": "BlockStatement", "start": 6379, "end": 6733, "loc": { "start": { "line": 199, "column": 41 }, "end": { "line": 209, "column": 17 } }, "body": [ { "type": "IfStatement", "start": 6401, "end": 6469, "loc": { "start": { "line": 200, "column": 20 }, "end": { "line": 202, "column": 21 } }, "test": { "type": "UnaryExpression", "start": 6405, "end": 6412, "loc": { "start": { "line": 200, "column": 24 }, "end": { "line": 200, "column": 31 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6406, "end": 6412, "loc": { "start": { "line": 200, "column": 25 }, "end": { "line": 200, "column": 31 }, "identifierName": "active" }, "name": "active" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 6414, "end": 6469, "loc": { "start": { "line": 200, "column": 33 }, "end": { "line": 202, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 6440, "end": 6447, "loc": { "start": { "line": 201, "column": 24 }, "end": { "line": 201, "column": 31 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ForStatement", "start": 6490, "end": 6715, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 208, "column": 21 } }, "init": { "type": "VariableDeclaration", "start": 6495, "end": 6504, "loc": { "start": { "line": 203, "column": 25 }, "end": { "line": 203, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6499, "end": 6504, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 34 } }, "id": { "type": "Identifier", "start": 6499, "end": 6500, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 30 }, "identifierName": "j" }, "name": "j" }, "init": { "type": "NumericLiteral", "start": 6503, "end": 6504, "loc": { "start": { "line": 203, "column": 33 }, "end": { "line": 203, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 6506, "end": 6524, "loc": { "start": { "line": 203, "column": 36 }, "end": { "line": 203, "column": 54 } }, "left": { "type": "Identifier", "start": 6506, "end": 6507, "loc": { "start": { "line": 203, "column": 36 }, "end": { "line": 203, "column": 37 }, "identifierName": "j" }, "name": "j" }, "operator": "<", "right": { "type": "Identifier", "start": 6510, "end": 6524, "loc": { "start": { "line": 203, "column": 40 }, "end": { "line": 203, "column": 54 }, "identifierName": "numControllers" }, "name": "numControllers" } }, "update": { "type": "UpdateExpression", "start": 6526, "end": 6529, "loc": { "start": { "line": 203, "column": 56 }, "end": { "line": 203, "column": 59 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 6526, "end": 6527, "loc": { "start": { "line": 203, "column": 56 }, "end": { "line": 203, "column": 57 }, "identifierName": "j" }, "name": "j" } }, "body": { "type": "BlockStatement", "start": 6531, "end": 6715, "loc": { "start": { "line": 203, "column": 61 }, "end": { "line": 208, "column": 21 } }, "body": [ { "type": "IfStatement", "start": 6557, "end": 6636, "loc": { "start": { "line": 204, "column": 24 }, "end": { "line": 206, "column": 25 } }, "test": { "type": "BinaryExpression", "start": 6561, "end": 6569, "loc": { "start": { "line": 204, "column": 28 }, "end": { "line": 204, "column": 36 } }, "left": { "type": "Identifier", "start": 6561, "end": 6562, "loc": { "start": { "line": 204, "column": 28 }, "end": { "line": 204, "column": 29 }, "identifierName": "j" }, "name": "j" }, "operator": "===", "right": { "type": "Identifier", "start": 6567, "end": 6569, "loc": { "start": { "line": 204, "column": 34 }, "end": { "line": 204, "column": 36 }, "identifierName": "_i" }, "name": "_i" } }, "consequent": { "type": "BlockStatement", "start": 6571, "end": 6636, "loc": { "start": { "line": 204, "column": 38 }, "end": { "line": 206, "column": 25 } }, "body": [ { "type": "ContinueStatement", "start": 6601, "end": 6610, "loc": { "start": { "line": 205, "column": 28 }, "end": { "line": 205, "column": 37 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 6661, "end": 6693, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 56 } }, "expression": { "type": "CallExpression", "start": 6661, "end": 6692, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6661, "end": 6685, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 48 } }, "object": { "type": "MemberExpression", "start": 6661, "end": 6675, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 38 } }, "object": { "type": "Identifier", "start": 6661, "end": 6672, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 35 }, "identifierName": "controllers" }, "name": "controllers" }, "property": { "type": "Identifier", "start": 6673, "end": 6674, "loc": { "start": { "line": 207, "column": 36 }, "end": { "line": 207, "column": 37 }, "identifierName": "j" }, "name": "j" }, "computed": true }, "property": { "type": "Identifier", "start": 6676, "end": 6685, "loc": { "start": { "line": 207, "column": 39 }, "end": { "line": 207, "column": 48 }, "identifierName": "setActive" }, "name": "setActive" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 6686, "end": 6691, "loc": { "start": { "line": 207, "column": 49 }, "end": { "line": 207, "column": 54 } }, "value": false } ] } } ], "directives": [] } } ], "directives": [] } } } ], "directives": [] }, "extra": { "parenthesized": true, "parenStart": 6293 } }, "arguments": [] } ] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Enables or disables this Controller.\n *\n * Fires an \"enabled\" event on update.\n *\n * @protected\n * @param {boolean} enabled Whether or not to enable.\n ", "start": 6775, "end": 6963, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 221, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6968, "end": 7144, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 228, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6968, "end": 6978, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 14 }, "identifierName": "setEnabled" }, "name": "setEnabled", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6979, "end": 6986, "loc": { "start": { "line": 222, "column": 15 }, "end": { "line": 222, "column": 22 }, "identifierName": "enabled" }, "name": "enabled" } ], "body": { "type": "BlockStatement", "start": 6988, "end": 7144, "loc": { "start": { "line": 222, "column": 24 }, "end": { "line": 228, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 6998, "end": 7060, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 225, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 7002, "end": 7027, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 37 } }, "left": { "type": "MemberExpression", "start": 7002, "end": 7015, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 25 } }, "object": { "type": "ThisExpression", "start": 7002, "end": 7006, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 16 } } }, "property": { "type": "Identifier", "start": 7007, "end": 7015, "loc": { "start": { "line": 223, "column": 17 }, "end": { "line": 223, "column": 25 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 7020, "end": 7027, "loc": { "start": { "line": 223, "column": 30 }, "end": { "line": 223, "column": 37 }, "identifierName": "enabled" }, "name": "enabled" } }, "consequent": { "type": "BlockStatement", "start": 7029, "end": 7060, "loc": { "start": { "line": 223, "column": 39 }, "end": { "line": 225, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 7043, "end": 7050, "loc": { "start": { "line": 224, "column": 12 }, "end": { "line": 224, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 7069, "end": 7093, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 7069, "end": 7092, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7069, "end": 7082, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 21 } }, "object": { "type": "ThisExpression", "start": 7069, "end": 7073, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 12 } } }, "property": { "type": "Identifier", "start": 7074, "end": 7082, "loc": { "start": { "line": 226, "column": 13 }, "end": { "line": 226, "column": 21 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false }, "right": { "type": "Identifier", "start": 7085, "end": 7092, "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "column": 31 }, "identifierName": "enabled" }, "name": "enabled" } } }, { "type": "ExpressionStatement", "start": 7102, "end": 7138, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 44 } }, "expression": { "type": "CallExpression", "start": 7102, "end": 7137, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 7102, "end": 7111, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7102, "end": 7106, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 12 } } }, "property": { "type": "Identifier", "start": 7107, "end": 7111, "loc": { "start": { "line": 227, "column": 13 }, "end": { "line": 227, "column": 17 }, "identifierName": "fire" }, "name": "fire" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7112, "end": 7121, "loc": { "start": { "line": 227, "column": 18 }, "end": { "line": 227, "column": 27 } }, "extra": { "rawValue": "enabled", "raw": "\"enabled\"" }, "value": "enabled" }, { "type": "MemberExpression", "start": 7123, "end": 7136, "loc": { "start": { "line": 227, "column": 29 }, "end": { "line": 227, "column": 42 } }, "object": { "type": "ThisExpression", "start": 7123, "end": 7127, "loc": { "start": { "line": 227, "column": 29 }, "end": { "line": 227, "column": 33 } } }, "property": { "type": "Identifier", "start": 7128, "end": 7136, "loc": { "start": { "line": 227, "column": 34 }, "end": { "line": 227, "column": 42 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Enables or disables this Controller.\n *\n * Fires an \"enabled\" event on update.\n *\n * @protected\n * @param {boolean} enabled Whether or not to enable.\n ", "start": 6775, "end": 6963, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 221, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is enabled.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7150, "end": 7274, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 236, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7279, "end": 7329, "loc": { "start": { "line": 237, "column": 4 }, "end": { "line": 239, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7279, "end": 7289, "loc": { "start": { "line": 237, "column": 4 }, "end": { "line": 237, "column": 14 }, "identifierName": "getEnabled" }, "name": "getEnabled", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7292, "end": 7329, "loc": { "start": { "line": 237, "column": 17 }, "end": { "line": 239, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7302, "end": 7323, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 29 } }, "argument": { "type": "MemberExpression", "start": 7309, "end": 7322, "loc": { "start": { "line": 238, "column": 15 }, "end": { "line": 238, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7309, "end": 7313, "loc": { "start": { "line": 238, "column": 15 }, "end": { "line": 238, "column": 19 } } }, "property": { "type": "Identifier", "start": 7314, "end": 7322, "loc": { "start": { "line": 238, "column": 20 }, "end": { "line": 238, "column": 28 }, "identifierName": "_enabled" }, "name": "_enabled" }, "computed": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is enabled.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7150, "end": 7274, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 236, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Activates or deactivates this Controller.\n *\n * Fires an \"active\" event on update.\n *\n * @protected\n *\n * @param {boolean} active Whether or not to activate.\n ", "start": 7335, "end": 7535, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 249, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7540, "end": 7708, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 256, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7540, "end": 7549, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 250, "column": 13 }, "identifierName": "setActive" }, "name": "setActive", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7550, "end": 7556, "loc": { "start": { "line": 250, "column": 14 }, "end": { "line": 250, "column": 20 }, "identifierName": "active" }, "name": "active" } ], "body": { "type": "BlockStatement", "start": 7558, "end": 7708, "loc": { "start": { "line": 250, "column": 22 }, "end": { "line": 256, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 7568, "end": 7628, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 253, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 7572, "end": 7595, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 35 } }, "left": { "type": "MemberExpression", "start": 7572, "end": 7584, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7572, "end": 7576, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 16 } } }, "property": { "type": "Identifier", "start": 7577, "end": 7584, "loc": { "start": { "line": 251, "column": 17 }, "end": { "line": 251, "column": 24 }, "identifierName": "_active" }, "name": "_active" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 7589, "end": 7595, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 35 }, "identifierName": "active" }, "name": "active" } }, "consequent": { "type": "BlockStatement", "start": 7597, "end": 7628, "loc": { "start": { "line": 251, "column": 37 }, "end": { "line": 253, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 7611, "end": 7618, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 252, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 7637, "end": 7659, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 7637, "end": 7658, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7637, "end": 7649, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7637, "end": 7641, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 12 } } }, "property": { "type": "Identifier", "start": 7642, "end": 7649, "loc": { "start": { "line": 254, "column": 13 }, "end": { "line": 254, "column": 20 }, "identifierName": "_active" }, "name": "_active" }, "computed": false }, "right": { "type": "Identifier", "start": 7652, "end": 7658, "loc": { "start": { "line": 254, "column": 23 }, "end": { "line": 254, "column": 29 }, "identifierName": "active" }, "name": "active" } } }, { "type": "ExpressionStatement", "start": 7668, "end": 7702, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 42 } }, "expression": { "type": "CallExpression", "start": 7668, "end": 7701, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 7668, "end": 7677, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7668, "end": 7672, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 12 } } }, "property": { "type": "Identifier", "start": 7673, "end": 7677, "loc": { "start": { "line": 255, "column": 13 }, "end": { "line": 255, "column": 17 }, "identifierName": "fire" }, "name": "fire" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7678, "end": 7686, "loc": { "start": { "line": 255, "column": 18 }, "end": { "line": 255, "column": 26 } }, "extra": { "rawValue": "active", "raw": "\"active\"" }, "value": "active" }, { "type": "MemberExpression", "start": 7688, "end": 7700, "loc": { "start": { "line": 255, "column": 28 }, "end": { "line": 255, "column": 40 } }, "object": { "type": "ThisExpression", "start": 7688, "end": 7692, "loc": { "start": { "line": 255, "column": 28 }, "end": { "line": 255, "column": 32 } } }, "property": { "type": "Identifier", "start": 7693, "end": 7700, "loc": { "start": { "line": 255, "column": 33 }, "end": { "line": 255, "column": 40 }, "identifierName": "_active" }, "name": "_active" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Activates or deactivates this Controller.\n *\n * Fires an \"active\" event on update.\n *\n * @protected\n *\n * @param {boolean} active Whether or not to activate.\n ", "start": 7335, "end": 7535, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 249, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is active.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7714, "end": 7837, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 264, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7842, "end": 7890, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 267, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7842, "end": 7851, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 13 }, "identifierName": "getActive" }, "name": "getActive", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7854, "end": 7890, "loc": { "start": { "line": 265, "column": 16 }, "end": { "line": 267, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7864, "end": 7884, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 28 } }, "argument": { "type": "MemberExpression", "start": 7871, "end": 7883, "loc": { "start": { "line": 266, "column": 15 }, "end": { "line": 266, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7871, "end": 7875, "loc": { "start": { "line": 266, "column": 15 }, "end": { "line": 266, "column": 19 } } }, "property": { "type": "Identifier", "start": 7876, "end": 7883, "loc": { "start": { "line": 266, "column": 20 }, "end": { "line": 266, "column": 27 }, "identifierName": "_active" }, "name": "_active" }, "computed": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is active.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7714, "end": 7837, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 264, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Destroys this Controller.\n *\n * @protected\n *\n ", "start": 7896, "end": 7972, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 274, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7977, "end": 8522, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 293, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7977, "end": 7984, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 11 }, "identifierName": "destroy" }, "name": "destroy", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7987, "end": 8522, "loc": { "start": { "line": 275, "column": 14 }, "end": { "line": 293, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 7997, "end": 8048, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 278, "column": 9 } }, "test": { "type": "MemberExpression", "start": 8001, "end": 8015, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8001, "end": 8005, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 16 } } }, "property": { "type": "Identifier", "start": 8006, "end": 8015, "loc": { "start": { "line": 276, "column": 17 }, "end": { "line": 276, "column": 26 }, "identifierName": "destroyed" }, "name": "destroyed" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 8017, "end": 8048, "loc": { "start": { "line": 276, "column": 28 }, "end": { "line": 278, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 8031, "end": 8038, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 19 } }, "argument": null } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Fired when this Controller is destroyed.\n * @event destroyed\n ", "start": 8057, "end": 8152, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 282, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 8161, "end": 8207, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 54 } }, "expression": { "type": "CallExpression", "start": 8161, "end": 8206, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 8161, "end": 8170, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8161, "end": 8165, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8166, "end": 8170, "loc": { "start": { "line": 283, "column": 13 }, "end": { "line": 283, "column": 17 }, "identifierName": "fire" }, "name": "fire" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 8171, "end": 8182, "loc": { "start": { "line": 283, "column": 18 }, "end": { "line": 283, "column": 29 } }, "extra": { "rawValue": "destroyed", "raw": "\"destroyed\"" }, "value": "destroyed" }, { "type": "AssignmentExpression", "start": 8184, "end": 8205, "loc": { "start": { "line": 283, "column": 31 }, "end": { "line": 283, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8184, "end": 8198, "loc": { "start": { "line": 283, "column": 31 }, "end": { "line": 283, "column": 45 } }, "object": { "type": "ThisExpression", "start": 8184, "end": 8188, "loc": { "start": { "line": 283, "column": 31 }, "end": { "line": 283, "column": 35 } } }, "property": { "type": "Identifier", "start": 8189, "end": 8198, "loc": { "start": { "line": 283, "column": 36 }, "end": { "line": 283, "column": 45 }, "identifierName": "destroyed" }, "name": "destroyed" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 8201, "end": 8205, "loc": { "start": { "line": 283, "column": 48 }, "end": { "line": 283, "column": 52 } }, "value": true } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Fired when this Controller is destroyed.\n * @event destroyed\n ", "start": 8057, "end": 8152, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 282, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 8216, "end": 8238, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 8216, "end": 8237, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8216, "end": 8230, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 22 } }, "object": { "type": "ThisExpression", "start": 8216, "end": 8220, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 12 } } }, "property": { "type": "Identifier", "start": 8221, "end": 8230, "loc": { "start": { "line": 284, "column": 13 }, "end": { "line": 284, "column": 22 }, "identifierName": "_subIdMap" }, "name": "_subIdMap" }, "computed": false }, "right": { "type": "NullLiteral", "start": 8233, "end": 8237, "loc": { "start": { "line": 284, "column": 25 }, "end": { "line": 284, "column": 29 } } } } }, { "type": "ExpressionStatement", "start": 8247, "end": 8272, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 8247, "end": 8271, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8247, "end": 8264, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 25 } }, "object": { "type": "ThisExpression", "start": 8247, "end": 8251, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 12 } } }, "property": { "type": "Identifier", "start": 8252, "end": 8264, "loc": { "start": { "line": 285, "column": 13 }, "end": { "line": 285, "column": 25 }, "identifierName": "_subIdEvents" }, "name": "_subIdEvents" }, "computed": false }, "right": { "type": "NullLiteral", "start": 8267, "end": 8271, "loc": { "start": { "line": 285, "column": 28 }, "end": { "line": 285, "column": 32 } } } } }, { "type": "ExpressionStatement", "start": 8281, "end": 8304, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 8281, "end": 8303, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8281, "end": 8296, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 23 } }, "object": { "type": "ThisExpression", "start": 8281, "end": 8285, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 12 } } }, "property": { "type": "Identifier", "start": 8286, "end": 8296, "loc": { "start": { "line": 286, "column": 13 }, "end": { "line": 286, "column": 23 }, "identifierName": "_eventSubs" }, "name": "_eventSubs" }, "computed": false }, "right": { "type": "NullLiteral", "start": 8299, "end": 8303, "loc": { "start": { "line": 286, "column": 26 }, "end": { "line": 286, "column": 30 } } } } }, { "type": "ExpressionStatement", "start": 8313, "end": 8333, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 8313, "end": 8332, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8313, "end": 8325, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8313, "end": 8317, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 12 } } }, "property": { "type": "Identifier", "start": 8318, "end": 8325, "loc": { "start": { "line": 287, "column": 13 }, "end": { "line": 287, "column": 20 }, "identifierName": "_events" }, "name": "_events" }, "computed": false }, "right": { "type": "NullLiteral", "start": 8328, "end": 8332, "loc": { "start": { "line": 287, "column": 23 }, "end": { "line": 287, "column": 27 } } } } }, { "type": "ExpressionStatement", "start": 8342, "end": 8367, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 8342, "end": 8366, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8342, "end": 8362, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8342, "end": 8346, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 12 } } }, "property": { "type": "Identifier", "start": 8347, "end": 8362, "loc": { "start": { "line": 288, "column": 13 }, "end": { "line": 288, "column": 28 }, "identifierName": "_eventCallDepth" }, "name": "_eventCallDepth" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 8365, "end": 8366, "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 288, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ForStatement", "start": 8376, "end": 8487, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 291, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 8381, "end": 8419, "loc": { "start": { "line": 289, "column": 13 }, "end": { "line": 289, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8385, "end": 8390, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 22 } }, "id": { "type": "Identifier", "start": 8385, "end": 8386, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 8389, "end": 8390, "loc": { "start": { "line": 289, "column": 21 }, "end": { "line": 289, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "VariableDeclarator", "start": 8392, "end": 8419, "loc": { "start": { "line": 289, "column": 24 }, "end": { "line": 289, "column": 51 } }, "id": { "type": "Identifier", "start": 8392, "end": 8395, "loc": { "start": { "line": 289, "column": 24 }, "end": { "line": 289, "column": 27 }, "identifierName": "len" }, "name": "len" }, "init": { "type": "MemberExpression", "start": 8398, "end": 8419, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8398, "end": 8412, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 44 } }, "object": { "type": "ThisExpression", "start": 8398, "end": 8402, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 34 } } }, "property": { "type": "Identifier", "start": 8403, "end": 8412, "loc": { "start": { "line": 289, "column": 35 }, "end": { "line": 289, "column": 44 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "property": { "type": "Identifier", "start": 8413, "end": 8419, "loc": { "start": { "line": 289, "column": 45 }, "end": { "line": 289, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 8421, "end": 8428, "loc": { "start": { "line": 289, "column": 53 }, "end": { "line": 289, "column": 60 } }, "left": { "type": "Identifier", "start": 8421, "end": 8422, "loc": { "start": { "line": 289, "column": 53 }, "end": { "line": 289, "column": 54 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "Identifier", "start": 8425, "end": 8428, "loc": { "start": { "line": 289, "column": 57 }, "end": { "line": 289, "column": 60 }, "identifierName": "len" }, "name": "len" } }, "update": { "type": "UpdateExpression", "start": 8430, "end": 8433, "loc": { "start": { "line": 289, "column": 62 }, "end": { "line": 289, "column": 65 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 8430, "end": 8431, "loc": { "start": { "line": 289, "column": 62 }, "end": { "line": 289, "column": 63 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 8435, "end": 8487, "loc": { "start": { "line": 289, "column": 67 }, "end": { "line": 291, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 8449, "end": 8477, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 40 } }, "expression": { "type": "CallExpression", "start": 8449, "end": 8476, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 8449, "end": 8474, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8449, "end": 8466, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8449, "end": 8463, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8449, "end": 8453, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 16 } } }, "property": { "type": "Identifier", "start": 8454, "end": 8463, "loc": { "start": { "line": 290, "column": 17 }, "end": { "line": 290, "column": 26 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "property": { "type": "Identifier", "start": 8464, "end": 8465, "loc": { "start": { "line": 290, "column": 27 }, "end": { "line": 290, "column": 28 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 8467, "end": 8474, "loc": { "start": { "line": 290, "column": 30 }, "end": { "line": 290, "column": 37 }, "identifierName": "destroy" }, "name": "destroy" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 8496, "end": 8516, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 8496, "end": 8515, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8496, "end": 8510, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 22 } }, "object": { "type": "ThisExpression", "start": 8496, "end": 8500, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 12 } } }, "property": { "type": "Identifier", "start": 8501, "end": 8510, "loc": { "start": { "line": 292, "column": 13 }, "end": { "line": 292, "column": 22 }, "identifierName": "_children" }, "name": "_children" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 8513, "end": 8515, "loc": { "start": { "line": 292, "column": 25 }, "end": { "line": 292, "column": 27 } }, "elements": [] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Destroys this Controller.\n *\n * @protected\n *\n ", "start": 7896, "end": 7972, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 274, "column": 7 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "* @private ", "start": 31, "end": 46, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 15 } } } ], "__PseudoExport__": false, "trailingComments": [] }, "specifiers": null, "source": null, "leadingComments": null } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "* @private ", "start": 31, "end": 46, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 15 } } }, { "type": "CommentBlock", "value": "*\n * @protected\n ", "start": 71, "end": 100, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 8, "column": 7 } } }, { "type": "CommentLine", "value": " Subscription subId pool", "start": 468, "end": 494, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 57 } } }, { "type": "CommentLine", "value": " Subscription subIds mapped to event names", "start": 529, "end": 573, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 78 } } }, { "type": "CommentLine", "value": " Event names mapped to subscribers", "start": 606, "end": 642, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 68 } } }, { "type": "CommentLine", "value": " Maps names to events", "start": 672, "end": 695, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 52 } } }, { "type": "CommentLine", "value": " Helps us catch stack overflows from recursive events", "start": 730, "end": 785, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 89 } } }, { "type": "CommentLine", "value": " Used by #setEnabled() and #getEnabled()", "start": 817, "end": 859, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 72 } } }, { "type": "CommentLine", "value": " Used by #setActive() and #getActive()", "start": 889, "end": 929, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 69 } } }, { "type": "CommentBlock", "value": "*\n * Fires an event on this Controller.\n *\n * @protected\n *\n * @param {String} event The event type name\n * @param {Object} value The event parameters\n * @param {Boolean} [forget=false] When true, does not retain for subsequent subscribers\n ", "start": 941, "end": 1218, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 39, "column": 7 } } }, { "type": "CommentLine", "value": " Save notification", "start": 1478, "end": 1498, "loc": { "start": { "line": 48, "column": 49 }, "end": { "line": 48, "column": 69 } } }, { "type": "CommentLine", "value": " Notify subscriptions", "start": 1591, "end": 1614, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 43 } } }, { "type": "CommentBlock", "value": "*\n * Subscribes to an event on this Controller.\n *\n * The callback is be called with this component as scope.\n *\n * @param {String} event The event\n * @param {Function} callback Called fired on the event\n * @param {Object} [scope=this] Scope for the callback\n * @return {String} Handle to the subscription, which may be used to unsubscribe with {@link #off}.\n ", "start": 2180, "end": 2580, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 77, "column": 7 } } }, { "type": "CommentLine", "value": " Subscription subId pool", "start": 2755, "end": 2781, "loc": { "start": { "line": 83, "column": 40 }, "end": { "line": 83, "column": 66 } } }, { "type": "CommentLine", "value": " Create unique subId", "start": 3136, "end": 3158, "loc": { "start": { "line": 96, "column": 48 }, "end": { "line": 96, "column": 70 } } }, { "type": "CommentLine", "value": " A publication exists, notify callback immediately", "start": 3379, "end": 3431, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 87 } } }, { "type": "CommentBlock", "value": "*\n * Cancels an event subscription that was previously made with {@link Controller#on} or {@link Controller#once}.\n *\n * @param {String} subId Subscription ID\n ", "start": 3524, "end": 3704, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 113, "column": 7 } } }, { "type": "CommentLine", "value": " Release subId", "start": 4152, "end": 4168, "loc": { "start": { "line": 128, "column": 46 }, "end": { "line": 128, "column": 62 } } }, { "type": "CommentBlock", "value": "*\n * Subscribes to the next occurrence of the given event, then un-subscribes as soon as the event is handled.\n *\n * This is equivalent to calling {@link Controller#on}, and then calling {@link Controller#off} inside the callback function.\n *\n * @param {String} event Data event to listen to\n * @param {Function} callback Called when fresh data is available at the event\n * @param {Object} [scope=this] Scope for the callback\n ", "start": 4190, "end": 4653, "loc": { "start": { "line": 132, "column": 4 }, "end": { "line": 140, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Logs a console debugging message for this Controller.\n *\n * The console message will have this format: *````[LOG] [ : ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 4916, "end": 5187, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 159, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Logs a warning for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[WARN] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5293, "end": 5574, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 173, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Logs an error for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[ERROR] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5683, "end": 5964, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 187, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Enables or disables this Controller.\n *\n * Fires an \"enabled\" event on update.\n *\n * @protected\n * @param {boolean} enabled Whether or not to enable.\n ", "start": 6775, "end": 6963, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 221, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is enabled.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7150, "end": 7274, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 236, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Activates or deactivates this Controller.\n *\n * Fires an \"active\" event on update.\n *\n * @protected\n *\n * @param {boolean} active Whether or not to activate.\n ", "start": 7335, "end": 7535, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 249, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is active.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7714, "end": 7837, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 264, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Destroys this Controller.\n *\n * @protected\n *\n ", "start": 7896, "end": 7972, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 274, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Fired when this Controller is destroyed.\n * @event destroyed\n ", "start": 8057, "end": 8152, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 282, "column": 11 } } } ], "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": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 8, "end": 11, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11, "end": 12, "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 13, "end": 17, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Map.js", "start": 18, "end": 28, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28, "end": 29, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 29 } } }, { "type": "CommentBlock", "value": "* @private ", "start": 31, "end": 46, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 15 } } }, { "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": 47, "end": 52, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Controller", "start": 53, "end": 63, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 64, "end": 65, "loc": { "start": { "line": 4, "column": 17 }, "end": { "line": 4, "column": 18 } } }, { "type": "CommentBlock", "value": "*\n * @protected\n ", "start": 71, "end": 100, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 8, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 105, "end": 116, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 116, "end": 117, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 117, "end": 123, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 123, "end": 124, "loc": { "start": { "line": 9, "column": 22 }, "end": { "line": 9, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cfg", "start": 125, "end": 128, "loc": { "start": { "line": 9, "column": 24 }, "end": { "line": 9, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 128, "end": 129, "loc": { "start": { "line": 9, "column": 27 }, "end": { "line": 9, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "server", "start": 130, "end": 136, "loc": { "start": { "line": 9, "column": 29 }, "end": { "line": 9, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 136, "end": 137, "loc": { "start": { "line": 9, "column": 35 }, "end": { "line": 9, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 138, "end": 144, "loc": { "start": { "line": 9, "column": 37 }, "end": { "line": 9, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 144, "end": 145, "loc": { "start": { "line": 9, "column": 43 }, "end": { "line": 9, "column": 44 } } }, { "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": 9, "column": 45 }, "end": { "line": 9, "column": 46 } } }, { "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": 157, "end": 161, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 161, "end": 162, "loc": { "start": { "line": 11, "column": 12 }, "end": { "line": 11, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 162, "end": 171, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 172, "end": 173, "loc": { "start": { "line": 11, "column": 23 }, "end": { "line": 11, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 174, "end": 175, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 175, "end": 181, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 32 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 182, "end": 183, "loc": { "start": { "line": 11, "column": 33 }, "end": { "line": 11, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 184, "end": 185, "loc": { "start": { "line": 11, "column": 35 }, "end": { "line": 11, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 185, "end": 191, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 191, "end": 192, "loc": { "start": { "line": 11, "column": 42 }, "end": { "line": 11, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 192, "end": 201, "loc": { "start": { "line": 11, "column": 43 }, "end": { "line": 11, "column": 52 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 202, "end": 204, "loc": { "start": { "line": 11, "column": 53 }, "end": { "line": 11, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 205, "end": 211, "loc": { "start": { "line": 11, "column": 56 }, "end": { "line": 11, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 211, "end": 212, "loc": { "start": { "line": 11, "column": 62 }, "end": { "line": 11, "column": 63 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 213, "end": 214, "loc": { "start": { "line": 11, "column": 64 }, "end": { "line": 11, "column": 65 } } }, { "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": 215, "end": 219, "loc": { "start": { "line": 11, "column": 66 }, "end": { "line": 11, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 219, "end": 220, "loc": { "start": { "line": 11, "column": 70 }, "end": { "line": 11, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 220, "end": 221, "loc": { "start": { "line": 11, "column": 71 }, "end": { "line": 11, "column": 72 } } }, { "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": 230, "end": 234, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 234, "end": 235, "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": "server", "start": 235, "end": 241, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 242, "end": 243, "loc": { "start": { "line": 12, "column": 20 }, "end": { "line": 12, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 244, "end": 250, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 28 } } }, { "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": 29 }, "end": { "line": 12, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 253, "end": 259, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 259, "end": 260, "loc": { "start": { "line": 12, "column": 37 }, "end": { "line": 12, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "server", "start": 260, "end": 266, "loc": { "start": { "line": 12, "column": 38 }, "end": { "line": 12, "column": 44 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 267, "end": 268, "loc": { "start": { "line": 12, "column": 45 }, "end": { "line": 12, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "server", "start": 269, "end": 275, "loc": { "start": { "line": 12, "column": 47 }, "end": { "line": 12, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 275, "end": 276, "loc": { "start": { "line": 12, "column": 53 }, "end": { "line": 12, "column": 54 } } }, { "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": 285, "end": 289, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 289, "end": 290, "loc": { "start": { "line": 13, "column": 12 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 290, "end": 296, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 297, "end": 298, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 299, "end": 305, "loc": { "start": { "line": 13, "column": 22 }, "end": { "line": 13, "column": 28 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 306, "end": 307, "loc": { "start": { "line": 13, "column": 29 }, "end": { "line": 13, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 308, "end": 314, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 314, "end": 315, "loc": { "start": { "line": 13, "column": 37 }, "end": { "line": 13, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 315, "end": 321, "loc": { "start": { "line": 13, "column": 38 }, "end": { "line": 13, "column": 44 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 322, "end": 323, "loc": { "start": { "line": 13, "column": 45 }, "end": { "line": 13, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 324, "end": 330, "loc": { "start": { "line": 13, "column": 47 }, "end": { "line": 13, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 330, "end": 331, "loc": { "start": { "line": 13, "column": 53 }, "end": { "line": 13, "column": 54 } } }, { "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": 341, "end": 345, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 345, "end": 346, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_children", "start": 346, "end": 355, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 356, "end": 357, "loc": { "start": { "line": 15, "column": 23 }, "end": { "line": 15, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 358, "end": 359, "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, "updateContext": null }, "start": 359, "end": 360, "loc": { "start": { "line": 15, "column": 26 }, "end": { "line": 15, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 360, "end": 361, "loc": { "start": { "line": 15, "column": 27 }, "end": { "line": 15, "column": 28 } } }, { "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": 371, "end": 373, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 374, "end": 375, "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 375, "end": 381, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 381, "end": 382, "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 383, "end": 384, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 397, "end": 403, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 403, "end": 404, "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_children", "start": 404, "end": 413, "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 18, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 413, "end": 414, "loc": { "start": { "line": 18, "column": 28 }, "end": { "line": 18, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 414, "end": 418, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 418, "end": 419, "loc": { "start": { "line": 18, "column": 33 }, "end": { "line": 18, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 419, "end": 423, "loc": { "start": { "line": 18, "column": 34 }, "end": { "line": 18, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 423, "end": 424, "loc": { "start": { "line": 18, "column": 38 }, "end": { "line": 18, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 424, "end": 425, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 434, "end": 435, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 445, "end": 449, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 449, "end": 450, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdMap", "start": 450, "end": 459, "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 460, "end": 461, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 24 } } }, { "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": 462, "end": 466, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 466, "end": 467, "loc": { "start": { "line": 21, "column": 29 }, "end": { "line": 21, "column": 30 } } }, { "type": "CommentLine", "value": " Subscription subId pool", "start": 468, "end": 494, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 57 } } }, { "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": 503, "end": 507, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 507, "end": 508, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdEvents", "start": 508, "end": 520, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 521, "end": 522, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 27 } } }, { "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": 523, "end": 527, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 527, "end": 528, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } } }, { "type": "CommentLine", "value": " Subscription subIds mapped to event names", "start": 529, "end": 573, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 78 } } }, { "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": 582, "end": 586, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 586, "end": 587, "loc": { "start": { "line": 23, "column": 12 }, "end": { "line": 23, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 587, "end": 597, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 598, "end": 599, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 25 } } }, { "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": 600, "end": 604, "loc": { "start": { "line": 23, "column": 26 }, "end": { "line": 23, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 604, "end": 605, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 31 } } }, { "type": "CommentLine", "value": " Event names mapped to subscribers", "start": 606, "end": 642, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 68 } } }, { "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": 651, "end": 655, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 655, "end": 656, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_events", "start": 656, "end": 663, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 664, "end": 665, "loc": { "start": { "line": 24, "column": 21 }, "end": { "line": 24, "column": 22 } } }, { "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": 666, "end": 670, "loc": { "start": { "line": 24, "column": 23 }, "end": { "line": 24, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 670, "end": 671, "loc": { "start": { "line": 24, "column": 27 }, "end": { "line": 24, "column": 28 } } }, { "type": "CommentLine", "value": " Maps names to events", "start": 672, "end": 695, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 52 } } }, { "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": 704, "end": 708, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 708, "end": 709, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventCallDepth", "start": 709, "end": 724, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 725, "end": 726, "loc": { "start": { "line": 25, "column": 29 }, "end": { "line": 25, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 727, "end": 728, "loc": { "start": { "line": 25, "column": 31 }, "end": { "line": 25, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 728, "end": 729, "loc": { "start": { "line": 25, "column": 32 }, "end": { "line": 25, "column": 33 } } }, { "type": "CommentLine", "value": " Helps us catch stack overflows from recursive events", "start": 730, "end": 785, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 89 } } }, { "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": 795, "end": 799, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 799, "end": 800, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_enabled", "start": 800, "end": 808, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 809, "end": 810, "loc": { "start": { "line": 27, "column": 22 }, "end": { "line": 27, "column": 23 } } }, { "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": 811, "end": 815, "loc": { "start": { "line": 27, "column": 24 }, "end": { "line": 27, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 815, "end": 816, "loc": { "start": { "line": 27, "column": 28 }, "end": { "line": 27, "column": 29 } } }, { "type": "CommentLine", "value": " Used by #setEnabled() and #getEnabled()", "start": 817, "end": 859, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 72 } } }, { "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": 868, "end": 872, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 872, "end": 873, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_active", "start": 873, "end": 880, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 881, "end": 882, "loc": { "start": { "line": 28, "column": 21 }, "end": { "line": 28, "column": 22 } } }, { "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": 883, "end": 887, "loc": { "start": { "line": 28, "column": 23 }, "end": { "line": 28, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 887, "end": 888, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 28 } } }, { "type": "CommentLine", "value": " Used by #setActive() and #getActive()", "start": 889, "end": 929, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 934, "end": 935, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Fires an event on this Controller.\n *\n * @protected\n *\n * @param {String} event The event type name\n * @param {Object} value The event parameters\n * @param {Boolean} [forget=false] When true, does not retain for subsequent subscribers\n ", "start": 941, "end": 1218, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 39, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fire", "start": 1223, "end": 1227, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1227, "end": 1228, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 1228, "end": 1233, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1233, "end": 1234, "loc": { "start": { "line": 40, "column": 14 }, "end": { "line": 40, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 1235, "end": 1240, "loc": { "start": { "line": 40, "column": 16 }, "end": { "line": 40, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1240, "end": 1241, "loc": { "start": { "line": 40, "column": 21 }, "end": { "line": 40, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forget", "start": 1242, "end": 1248, "loc": { "start": { "line": 40, "column": 23 }, "end": { "line": 40, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1248, "end": 1249, "loc": { "start": { "line": 40, "column": 29 }, "end": { "line": 40, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1250, "end": 1251, "loc": { "start": { "line": 40, "column": 31 }, "end": { "line": 40, "column": 32 } } }, { "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": 1260, "end": 1262, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1263, "end": 1264, "loc": { "start": { "line": 41, "column": 11 }, "end": { "line": 41, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1264, "end": 1265, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 13 } } }, { "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": 1265, "end": 1269, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1269, "end": 1270, "loc": { "start": { "line": 41, "column": 17 }, "end": { "line": 41, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_events", "start": 1270, "end": 1277, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1277, "end": 1278, "loc": { "start": { "line": 41, "column": 25 }, "end": { "line": 41, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1279, "end": 1280, "loc": { "start": { "line": 41, "column": 27 }, "end": { "line": 41, "column": 28 } } }, { "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": 1293, "end": 1297, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1297, "end": 1298, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_events", "start": 1298, "end": 1305, "loc": { "start": { "line": 42, "column": 17 }, "end": { "line": 42, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1306, "end": 1307, "loc": { "start": { "line": 42, "column": 25 }, "end": { "line": 42, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1308, "end": 1309, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1309, "end": 1310, "loc": { "start": { "line": 42, "column": 28 }, "end": { "line": 42, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1310, "end": 1311, "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": 1320, "end": 1321, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 9 } } }, { "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": 1330, "end": 1332, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1333, "end": 1334, "loc": { "start": { "line": 44, "column": 11 }, "end": { "line": 44, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1334, "end": 1335, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 13 } } }, { "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": 1335, "end": 1339, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1339, "end": 1340, "loc": { "start": { "line": 44, "column": 17 }, "end": { "line": 44, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 1340, "end": 1350, "loc": { "start": { "line": 44, "column": 18 }, "end": { "line": 44, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1350, "end": 1351, "loc": { "start": { "line": 44, "column": 28 }, "end": { "line": 44, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1352, "end": 1353, "loc": { "start": { "line": 44, "column": 30 }, "end": { "line": 44, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1366, "end": 1370, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1370, "end": 1371, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 1371, "end": 1381, "loc": { "start": { "line": 45, "column": 17 }, "end": { "line": 45, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1382, "end": 1383, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1384, "end": 1385, "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": 1385, "end": 1386, "loc": { "start": { "line": 45, "column": 31 }, "end": { "line": 45, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1386, "end": 1387, "loc": { "start": { "line": 45, "column": 32 }, "end": { "line": 45, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1396, "end": 1397, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 9 } } }, { "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": 1406, "end": 1408, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1409, "end": 1410, "loc": { "start": { "line": 47, "column": 11 }, "end": { "line": 47, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forget", "start": 1410, "end": 1416, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1417, "end": 1420, "loc": { "start": { "line": 47, "column": 19 }, "end": { "line": 47, "column": 22 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 1421, "end": 1425, "loc": { "start": { "line": 47, "column": 23 }, "end": { "line": 47, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1425, "end": 1426, "loc": { "start": { "line": 47, "column": 27 }, "end": { "line": 47, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1427, "end": 1428, "loc": { "start": { "line": 47, "column": 29 }, "end": { "line": 47, "column": 30 } } }, { "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": 1441, "end": 1445, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1445, "end": 1446, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_events", "start": 1446, "end": 1453, "loc": { "start": { "line": 48, "column": 17 }, "end": { "line": 48, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1453, "end": 1454, "loc": { "start": { "line": 48, "column": 24 }, "end": { "line": 48, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 1454, "end": 1459, "loc": { "start": { "line": 48, "column": 25 }, "end": { "line": 48, "column": 30 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1459, "end": 1460, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1461, "end": 1462, "loc": { "start": { "line": 48, "column": 32 }, "end": { "line": 48, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 1463, "end": 1468, "loc": { "start": { "line": 48, "column": 34 }, "end": { "line": 48, "column": 39 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1469, "end": 1471, "loc": { "start": { "line": 48, "column": 40 }, "end": { "line": 48, "column": 42 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 1472, "end": 1476, "loc": { "start": { "line": 48, "column": 43 }, "end": { "line": 48, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1476, "end": 1477, "loc": { "start": { "line": 48, "column": 47 }, "end": { "line": 48, "column": 48 } } }, { "type": "CommentLine", "value": " Save notification", "start": 1478, "end": 1498, "loc": { "start": { "line": 48, "column": 49 }, "end": { "line": 48, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1507, "end": 1508, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 9 } } }, { "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": 1517, "end": 1522, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 1523, "end": 1527, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1528, "end": 1529, "loc": { "start": { "line": 50, "column": 19 }, "end": { "line": 50, "column": 20 } } }, { "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": 1530, "end": 1534, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1534, "end": 1535, "loc": { "start": { "line": 50, "column": 25 }, "end": { "line": 50, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 1535, "end": 1545, "loc": { "start": { "line": 50, "column": 26 }, "end": { "line": 50, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1545, "end": 1546, "loc": { "start": { "line": 50, "column": 36 }, "end": { "line": 50, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 1546, "end": 1551, "loc": { "start": { "line": 50, "column": 37 }, "end": { "line": 50, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1551, "end": 1552, "loc": { "start": { "line": 50, "column": 42 }, "end": { "line": 50, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1552, "end": 1553, "loc": { "start": { "line": 50, "column": 43 }, "end": { "line": 50, "column": 44 } } }, { "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": 1562, "end": 1565, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sub", "start": 1566, "end": 1569, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1569, "end": 1570, "loc": { "start": { "line": 51, "column": 15 }, "end": { "line": 51, "column": 16 } } }, { "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": 1579, "end": 1581, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1582, "end": 1583, "loc": { "start": { "line": 52, "column": 11 }, "end": { "line": 52, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 1583, "end": 1587, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1587, "end": 1588, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1589, "end": 1590, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 19 } } }, { "type": "CommentLine", "value": " Notify subscriptions", "start": 1591, "end": 1614, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 43 } } }, { "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": 1627, "end": 1630, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1631, "end": 1632, "loc": { "start": { "line": 53, "column": 16 }, "end": { "line": 53, "column": 17 } } }, { "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": 1632, "end": 1637, "loc": { "start": { "line": 53, "column": 17 }, "end": { "line": 53, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 1638, "end": 1643, "loc": { "start": { "line": 53, "column": 23 }, "end": { "line": 53, "column": 28 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 1644, "end": 1646, "loc": { "start": { "line": 53, "column": 29 }, "end": { "line": 53, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 1647, "end": 1651, "loc": { "start": { "line": 53, "column": 32 }, "end": { "line": 53, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1651, "end": 1652, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1653, "end": 1654, "loc": { "start": { "line": 53, "column": 38 }, "end": { "line": 53, "column": 39 } } }, { "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": 1671, "end": 1673, "loc": { "start": { "line": 54, "column": 16 }, "end": { "line": 54, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1674, "end": 1675, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 1675, "end": 1679, "loc": { "start": { "line": 54, "column": 20 }, "end": { "line": 54, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1679, "end": 1680, "loc": { "start": { "line": 54, "column": 24 }, "end": { "line": 54, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasOwnProperty", "start": 1680, "end": 1694, "loc": { "start": { "line": 54, "column": 25 }, "end": { "line": 54, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1694, "end": 1695, "loc": { "start": { "line": 54, "column": 39 }, "end": { "line": 54, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 1695, "end": 1700, "loc": { "start": { "line": 54, "column": 40 }, "end": { "line": 54, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1700, "end": 1701, "loc": { "start": { "line": 54, "column": 45 }, "end": { "line": 54, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1701, "end": 1702, "loc": { "start": { "line": 54, "column": 46 }, "end": { "line": 54, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1703, "end": 1704, "loc": { "start": { "line": 54, "column": 48 }, "end": { "line": 54, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sub", "start": 1725, "end": 1728, "loc": { "start": { "line": 55, "column": 20 }, "end": { "line": 55, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1729, "end": 1730, "loc": { "start": { "line": 55, "column": 24 }, "end": { "line": 55, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 1731, "end": 1735, "loc": { "start": { "line": 55, "column": 26 }, "end": { "line": 55, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1735, "end": 1736, "loc": { "start": { "line": 55, "column": 30 }, "end": { "line": 55, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 1736, "end": 1741, "loc": { "start": { "line": 55, "column": 31 }, "end": { "line": 55, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1741, "end": 1742, "loc": { "start": { "line": 55, "column": 36 }, "end": { "line": 55, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1742, "end": 1743, "loc": { "start": { "line": 55, "column": 37 }, "end": { "line": 55, "column": 38 } } }, { "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": 1764, "end": 1768, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1768, "end": 1769, "loc": { "start": { "line": 56, "column": 24 }, "end": { "line": 56, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventCallDepth", "start": 1769, "end": 1784, "loc": { "start": { "line": 56, "column": 25 }, "end": { "line": 56, "column": 40 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1784, "end": 1786, "loc": { "start": { "line": 56, "column": 40 }, "end": { "line": 56, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1786, "end": 1787, "loc": { "start": { "line": 56, "column": 42 }, "end": { "line": 56, "column": 43 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1808, "end": 1810, "loc": { "start": { "line": 57, "column": 20 }, "end": { "line": 57, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1811, "end": 1812, "loc": { "start": { "line": 57, "column": 23 }, "end": { "line": 57, "column": 24 } } }, { "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": 1812, "end": 1816, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1816, "end": 1817, "loc": { "start": { "line": 57, "column": 28 }, "end": { "line": 57, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventCallDepth", "start": 1817, "end": 1832, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 44 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1833, "end": 1834, "loc": { "start": { "line": 57, "column": 45 }, "end": { "line": 57, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 300, "start": 1835, "end": 1838, "loc": { "start": { "line": 57, "column": 47 }, "end": { "line": 57, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1838, "end": 1839, "loc": { "start": { "line": 57, "column": 50 }, "end": { "line": 57, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1840, "end": 1841, "loc": { "start": { "line": 57, "column": 52 }, "end": { "line": 57, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sub", "start": 1866, "end": 1869, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1869, "end": 1870, "loc": { "start": { "line": 58, "column": 27 }, "end": { "line": 58, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 1870, "end": 1878, "loc": { "start": { "line": 58, "column": 28 }, "end": { "line": 58, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1878, "end": 1879, "loc": { "start": { "line": 58, "column": 36 }, "end": { "line": 58, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 1879, "end": 1883, "loc": { "start": { "line": 58, "column": 37 }, "end": { "line": 58, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1883, "end": 1884, "loc": { "start": { "line": 58, "column": 41 }, "end": { "line": 58, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sub", "start": 1884, "end": 1887, "loc": { "start": { "line": 58, "column": 42 }, "end": { "line": 58, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1887, "end": 1888, "loc": { "start": { "line": 58, "column": 45 }, "end": { "line": 58, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scope", "start": 1888, "end": 1893, "loc": { "start": { "line": 58, "column": 46 }, "end": { "line": 58, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1893, "end": 1894, "loc": { "start": { "line": 58, "column": 51 }, "end": { "line": 58, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 1895, "end": 1900, "loc": { "start": { "line": 58, "column": 53 }, "end": { "line": 58, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1900, "end": 1901, "loc": { "start": { "line": 58, "column": 58 }, "end": { "line": 58, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1901, "end": 1902, "loc": { "start": { "line": 58, "column": 59 }, "end": { "line": 58, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1923, "end": 1924, "loc": { "start": { "line": 59, "column": 20 }, "end": { "line": 59, "column": 21 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1925, "end": 1929, "loc": { "start": { "line": 59, "column": 22 }, "end": { "line": 59, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1930, "end": 1931, "loc": { "start": { "line": 59, "column": 27 }, "end": { "line": 59, "column": 28 } } }, { "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": 1956, "end": 1960, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1960, "end": 1961, "loc": { "start": { "line": 60, "column": 28 }, "end": { "line": 60, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 1961, "end": 1966, "loc": { "start": { "line": 60, "column": 29 }, "end": { "line": 60, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1966, "end": 1967, "loc": { "start": { "line": 60, "column": 34 }, "end": { "line": 60, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "fire: potential stack overflow from recursive event '", "start": 1967, "end": 2022, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 90 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2023, "end": 2024, "loc": { "start": { "line": 60, "column": 91 }, "end": { "line": 60, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 2025, "end": 2030, "loc": { "start": { "line": 60, "column": 93 }, "end": { "line": 60, "column": 98 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2031, "end": 2032, "loc": { "start": { "line": 60, "column": 99 }, "end": { "line": 60, "column": 100 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "' - dropping this event", "start": 2033, "end": 2058, "loc": { "start": { "line": 60, "column": 101 }, "end": { "line": 60, "column": 126 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2058, "end": 2059, "loc": { "start": { "line": 60, "column": 126 }, "end": { "line": 60, "column": 127 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2059, "end": 2060, "loc": { "start": { "line": 60, "column": 127 }, "end": { "line": 60, "column": 128 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2081, "end": 2082, "loc": { "start": { "line": 61, "column": 20 }, "end": { "line": 61, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2103, "end": 2107, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2107, "end": 2108, "loc": { "start": { "line": 62, "column": 24 }, "end": { "line": 62, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventCallDepth", "start": 2108, "end": 2123, "loc": { "start": { "line": 62, "column": 25 }, "end": { "line": 62, "column": 40 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 2123, "end": 2125, "loc": { "start": { "line": 62, "column": 40 }, "end": { "line": 62, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2125, "end": 2126, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2143, "end": 2144, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2157, "end": 2158, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2167, "end": 2168, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2173, "end": 2174, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Subscribes to an event on this Controller.\n *\n * The callback is be called with this component as scope.\n *\n * @param {String} event The event\n * @param {Function} callback Called fired on the event\n * @param {Object} [scope=this] Scope for the callback\n * @return {String} Handle to the subscription, which may be used to unsubscribe with {@link #off}.\n ", "start": 2180, "end": 2580, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 77, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "on", "start": 2585, "end": 2587, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2587, "end": 2588, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 2588, "end": 2593, "loc": { "start": { "line": 78, "column": 7 }, "end": { "line": 78, "column": 12 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2593, "end": 2594, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 2595, "end": 2603, "loc": { "start": { "line": 78, "column": 14 }, "end": { "line": 78, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2603, "end": 2604, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scope", "start": 2605, "end": 2610, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 78, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2610, "end": 2611, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2612, "end": 2613, "loc": { "start": { "line": 78, "column": 31 }, "end": { "line": 78, "column": 32 } } }, { "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": 2622, "end": 2624, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2625, "end": 2626, "loc": { "start": { "line": 79, "column": 11 }, "end": { "line": 79, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2626, "end": 2627, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 13 } } }, { "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": 2627, "end": 2631, "loc": { "start": { "line": 79, "column": 13 }, "end": { "line": 79, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2631, "end": 2632, "loc": { "start": { "line": 79, "column": 17 }, "end": { "line": 79, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_events", "start": 2632, "end": 2639, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2639, "end": 2640, "loc": { "start": { "line": 79, "column": 25 }, "end": { "line": 79, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2641, "end": 2642, "loc": { "start": { "line": 79, "column": 27 }, "end": { "line": 79, "column": 28 } } }, { "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": 2655, "end": 2659, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2659, "end": 2660, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_events", "start": 2660, "end": 2667, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2668, "end": 2669, "loc": { "start": { "line": 80, "column": 25 }, "end": { "line": 80, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2670, "end": 2671, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2671, "end": 2672, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2672, "end": 2673, "loc": { "start": { "line": 80, "column": 29 }, "end": { "line": 80, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2682, "end": 2683, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 9 } } }, { "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": 2692, "end": 2694, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2695, "end": 2696, "loc": { "start": { "line": 82, "column": 11 }, "end": { "line": 82, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2696, "end": 2697, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 13 } } }, { "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": 2697, "end": 2701, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2701, "end": 2702, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdMap", "start": 2702, "end": 2711, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2711, "end": 2712, "loc": { "start": { "line": 82, "column": 27 }, "end": { "line": 82, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2713, "end": 2714, "loc": { "start": { "line": 82, "column": 29 }, "end": { "line": 82, "column": 30 } } }, { "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": 2727, "end": 2731, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2731, "end": 2732, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdMap", "start": 2732, "end": 2741, "loc": { "start": { "line": 83, "column": 17 }, "end": { "line": 83, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2742, "end": 2743, "loc": { "start": { "line": 83, "column": 27 }, "end": { "line": 83, "column": 28 } } }, { "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": 2744, "end": 2747, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 2748, "end": 2751, "loc": { "start": { "line": 83, "column": 33 }, "end": { "line": 83, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2751, "end": 2752, "loc": { "start": { "line": 83, "column": 36 }, "end": { "line": 83, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2752, "end": 2753, "loc": { "start": { "line": 83, "column": 37 }, "end": { "line": 83, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2753, "end": 2754, "loc": { "start": { "line": 83, "column": 38 }, "end": { "line": 83, "column": 39 } } }, { "type": "CommentLine", "value": " Subscription subId pool", "start": 2755, "end": 2781, "loc": { "start": { "line": 83, "column": 40 }, "end": { "line": 83, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2790, "end": 2791, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 9 } } }, { "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": 2800, "end": 2802, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2803, "end": 2804, "loc": { "start": { "line": 85, "column": 11 }, "end": { "line": 85, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2804, "end": 2805, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 13 } } }, { "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": 2805, "end": 2809, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2809, "end": 2810, "loc": { "start": { "line": 85, "column": 17 }, "end": { "line": 85, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdEvents", "start": 2810, "end": 2822, "loc": { "start": { "line": 85, "column": 18 }, "end": { "line": 85, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2822, "end": 2823, "loc": { "start": { "line": 85, "column": 30 }, "end": { "line": 85, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2824, "end": 2825, "loc": { "start": { "line": 85, "column": 32 }, "end": { "line": 85, "column": 33 } } }, { "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": 2838, "end": 2842, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2842, "end": 2843, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdEvents", "start": 2843, "end": 2855, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2856, "end": 2857, "loc": { "start": { "line": 86, "column": 30 }, "end": { "line": 86, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2858, "end": 2859, "loc": { "start": { "line": 86, "column": 32 }, "end": { "line": 86, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2859, "end": 2860, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2860, "end": 2861, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2870, "end": 2871, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 9 } } }, { "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": 2880, "end": 2882, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2883, "end": 2884, "loc": { "start": { "line": 88, "column": 11 }, "end": { "line": 88, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2884, "end": 2885, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 13 } } }, { "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": 2885, "end": 2889, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2889, "end": 2890, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 2890, "end": 2900, "loc": { "start": { "line": 88, "column": 18 }, "end": { "line": 88, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2900, "end": 2901, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2902, "end": 2903, "loc": { "start": { "line": 88, "column": 30 }, "end": { "line": 88, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2916, "end": 2920, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2920, "end": 2921, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 2921, "end": 2931, "loc": { "start": { "line": 89, "column": 17 }, "end": { "line": 89, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2932, "end": 2933, "loc": { "start": { "line": 89, "column": 28 }, "end": { "line": 89, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2934, "end": 2935, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2935, "end": 2936, "loc": { "start": { "line": 89, "column": 31 }, "end": { "line": 89, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2936, "end": 2937, "loc": { "start": { "line": 89, "column": 32 }, "end": { "line": 89, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2946, "end": 2947, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "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": 2956, "end": 2959, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 2960, "end": 2964, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2965, "end": 2966, "loc": { "start": { "line": 91, "column": 17 }, "end": { "line": 91, "column": 18 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2967, "end": 2971, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2971, "end": 2972, "loc": { "start": { "line": 91, "column": 23 }, "end": { "line": 91, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 2972, "end": 2982, "loc": { "start": { "line": 91, "column": 24 }, "end": { "line": 91, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2982, "end": 2983, "loc": { "start": { "line": 91, "column": 34 }, "end": { "line": 91, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 2983, "end": 2988, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 91, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2988, "end": 2989, "loc": { "start": { "line": 91, "column": 40 }, "end": { "line": 91, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2989, "end": 2990, "loc": { "start": { "line": 91, "column": 41 }, "end": { "line": 91, "column": 42 } } }, { "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": 2999, "end": 3001, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3002, "end": 3003, "loc": { "start": { "line": 92, "column": 11 }, "end": { "line": 92, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3003, "end": 3004, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 3004, "end": 3008, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3008, "end": 3009, "loc": { "start": { "line": 92, "column": 17 }, "end": { "line": 92, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3010, "end": 3011, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 3024, "end": 3028, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3029, "end": 3030, "loc": { "start": { "line": 93, "column": 17 }, "end": { "line": 93, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3031, "end": 3032, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3032, "end": 3033, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3033, "end": 3034, "loc": { "start": { "line": 93, "column": 21 }, "end": { "line": 93, "column": 22 } } }, { "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": 3047, "end": 3051, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3051, "end": 3052, "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 94, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 3052, "end": 3062, "loc": { "start": { "line": 94, "column": 17 }, "end": { "line": 94, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3062, "end": 3063, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 3063, "end": 3068, "loc": { "start": { "line": 94, "column": 28 }, "end": { "line": 94, "column": 33 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3068, "end": 3069, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3070, "end": 3071, "loc": { "start": { "line": 94, "column": 35 }, "end": { "line": 94, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 3072, "end": 3076, "loc": { "start": { "line": 94, "column": 37 }, "end": { "line": 94, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3076, "end": 3077, "loc": { "start": { "line": 94, "column": 41 }, "end": { "line": 94, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3086, "end": 3087, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 9 } } }, { "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": 3096, "end": 3101, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 3102, "end": 3107, "loc": { "start": { "line": 96, "column": 14 }, "end": { "line": 96, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3108, "end": 3109, "loc": { "start": { "line": 96, "column": 20 }, "end": { "line": 96, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3110, "end": 3114, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3114, "end": 3115, "loc": { "start": { "line": 96, "column": 26 }, "end": { "line": 96, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdMap", "start": 3115, "end": 3124, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3124, "end": 3125, "loc": { "start": { "line": 96, "column": 36 }, "end": { "line": 96, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addItem", "start": 3125, "end": 3132, "loc": { "start": { "line": 96, "column": 37 }, "end": { "line": 96, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3132, "end": 3133, "loc": { "start": { "line": 96, "column": 44 }, "end": { "line": 96, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3133, "end": 3134, "loc": { "start": { "line": 96, "column": 45 }, "end": { "line": 96, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3134, "end": 3135, "loc": { "start": { "line": 96, "column": 46 }, "end": { "line": 96, "column": 47 } } }, { "type": "CommentLine", "value": " Create unique subId", "start": 3136, "end": 3158, "loc": { "start": { "line": 96, "column": 48 }, "end": { "line": 96, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 3167, "end": 3171, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 12 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3171, "end": 3172, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 3172, "end": 3177, "loc": { "start": { "line": 97, "column": 13 }, "end": { "line": 97, "column": 18 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3177, "end": 3178, "loc": { "start": { "line": 97, "column": 18 }, "end": { "line": 97, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3179, "end": 3180, "loc": { "start": { "line": 97, "column": 20 }, "end": { "line": 97, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3181, "end": 3182, "loc": { "start": { "line": 97, "column": 22 }, "end": { "line": 97, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 3195, "end": 3203, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 20 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3203, "end": 3204, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 3205, "end": 3213, "loc": { "start": { "line": 98, "column": 22 }, "end": { "line": 98, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3213, "end": 3214, "loc": { "start": { "line": 98, "column": 30 }, "end": { "line": 98, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scope", "start": 3227, "end": 3232, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3232, "end": 3233, "loc": { "start": { "line": 99, "column": 17 }, "end": { "line": 99, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scope", "start": 3234, "end": 3239, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 24 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3240, "end": 3242, "loc": { "start": { "line": 99, "column": 25 }, "end": { "line": 99, "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": 3243, "end": 3247, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3256, "end": 3257, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3257, "end": 3258, "loc": { "start": { "line": 100, "column": 9 }, "end": { "line": 100, "column": 10 } } }, { "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": 3267, "end": 3271, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3271, "end": 3272, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdEvents", "start": 3272, "end": 3284, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3284, "end": 3285, "loc": { "start": { "line": 101, "column": 25 }, "end": { "line": 101, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 3285, "end": 3290, "loc": { "start": { "line": 101, "column": 26 }, "end": { "line": 101, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3290, "end": 3291, "loc": { "start": { "line": 101, "column": 31 }, "end": { "line": 101, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3292, "end": 3293, "loc": { "start": { "line": 101, "column": 33 }, "end": { "line": 101, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 3294, "end": 3299, "loc": { "start": { "line": 101, "column": 35 }, "end": { "line": 101, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3299, "end": 3300, "loc": { "start": { "line": 101, "column": 40 }, "end": { "line": 101, "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": 3309, "end": 3314, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 3315, "end": 3320, "loc": { "start": { "line": 102, "column": 14 }, "end": { "line": 102, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3321, "end": 3322, "loc": { "start": { "line": 102, "column": 20 }, "end": { "line": 102, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3323, "end": 3327, "loc": { "start": { "line": 102, "column": 22 }, "end": { "line": 102, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3327, "end": 3328, "loc": { "start": { "line": 102, "column": 26 }, "end": { "line": 102, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_events", "start": 3328, "end": 3335, "loc": { "start": { "line": 102, "column": 27 }, "end": { "line": 102, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3335, "end": 3336, "loc": { "start": { "line": 102, "column": 34 }, "end": { "line": 102, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 3336, "end": 3341, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3341, "end": 3342, "loc": { "start": { "line": 102, "column": 40 }, "end": { "line": 102, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3342, "end": 3343, "loc": { "start": { "line": 102, "column": 41 }, "end": { "line": 102, "column": 42 } } }, { "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": 3352, "end": 3354, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 103, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3355, "end": 3356, "loc": { "start": { "line": 103, "column": 11 }, "end": { "line": 103, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 3356, "end": 3361, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 3362, "end": 3365, "loc": { "start": { "line": 103, "column": 18 }, "end": { "line": 103, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 3366, "end": 3375, "loc": { "start": { "line": 103, "column": 22 }, "end": { "line": 103, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3375, "end": 3376, "loc": { "start": { "line": 103, "column": 31 }, "end": { "line": 103, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3377, "end": 3378, "loc": { "start": { "line": 103, "column": 33 }, "end": { "line": 103, "column": 34 } } }, { "type": "CommentLine", "value": " A publication exists, notify callback immediately", "start": 3379, "end": 3431, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 3444, "end": 3452, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3452, "end": 3453, "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 3453, "end": 3457, "loc": { "start": { "line": 104, "column": 21 }, "end": { "line": 104, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3457, "end": 3458, "loc": { "start": { "line": 104, "column": 25 }, "end": { "line": 104, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scope", "start": 3458, "end": 3463, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 31 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3464, "end": 3466, "loc": { "start": { "line": 104, "column": 32 }, "end": { "line": 104, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3467, "end": 3471, "loc": { "start": { "line": 104, "column": 35 }, "end": { "line": 104, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3471, "end": 3472, "loc": { "start": { "line": 104, "column": 39 }, "end": { "line": 104, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 3473, "end": 3478, "loc": { "start": { "line": 104, "column": 41 }, "end": { "line": 104, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3478, "end": 3479, "loc": { "start": { "line": 104, "column": 46 }, "end": { "line": 104, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3479, "end": 3480, "loc": { "start": { "line": 104, "column": 47 }, "end": { "line": 104, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3489, "end": 3490, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 9 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3499, "end": 3505, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 3506, "end": 3511, "loc": { "start": { "line": 106, "column": 15 }, "end": { "line": 106, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3511, "end": 3512, "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 106, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3517, "end": 3518, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Cancels an event subscription that was previously made with {@link Controller#on} or {@link Controller#once}.\n *\n * @param {String} subId Subscription ID\n ", "start": 3524, "end": 3704, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 113, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "off", "start": 3709, "end": 3712, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 114, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3712, "end": 3713, "loc": { "start": { "line": 114, "column": 7 }, "end": { "line": 114, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 3713, "end": 3718, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3718, "end": 3719, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3720, "end": 3721, "loc": { "start": { "line": 114, "column": 15 }, "end": { "line": 114, "column": 16 } } }, { "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": 3730, "end": 3732, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3733, "end": 3734, "loc": { "start": { "line": 115, "column": 11 }, "end": { "line": 115, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 3734, "end": 3739, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3740, "end": 3743, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 3744, "end": 3753, "loc": { "start": { "line": 115, "column": 22 }, "end": { "line": 115, "column": 31 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3754, "end": 3756, "loc": { "start": { "line": 115, "column": 32 }, "end": { "line": 115, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 3757, "end": 3762, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "column": 40 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3763, "end": 3766, "loc": { "start": { "line": 115, "column": 41 }, "end": { "line": 115, "column": 44 } } }, { "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": 3767, "end": 3771, "loc": { "start": { "line": 115, "column": 45 }, "end": { "line": 115, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3771, "end": 3772, "loc": { "start": { "line": 115, "column": 49 }, "end": { "line": 115, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3773, "end": 3774, "loc": { "start": { "line": 115, "column": 51 }, "end": { "line": 115, "column": 52 } } }, { "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": 3787, "end": 3793, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3793, "end": 3794, "loc": { "start": { "line": 116, "column": 18 }, "end": { "line": 116, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3803, "end": 3804, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 9 } } }, { "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": 3813, "end": 3815, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3816, "end": 3817, "loc": { "start": { "line": 118, "column": 11 }, "end": { "line": 118, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3817, "end": 3818, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 13 } } }, { "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": 3818, "end": 3822, "loc": { "start": { "line": 118, "column": 13 }, "end": { "line": 118, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3822, "end": 3823, "loc": { "start": { "line": 118, "column": 17 }, "end": { "line": 118, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdEvents", "start": 3823, "end": 3835, "loc": { "start": { "line": 118, "column": 18 }, "end": { "line": 118, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3835, "end": 3836, "loc": { "start": { "line": 118, "column": 30 }, "end": { "line": 118, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3837, "end": 3838, "loc": { "start": { "line": 118, "column": 32 }, "end": { "line": 118, "column": 33 } } }, { "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": 3851, "end": 3857, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3857, "end": 3858, "loc": { "start": { "line": 119, "column": 18 }, "end": { "line": 119, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3867, "end": 3868, "loc": { "start": { "line": 120, "column": 8 }, "end": { "line": 120, "column": 9 } } }, { "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": 3877, "end": 3882, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 3883, "end": 3888, "loc": { "start": { "line": 121, "column": 14 }, "end": { "line": 121, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3889, "end": 3890, "loc": { "start": { "line": 121, "column": 20 }, "end": { "line": 121, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3891, "end": 3895, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3895, "end": 3896, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdEvents", "start": 3896, "end": 3908, "loc": { "start": { "line": 121, "column": 27 }, "end": { "line": 121, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3908, "end": 3909, "loc": { "start": { "line": 121, "column": 39 }, "end": { "line": 121, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 3909, "end": 3914, "loc": { "start": { "line": 121, "column": 40 }, "end": { "line": 121, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3914, "end": 3915, "loc": { "start": { "line": 121, "column": 45 }, "end": { "line": 121, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3915, "end": 3916, "loc": { "start": { "line": 121, "column": 46 }, "end": { "line": 121, "column": 47 } } }, { "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": 3925, "end": 3927, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3928, "end": 3929, "loc": { "start": { "line": 122, "column": 11 }, "end": { "line": 122, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 3929, "end": 3934, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3934, "end": 3935, "loc": { "start": { "line": 122, "column": 17 }, "end": { "line": 122, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3936, "end": 3937, "loc": { "start": { "line": 122, "column": 19 }, "end": { "line": 122, "column": 20 } } }, { "type": { "label": "delete", "keyword": "delete", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "delete", "start": 3950, "end": 3956, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 18 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3957, "end": 3961, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3961, "end": 3962, "loc": { "start": { "line": 123, "column": 23 }, "end": { "line": 123, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdEvents", "start": 3962, "end": 3974, "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3974, "end": 3975, "loc": { "start": { "line": 123, "column": 36 }, "end": { "line": 123, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 3975, "end": 3980, "loc": { "start": { "line": 123, "column": 37 }, "end": { "line": 123, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3980, "end": 3981, "loc": { "start": { "line": 123, "column": 42 }, "end": { "line": 123, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3981, "end": 3982, "loc": { "start": { "line": 123, "column": 43 }, "end": { "line": 123, "column": 44 } } }, { "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": 3995, "end": 4000, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 4001, "end": 4005, "loc": { "start": { "line": 124, "column": 18 }, "end": { "line": 124, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4006, "end": 4007, "loc": { "start": { "line": 124, "column": 23 }, "end": { "line": 124, "column": 24 } } }, { "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": 4008, "end": 4012, "loc": { "start": { "line": 124, "column": 25 }, "end": { "line": 124, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4012, "end": 4013, "loc": { "start": { "line": 124, "column": 29 }, "end": { "line": 124, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 4013, "end": 4023, "loc": { "start": { "line": 124, "column": 30 }, "end": { "line": 124, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4023, "end": 4024, "loc": { "start": { "line": 124, "column": 40 }, "end": { "line": 124, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 4024, "end": 4029, "loc": { "start": { "line": 124, "column": 41 }, "end": { "line": 124, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4029, "end": 4030, "loc": { "start": { "line": 124, "column": 46 }, "end": { "line": 124, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4030, "end": 4031, "loc": { "start": { "line": 124, "column": 47 }, "end": { "line": 124, "column": 48 } } }, { "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": 4044, "end": 4046, "loc": { "start": { "line": 125, "column": 12 }, "end": { "line": 125, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4047, "end": 4048, "loc": { "start": { "line": 125, "column": 15 }, "end": { "line": 125, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 4048, "end": 4052, "loc": { "start": { "line": 125, "column": 16 }, "end": { "line": 125, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4052, "end": 4053, "loc": { "start": { "line": 125, "column": 20 }, "end": { "line": 125, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4054, "end": 4055, "loc": { "start": { "line": 125, "column": 22 }, "end": { "line": 125, "column": 23 } } }, { "type": { "label": "delete", "keyword": "delete", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "delete", "start": 4072, "end": 4078, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 4079, "end": 4083, "loc": { "start": { "line": 126, "column": 23 }, "end": { "line": 126, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4083, "end": 4084, "loc": { "start": { "line": 126, "column": 27 }, "end": { "line": 126, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 4084, "end": 4089, "loc": { "start": { "line": 126, "column": 28 }, "end": { "line": 126, "column": 33 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4089, "end": 4090, "loc": { "start": { "line": 126, "column": 33 }, "end": { "line": 126, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4090, "end": 4091, "loc": { "start": { "line": 126, "column": 34 }, "end": { "line": 126, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4104, "end": 4105, "loc": { "start": { "line": 127, "column": 12 }, "end": { "line": 127, "column": 13 } } }, { "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": 4118, "end": 4122, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4122, "end": 4123, "loc": { "start": { "line": 128, "column": 16 }, "end": { "line": 128, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdMap", "start": 4123, "end": 4132, "loc": { "start": { "line": 128, "column": 17 }, "end": { "line": 128, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4132, "end": 4133, "loc": { "start": { "line": 128, "column": 26 }, "end": { "line": 128, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeItem", "start": 4133, "end": 4143, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4143, "end": 4144, "loc": { "start": { "line": 128, "column": 37 }, "end": { "line": 128, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 4144, "end": 4149, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4149, "end": 4150, "loc": { "start": { "line": 128, "column": 43 }, "end": { "line": 128, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4150, "end": 4151, "loc": { "start": { "line": 128, "column": 44 }, "end": { "line": 128, "column": 45 } } }, { "type": "CommentLine", "value": " Release subId", "start": 4152, "end": 4168, "loc": { "start": { "line": 128, "column": 46 }, "end": { "line": 128, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4177, "end": 4178, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4183, "end": 4184, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 130, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Subscribes to the next occurrence of the given event, then un-subscribes as soon as the event is handled.\n *\n * This is equivalent to calling {@link Controller#on}, and then calling {@link Controller#off} inside the callback function.\n *\n * @param {String} event Data event to listen to\n * @param {Function} callback Called when fresh data is available at the event\n * @param {Object} [scope=this] Scope for the callback\n ", "start": 4190, "end": 4653, "loc": { "start": { "line": 132, "column": 4 }, "end": { "line": 140, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "once", "start": 4658, "end": 4662, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4662, "end": 4663, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 4663, "end": 4668, "loc": { "start": { "line": 141, "column": 9 }, "end": { "line": 141, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4668, "end": 4669, "loc": { "start": { "line": 141, "column": 14 }, "end": { "line": 141, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 4670, "end": 4678, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4678, "end": 4679, "loc": { "start": { "line": 141, "column": 24 }, "end": { "line": 141, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scope", "start": 4680, "end": 4685, "loc": { "start": { "line": 141, "column": 26 }, "end": { "line": 141, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4685, "end": 4686, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4687, "end": 4688, "loc": { "start": { "line": 141, "column": 33 }, "end": { "line": 141, "column": 34 } } }, { "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": 4697, "end": 4702, "loc": { "start": { "line": 142, "column": 8 }, "end": { "line": 142, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4703, "end": 4707, "loc": { "start": { "line": 142, "column": 14 }, "end": { "line": 142, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4708, "end": 4709, "loc": { "start": { "line": 142, "column": 19 }, "end": { "line": 142, "column": 20 } } }, { "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": 4710, "end": 4714, "loc": { "start": { "line": 142, "column": 21 }, "end": { "line": 142, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4714, "end": 4715, "loc": { "start": { "line": 142, "column": 25 }, "end": { "line": 142, "column": 26 } } }, { "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": 4724, "end": 4729, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 143, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 4730, "end": 4735, "loc": { "start": { "line": 143, "column": 14 }, "end": { "line": 143, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4736, "end": 4737, "loc": { "start": { "line": 143, "column": 20 }, "end": { "line": 143, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4738, "end": 4742, "loc": { "start": { "line": 143, "column": 22 }, "end": { "line": 143, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4742, "end": 4743, "loc": { "start": { "line": 143, "column": 26 }, "end": { "line": 143, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "on", "start": 4743, "end": 4745, "loc": { "start": { "line": 143, "column": 27 }, "end": { "line": 143, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4745, "end": 4746, "loc": { "start": { "line": 143, "column": 29 }, "end": { "line": 143, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 4746, "end": 4751, "loc": { "start": { "line": 143, "column": 30 }, "end": { "line": 143, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4751, "end": 4752, "loc": { "start": { "line": 143, "column": 35 }, "end": { "line": 143, "column": 36 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 4765, "end": 4773, "loc": { "start": { "line": 144, "column": 12 }, "end": { "line": 144, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4774, "end": 4775, "loc": { "start": { "line": 144, "column": 21 }, "end": { "line": 144, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4775, "end": 4780, "loc": { "start": { "line": 144, "column": 22 }, "end": { "line": 144, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4780, "end": 4781, "loc": { "start": { "line": 144, "column": 27 }, "end": { "line": 144, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4782, "end": 4783, "loc": { "start": { "line": 144, "column": 29 }, "end": { "line": 144, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4800, "end": 4804, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4804, "end": 4805, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "off", "start": 4805, "end": 4808, "loc": { "start": { "line": 145, "column": 21 }, "end": { "line": 145, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4808, "end": 4809, "loc": { "start": { "line": 145, "column": 24 }, "end": { "line": 145, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subId", "start": 4809, "end": 4814, "loc": { "start": { "line": 145, "column": 25 }, "end": { "line": 145, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4814, "end": 4815, "loc": { "start": { "line": 145, "column": 30 }, "end": { "line": 145, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4815, "end": 4816, "loc": { "start": { "line": 145, "column": 31 }, "end": { "line": 145, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 4833, "end": 4841, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4841, "end": 4842, "loc": { "start": { "line": 146, "column": 24 }, "end": { "line": 146, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 4842, "end": 4846, "loc": { "start": { "line": 146, "column": 25 }, "end": { "line": 146, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4846, "end": 4847, "loc": { "start": { "line": 146, "column": 29 }, "end": { "line": 146, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scope", "start": 4847, "end": 4852, "loc": { "start": { "line": 146, "column": 30 }, "end": { "line": 146, "column": 35 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4853, "end": 4855, "loc": { "start": { "line": 146, "column": 36 }, "end": { "line": 146, "column": 38 } } }, { "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": 4856, "end": 4860, "loc": { "start": { "line": 146, "column": 39 }, "end": { "line": 146, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4860, "end": 4861, "loc": { "start": { "line": 146, "column": 43 }, "end": { "line": 146, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4862, "end": 4867, "loc": { "start": { "line": 146, "column": 45 }, "end": { "line": 146, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4867, "end": 4868, "loc": { "start": { "line": 146, "column": 50 }, "end": { "line": 146, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4868, "end": 4869, "loc": { "start": { "line": 146, "column": 51 }, "end": { "line": 146, "column": 52 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4882, "end": 4883, "loc": { "start": { "line": 147, "column": 12 }, "end": { "line": 147, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4883, "end": 4884, "loc": { "start": { "line": 147, "column": 13 }, "end": { "line": 147, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scope", "start": 4897, "end": 4902, "loc": { "start": { "line": 148, "column": 12 }, "end": { "line": 148, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4902, "end": 4903, "loc": { "start": { "line": 148, "column": 17 }, "end": { "line": 148, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4903, "end": 4904, "loc": { "start": { "line": 148, "column": 18 }, "end": { "line": 148, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4909, "end": 4910, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Logs a console debugging message for this Controller.\n *\n * The console message will have this format: *````[LOG] [ : ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 4916, "end": 5187, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 159, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 5192, "end": 5195, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 160, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5195, "end": 5196, "loc": { "start": { "line": 160, "column": 7 }, "end": { "line": 160, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5196, "end": 5203, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5203, "end": 5204, "loc": { "start": { "line": 160, "column": 15 }, "end": { "line": 160, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5205, "end": 5206, "loc": { "start": { "line": 160, "column": 17 }, "end": { "line": 160, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5215, "end": 5222, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5223, "end": 5224, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "[LOG] ", "start": 5225, "end": 5233, "loc": { "start": { "line": 161, "column": 18 }, "end": { "line": 161, "column": 26 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5234, "end": 5235, "loc": { "start": { "line": 161, "column": 27 }, "end": { "line": 161, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5236, "end": 5243, "loc": { "start": { "line": 161, "column": 29 }, "end": { "line": 161, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5243, "end": 5244, "loc": { "start": { "line": 161, "column": 36 }, "end": { "line": 161, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5253, "end": 5259, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5259, "end": 5260, "loc": { "start": { "line": 162, "column": 14 }, "end": { "line": 162, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 5260, "end": 5267, "loc": { "start": { "line": 162, "column": 15 }, "end": { "line": 162, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5267, "end": 5268, "loc": { "start": { "line": 162, "column": 22 }, "end": { "line": 162, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 5268, "end": 5271, "loc": { "start": { "line": 162, "column": 23 }, "end": { "line": 162, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5271, "end": 5272, "loc": { "start": { "line": 162, "column": 26 }, "end": { "line": 162, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5272, "end": 5279, "loc": { "start": { "line": 162, "column": 27 }, "end": { "line": 162, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5279, "end": 5280, "loc": { "start": { "line": 162, "column": 34 }, "end": { "line": 162, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5280, "end": 5281, "loc": { "start": { "line": 162, "column": 35 }, "end": { "line": 162, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5286, "end": 5287, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Logs a warning for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[WARN] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5293, "end": 5574, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 173, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 5579, "end": 5583, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 174, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5583, "end": 5584, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5584, "end": 5591, "loc": { "start": { "line": 174, "column": 9 }, "end": { "line": 174, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5591, "end": 5592, "loc": { "start": { "line": 174, "column": 16 }, "end": { "line": 174, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5593, "end": 5594, "loc": { "start": { "line": 174, "column": 18 }, "end": { "line": 174, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5603, "end": 5610, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5611, "end": 5612, "loc": { "start": { "line": 175, "column": 16 }, "end": { "line": 175, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "[WARN] ", "start": 5613, "end": 5622, "loc": { "start": { "line": 175, "column": 18 }, "end": { "line": 175, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5623, "end": 5624, "loc": { "start": { "line": 175, "column": 28 }, "end": { "line": 175, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5625, "end": 5632, "loc": { "start": { "line": 175, "column": 30 }, "end": { "line": 175, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5632, "end": 5633, "loc": { "start": { "line": 175, "column": 37 }, "end": { "line": 175, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5642, "end": 5648, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5648, "end": 5649, "loc": { "start": { "line": 176, "column": 14 }, "end": { "line": 176, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 5649, "end": 5656, "loc": { "start": { "line": 176, "column": 15 }, "end": { "line": 176, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5656, "end": 5657, "loc": { "start": { "line": 176, "column": 22 }, "end": { "line": 176, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 5657, "end": 5661, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5661, "end": 5662, "loc": { "start": { "line": 176, "column": 27 }, "end": { "line": 176, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5662, "end": 5669, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5669, "end": 5670, "loc": { "start": { "line": 176, "column": 35 }, "end": { "line": 176, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5670, "end": 5671, "loc": { "start": { "line": 176, "column": 36 }, "end": { "line": 176, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5676, "end": 5677, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Logs an error for this Controller to the JavaScript console.\n *\n * The console message will have this format: *````[ERROR] [ =: ````*\n *\n * @protected\n *\n * @param {String} message The message to log\n ", "start": 5683, "end": 5964, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 187, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 5969, "end": 5974, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5974, "end": 5975, "loc": { "start": { "line": 188, "column": 9 }, "end": { "line": 188, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5975, "end": 5982, "loc": { "start": { "line": 188, "column": 10 }, "end": { "line": 188, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5982, "end": 5983, "loc": { "start": { "line": 188, "column": 17 }, "end": { "line": 188, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5984, "end": 5985, "loc": { "start": { "line": 188, "column": 19 }, "end": { "line": 188, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 5994, "end": 6001, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6002, "end": 6003, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "[ERROR] ", "start": 6004, "end": 6014, "loc": { "start": { "line": 189, "column": 18 }, "end": { "line": 189, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 6015, "end": 6016, "loc": { "start": { "line": 189, "column": 29 }, "end": { "line": 189, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 6017, "end": 6024, "loc": { "start": { "line": 189, "column": 31 }, "end": { "line": 189, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6024, "end": 6025, "loc": { "start": { "line": 189, "column": 38 }, "end": { "line": 189, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6034, "end": 6040, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6040, "end": 6041, "loc": { "start": { "line": 190, "column": 14 }, "end": { "line": 190, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 6041, "end": 6048, "loc": { "start": { "line": 190, "column": 15 }, "end": { "line": 190, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6048, "end": 6049, "loc": { "start": { "line": 190, "column": 22 }, "end": { "line": 190, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 6049, "end": 6054, "loc": { "start": { "line": 190, "column": 23 }, "end": { "line": 190, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6054, "end": 6055, "loc": { "start": { "line": 190, "column": 28 }, "end": { "line": 190, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "message", "start": 6055, "end": 6062, "loc": { "start": { "line": 190, "column": 29 }, "end": { "line": 190, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6062, "end": 6063, "loc": { "start": { "line": 190, "column": 36 }, "end": { "line": 190, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6063, "end": 6064, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6069, "end": 6070, "loc": { "start": { "line": 191, "column": 4 }, "end": { "line": 191, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_mutexActivation", "start": 6076, "end": 6092, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 193, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6092, "end": 6093, "loc": { "start": { "line": 193, "column": 20 }, "end": { "line": 193, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "controllers", "start": 6093, "end": 6104, "loc": { "start": { "line": 193, "column": 21 }, "end": { "line": 193, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6104, "end": 6105, "loc": { "start": { "line": 193, "column": 32 }, "end": { "line": 193, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6106, "end": 6107, "loc": { "start": { "line": 193, "column": 34 }, "end": { "line": 193, "column": 35 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 6116, "end": 6121, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numControllers", "start": 6122, "end": 6136, "loc": { "start": { "line": 194, "column": 14 }, "end": { "line": 194, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6137, "end": 6138, "loc": { "start": { "line": 194, "column": 29 }, "end": { "line": 194, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "controllers", "start": 6139, "end": 6150, "loc": { "start": { "line": 194, "column": 31 }, "end": { "line": 194, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6150, "end": 6151, "loc": { "start": { "line": 194, "column": 42 }, "end": { "line": 194, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 6151, "end": 6157, "loc": { "start": { "line": 194, "column": 43 }, "end": { "line": 194, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6157, "end": 6158, "loc": { "start": { "line": 194, "column": 49 }, "end": { "line": 194, "column": 50 } } }, { "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": 6167, "end": 6170, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6171, "end": 6172, "loc": { "start": { "line": 195, "column": 12 }, "end": { "line": 195, "column": 13 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 6172, "end": 6175, "loc": { "start": { "line": 195, "column": 13 }, "end": { "line": 195, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6176, "end": 6177, "loc": { "start": { "line": 195, "column": 17 }, "end": { "line": 195, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6178, "end": 6179, "loc": { "start": { "line": 195, "column": 19 }, "end": { "line": 195, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6180, "end": 6181, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6181, "end": 6182, "loc": { "start": { "line": 195, "column": 22 }, "end": { "line": 195, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6183, "end": 6184, "loc": { "start": { "line": 195, "column": 24 }, "end": { "line": 195, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 6185, "end": 6186, "loc": { "start": { "line": 195, "column": 26 }, "end": { "line": 195, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numControllers", "start": 6187, "end": 6201, "loc": { "start": { "line": 195, "column": 28 }, "end": { "line": 195, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6201, "end": 6202, "loc": { "start": { "line": 195, "column": 42 }, "end": { "line": 195, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6203, "end": 6204, "loc": { "start": { "line": 195, "column": 44 }, "end": { "line": 195, "column": 45 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 6204, "end": 6206, "loc": { "start": { "line": 195, "column": 45 }, "end": { "line": 195, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6206, "end": 6207, "loc": { "start": { "line": 195, "column": 47 }, "end": { "line": 195, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6208, "end": 6209, "loc": { "start": { "line": 195, "column": 49 }, "end": { "line": 195, "column": 50 } } }, { "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": 6222, "end": 6227, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "controller", "start": 6228, "end": 6238, "loc": { "start": { "line": 196, "column": 18 }, "end": { "line": 196, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6239, "end": 6240, "loc": { "start": { "line": 196, "column": 29 }, "end": { "line": 196, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "controllers", "start": 6241, "end": 6252, "loc": { "start": { "line": 196, "column": 31 }, "end": { "line": 196, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6252, "end": 6253, "loc": { "start": { "line": 196, "column": 42 }, "end": { "line": 196, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6253, "end": 6254, "loc": { "start": { "line": 196, "column": 43 }, "end": { "line": 196, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6254, "end": 6255, "loc": { "start": { "line": 196, "column": 44 }, "end": { "line": 196, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6255, "end": 6256, "loc": { "start": { "line": 196, "column": 45 }, "end": { "line": 196, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "controller", "start": 6269, "end": 6279, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6279, "end": 6280, "loc": { "start": { "line": 197, "column": 22 }, "end": { "line": 197, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "on", "start": 6280, "end": 6282, "loc": { "start": { "line": 197, "column": 23 }, "end": { "line": 197, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6282, "end": 6283, "loc": { "start": { "line": 197, "column": 25 }, "end": { "line": 197, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "active", "start": 6283, "end": 6291, "loc": { "start": { "line": 197, "column": 26 }, "end": { "line": 197, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6291, "end": 6292, "loc": { "start": { "line": 197, "column": 34 }, "end": { "line": 197, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6293, "end": 6294, "loc": { "start": { "line": 197, "column": 36 }, "end": { "line": 197, "column": 37 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 6294, "end": 6302, "loc": { "start": { "line": 197, "column": 37 }, "end": { "line": 197, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6303, "end": 6304, "loc": { "start": { "line": 197, "column": 46 }, "end": { "line": 197, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6304, "end": 6305, "loc": { "start": { "line": 197, "column": 47 }, "end": { "line": 197, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6306, "end": 6307, "loc": { "start": { "line": 197, "column": 49 }, "end": { "line": 197, "column": 50 } } }, { "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": 6324, "end": 6329, "loc": { "start": { "line": 198, "column": 16 }, "end": { "line": 198, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_i", "start": 6330, "end": 6332, "loc": { "start": { "line": 198, "column": 22 }, "end": { "line": 198, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6333, "end": 6334, "loc": { "start": { "line": 198, "column": 25 }, "end": { "line": 198, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6335, "end": 6336, "loc": { "start": { "line": 198, "column": 27 }, "end": { "line": 198, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6336, "end": 6337, "loc": { "start": { "line": 198, "column": 28 }, "end": { "line": 198, "column": 29 } } }, { "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": 6354, "end": 6360, "loc": { "start": { "line": 199, "column": 16 }, "end": { "line": 199, "column": 22 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 6361, "end": 6369, "loc": { "start": { "line": 199, "column": 23 }, "end": { "line": 199, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6370, "end": 6371, "loc": { "start": { "line": 199, "column": 32 }, "end": { "line": 199, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "active", "start": 6371, "end": 6377, "loc": { "start": { "line": 199, "column": 33 }, "end": { "line": 199, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6377, "end": 6378, "loc": { "start": { "line": 199, "column": 39 }, "end": { "line": 199, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6379, "end": 6380, "loc": { "start": { "line": 199, "column": 41 }, "end": { "line": 199, "column": 42 } } }, { "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": 6401, "end": 6403, "loc": { "start": { "line": 200, "column": 20 }, "end": { "line": 200, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6404, "end": 6405, "loc": { "start": { "line": 200, "column": 23 }, "end": { "line": 200, "column": 24 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 6405, "end": 6406, "loc": { "start": { "line": 200, "column": 24 }, "end": { "line": 200, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "active", "start": 6406, "end": 6412, "loc": { "start": { "line": 200, "column": 25 }, "end": { "line": 200, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6412, "end": 6413, "loc": { "start": { "line": 200, "column": 31 }, "end": { "line": 200, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6414, "end": 6415, "loc": { "start": { "line": 200, "column": 33 }, "end": { "line": 200, "column": 34 } } }, { "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": 6440, "end": 6446, "loc": { "start": { "line": 201, "column": 24 }, "end": { "line": 201, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6446, "end": 6447, "loc": { "start": { "line": 201, "column": 30 }, "end": { "line": 201, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6468, "end": 6469, "loc": { "start": { "line": 202, "column": 20 }, "end": { "line": 202, "column": 21 } } }, { "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": 6490, "end": 6493, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 203, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6494, "end": 6495, "loc": { "start": { "line": 203, "column": 24 }, "end": { "line": 203, "column": 25 } } }, { "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": 6495, "end": 6498, "loc": { "start": { "line": 203, "column": 25 }, "end": { "line": 203, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 6499, "end": 6500, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6501, "end": 6502, "loc": { "start": { "line": 203, "column": 31 }, "end": { "line": 203, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6503, "end": 6504, "loc": { "start": { "line": 203, "column": 33 }, "end": { "line": 203, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6504, "end": 6505, "loc": { "start": { "line": 203, "column": 34 }, "end": { "line": 203, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 6506, "end": 6507, "loc": { "start": { "line": 203, "column": 36 }, "end": { "line": 203, "column": 37 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 6508, "end": 6509, "loc": { "start": { "line": 203, "column": 38 }, "end": { "line": 203, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numControllers", "start": 6510, "end": 6524, "loc": { "start": { "line": 203, "column": 40 }, "end": { "line": 203, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6524, "end": 6525, "loc": { "start": { "line": 203, "column": 54 }, "end": { "line": 203, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 6526, "end": 6527, "loc": { "start": { "line": 203, "column": 56 }, "end": { "line": 203, "column": 57 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 6527, "end": 6529, "loc": { "start": { "line": 203, "column": 57 }, "end": { "line": 203, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6529, "end": 6530, "loc": { "start": { "line": 203, "column": 59 }, "end": { "line": 203, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6531, "end": 6532, "loc": { "start": { "line": 203, "column": 61 }, "end": { "line": 203, "column": 62 } } }, { "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": 6557, "end": 6559, "loc": { "start": { "line": 204, "column": 24 }, "end": { "line": 204, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6560, "end": 6561, "loc": { "start": { "line": 204, "column": 27 }, "end": { "line": 204, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 6561, "end": 6562, "loc": { "start": { "line": 204, "column": 28 }, "end": { "line": 204, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6563, "end": 6566, "loc": { "start": { "line": 204, "column": 30 }, "end": { "line": 204, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_i", "start": 6567, "end": 6569, "loc": { "start": { "line": 204, "column": 34 }, "end": { "line": 204, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6569, "end": 6570, "loc": { "start": { "line": 204, "column": 36 }, "end": { "line": 204, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6571, "end": 6572, "loc": { "start": { "line": 204, "column": 38 }, "end": { "line": 204, "column": 39 } } }, { "type": { "label": "continue", "keyword": "continue", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "continue", "start": 6601, "end": 6609, "loc": { "start": { "line": 205, "column": 28 }, "end": { "line": 205, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6609, "end": 6610, "loc": { "start": { "line": 205, "column": 36 }, "end": { "line": 205, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6635, "end": 6636, "loc": { "start": { "line": 206, "column": 24 }, "end": { "line": 206, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "controllers", "start": 6661, "end": 6672, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6672, "end": 6673, "loc": { "start": { "line": 207, "column": 35 }, "end": { "line": 207, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 6673, "end": 6674, "loc": { "start": { "line": 207, "column": 36 }, "end": { "line": 207, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6674, "end": 6675, "loc": { "start": { "line": 207, "column": 37 }, "end": { "line": 207, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6675, "end": 6676, "loc": { "start": { "line": 207, "column": 38 }, "end": { "line": 207, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setActive", "start": 6676, "end": 6685, "loc": { "start": { "line": 207, "column": 39 }, "end": { "line": 207, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6685, "end": 6686, "loc": { "start": { "line": 207, "column": 48 }, "end": { "line": 207, "column": 49 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 6686, "end": 6691, "loc": { "start": { "line": 207, "column": 49 }, "end": { "line": 207, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6691, "end": 6692, "loc": { "start": { "line": 207, "column": 54 }, "end": { "line": 207, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6692, "end": 6693, "loc": { "start": { "line": 207, "column": 55 }, "end": { "line": 207, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6714, "end": 6715, "loc": { "start": { "line": 208, "column": 20 }, "end": { "line": 208, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6732, "end": 6733, "loc": { "start": { "line": 209, "column": 16 }, "end": { "line": 209, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6733, "end": 6734, "loc": { "start": { "line": 209, "column": 17 }, "end": { "line": 209, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6747, "end": 6748, "loc": { "start": { "line": 210, "column": 12 }, "end": { "line": 210, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6748, "end": 6749, "loc": { "start": { "line": 210, "column": 13 }, "end": { "line": 210, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6749, "end": 6750, "loc": { "start": { "line": 210, "column": 14 }, "end": { "line": 210, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6750, "end": 6751, "loc": { "start": { "line": 210, "column": 15 }, "end": { "line": 210, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6751, "end": 6752, "loc": { "start": { "line": 210, "column": 16 }, "end": { "line": 210, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6752, "end": 6753, "loc": { "start": { "line": 210, "column": 17 }, "end": { "line": 210, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6762, "end": 6763, "loc": { "start": { "line": 211, "column": 8 }, "end": { "line": 211, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6768, "end": 6769, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Enables or disables this Controller.\n *\n * Fires an \"enabled\" event on update.\n *\n * @protected\n * @param {boolean} enabled Whether or not to enable.\n ", "start": 6775, "end": 6963, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 221, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setEnabled", "start": 6968, "end": 6978, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6978, "end": 6979, "loc": { "start": { "line": 222, "column": 14 }, "end": { "line": 222, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enabled", "start": 6979, "end": 6986, "loc": { "start": { "line": 222, "column": 15 }, "end": { "line": 222, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6986, "end": 6987, "loc": { "start": { "line": 222, "column": 22 }, "end": { "line": 222, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6988, "end": 6989, "loc": { "start": { "line": 222, "column": 24 }, "end": { "line": 222, "column": 25 } } }, { "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": 6998, "end": 7000, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 223, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7001, "end": 7002, "loc": { "start": { "line": 223, "column": 11 }, "end": { "line": 223, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7002, "end": 7006, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7006, "end": 7007, "loc": { "start": { "line": 223, "column": 16 }, "end": { "line": 223, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_enabled", "start": 7007, "end": 7015, "loc": { "start": { "line": 223, "column": 17 }, "end": { "line": 223, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7016, "end": 7019, "loc": { "start": { "line": 223, "column": 26 }, "end": { "line": 223, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enabled", "start": 7020, "end": 7027, "loc": { "start": { "line": 223, "column": 30 }, "end": { "line": 223, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7027, "end": 7028, "loc": { "start": { "line": 223, "column": 37 }, "end": { "line": 223, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7029, "end": 7030, "loc": { "start": { "line": 223, "column": 39 }, "end": { "line": 223, "column": 40 } } }, { "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": 7043, "end": 7049, "loc": { "start": { "line": 224, "column": 12 }, "end": { "line": 224, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7049, "end": 7050, "loc": { "start": { "line": 224, "column": 18 }, "end": { "line": 224, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7059, "end": 7060, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7069, "end": 7073, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7073, "end": 7074, "loc": { "start": { "line": 226, "column": 12 }, "end": { "line": 226, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_enabled", "start": 7074, "end": 7082, "loc": { "start": { "line": 226, "column": 13 }, "end": { "line": 226, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7083, "end": 7084, "loc": { "start": { "line": 226, "column": 22 }, "end": { "line": 226, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enabled", "start": 7085, "end": 7092, "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7092, "end": 7093, "loc": { "start": { "line": 226, "column": 31 }, "end": { "line": 226, "column": 32 } } }, { "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": 7102, "end": 7106, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7106, "end": 7107, "loc": { "start": { "line": 227, "column": 12 }, "end": { "line": 227, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fire", "start": 7107, "end": 7111, "loc": { "start": { "line": 227, "column": 13 }, "end": { "line": 227, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7111, "end": 7112, "loc": { "start": { "line": 227, "column": 17 }, "end": { "line": 227, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "enabled", "start": 7112, "end": 7121, "loc": { "start": { "line": 227, "column": 18 }, "end": { "line": 227, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7121, "end": 7122, "loc": { "start": { "line": 227, "column": 27 }, "end": { "line": 227, "column": 28 } } }, { "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": 7123, "end": 7127, "loc": { "start": { "line": 227, "column": 29 }, "end": { "line": 227, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7127, "end": 7128, "loc": { "start": { "line": 227, "column": 33 }, "end": { "line": 227, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_enabled", "start": 7128, "end": 7136, "loc": { "start": { "line": 227, "column": 34 }, "end": { "line": 227, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7136, "end": 7137, "loc": { "start": { "line": 227, "column": 42 }, "end": { "line": 227, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7137, "end": 7138, "loc": { "start": { "line": 227, "column": 43 }, "end": { "line": 227, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7143, "end": 7144, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 228, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is enabled.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7150, "end": 7274, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 236, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEnabled", "start": 7279, "end": 7289, "loc": { "start": { "line": 237, "column": 4 }, "end": { "line": 237, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7289, "end": 7290, "loc": { "start": { "line": 237, "column": 14 }, "end": { "line": 237, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7290, "end": 7291, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7292, "end": 7293, "loc": { "start": { "line": 237, "column": 17 }, "end": { "line": 237, "column": 18 } } }, { "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": 7302, "end": 7308, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "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": 7309, "end": 7313, "loc": { "start": { "line": 238, "column": 15 }, "end": { "line": 238, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7313, "end": 7314, "loc": { "start": { "line": 238, "column": 19 }, "end": { "line": 238, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_enabled", "start": 7314, "end": 7322, "loc": { "start": { "line": 238, "column": 20 }, "end": { "line": 238, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7322, "end": 7323, "loc": { "start": { "line": 238, "column": 28 }, "end": { "line": 238, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7328, "end": 7329, "loc": { "start": { "line": 239, "column": 4 }, "end": { "line": 239, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Activates or deactivates this Controller.\n *\n * Fires an \"active\" event on update.\n *\n * @protected\n *\n * @param {boolean} active Whether or not to activate.\n ", "start": 7335, "end": 7535, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 249, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setActive", "start": 7540, "end": 7549, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 250, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7549, "end": 7550, "loc": { "start": { "line": 250, "column": 13 }, "end": { "line": 250, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "active", "start": 7550, "end": 7556, "loc": { "start": { "line": 250, "column": 14 }, "end": { "line": 250, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7556, "end": 7557, "loc": { "start": { "line": 250, "column": 20 }, "end": { "line": 250, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7558, "end": 7559, "loc": { "start": { "line": 250, "column": 22 }, "end": { "line": 250, "column": 23 } } }, { "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": 7568, "end": 7570, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7571, "end": 7572, "loc": { "start": { "line": 251, "column": 11 }, "end": { "line": 251, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7572, "end": 7576, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7576, "end": 7577, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 251, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_active", "start": 7577, "end": 7584, "loc": { "start": { "line": 251, "column": 17 }, "end": { "line": 251, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7585, "end": 7588, "loc": { "start": { "line": 251, "column": 25 }, "end": { "line": 251, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "active", "start": 7589, "end": 7595, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7595, "end": 7596, "loc": { "start": { "line": 251, "column": 35 }, "end": { "line": 251, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7597, "end": 7598, "loc": { "start": { "line": 251, "column": 37 }, "end": { "line": 251, "column": 38 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 7611, "end": 7617, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 252, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7617, "end": 7618, "loc": { "start": { "line": 252, "column": 18 }, "end": { "line": 252, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7627, "end": 7628, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7637, "end": 7641, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7641, "end": 7642, "loc": { "start": { "line": 254, "column": 12 }, "end": { "line": 254, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_active", "start": 7642, "end": 7649, "loc": { "start": { "line": 254, "column": 13 }, "end": { "line": 254, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7650, "end": 7651, "loc": { "start": { "line": 254, "column": 21 }, "end": { "line": 254, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "active", "start": 7652, "end": 7658, "loc": { "start": { "line": 254, "column": 23 }, "end": { "line": 254, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7658, "end": 7659, "loc": { "start": { "line": 254, "column": 29 }, "end": { "line": 254, "column": 30 } } }, { "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": 7668, "end": 7672, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7672, "end": 7673, "loc": { "start": { "line": 255, "column": 12 }, "end": { "line": 255, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fire", "start": 7673, "end": 7677, "loc": { "start": { "line": 255, "column": 13 }, "end": { "line": 255, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7677, "end": 7678, "loc": { "start": { "line": 255, "column": 17 }, "end": { "line": 255, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "active", "start": 7678, "end": 7686, "loc": { "start": { "line": 255, "column": 18 }, "end": { "line": 255, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7686, "end": 7687, "loc": { "start": { "line": 255, "column": 26 }, "end": { "line": 255, "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": 7688, "end": 7692, "loc": { "start": { "line": 255, "column": 28 }, "end": { "line": 255, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7692, "end": 7693, "loc": { "start": { "line": 255, "column": 32 }, "end": { "line": 255, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_active", "start": 7693, "end": 7700, "loc": { "start": { "line": 255, "column": 33 }, "end": { "line": 255, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7700, "end": 7701, "loc": { "start": { "line": 255, "column": 40 }, "end": { "line": 255, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7701, "end": 7702, "loc": { "start": { "line": 255, "column": 41 }, "end": { "line": 255, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7707, "end": 7708, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Gets whether or not this Controller is active.\n *\n * @protected\n *\n * @returns {boolean}\n ", "start": 7714, "end": 7837, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 264, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getActive", "start": 7842, "end": 7851, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7851, "end": 7852, "loc": { "start": { "line": 265, "column": 13 }, "end": { "line": 265, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7852, "end": 7853, "loc": { "start": { "line": 265, "column": 14 }, "end": { "line": 265, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7854, "end": 7855, "loc": { "start": { "line": 265, "column": 16 }, "end": { "line": 265, "column": 17 } } }, { "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": 7864, "end": 7870, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "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": 7871, "end": 7875, "loc": { "start": { "line": 266, "column": 15 }, "end": { "line": 266, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7875, "end": 7876, "loc": { "start": { "line": 266, "column": 19 }, "end": { "line": 266, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_active", "start": 7876, "end": 7883, "loc": { "start": { "line": 266, "column": 20 }, "end": { "line": 266, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7883, "end": 7884, "loc": { "start": { "line": 266, "column": 27 }, "end": { "line": 266, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7889, "end": 7890, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Destroys this Controller.\n *\n * @protected\n *\n ", "start": 7896, "end": 7972, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 274, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 7977, "end": 7984, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7984, "end": 7985, "loc": { "start": { "line": 275, "column": 11 }, "end": { "line": 275, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7985, "end": 7986, "loc": { "start": { "line": 275, "column": 12 }, "end": { "line": 275, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7987, "end": 7988, "loc": { "start": { "line": 275, "column": 14 }, "end": { "line": 275, "column": 15 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7997, "end": 7999, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8000, "end": 8001, "loc": { "start": { "line": 276, "column": 11 }, "end": { "line": 276, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8001, "end": 8005, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8005, "end": 8006, "loc": { "start": { "line": 276, "column": 16 }, "end": { "line": 276, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroyed", "start": 8006, "end": 8015, "loc": { "start": { "line": 276, "column": 17 }, "end": { "line": 276, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8015, "end": 8016, "loc": { "start": { "line": 276, "column": 26 }, "end": { "line": 276, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8017, "end": 8018, "loc": { "start": { "line": 276, "column": 28 }, "end": { "line": 276, "column": 29 } } }, { "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": 8031, "end": 8037, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8037, "end": 8038, "loc": { "start": { "line": 277, "column": 18 }, "end": { "line": 277, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8047, "end": 8048, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 9 } } }, { "type": "CommentBlock", "value": "*\n * Fired when this Controller is destroyed.\n * @event destroyed\n ", "start": 8057, "end": 8152, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 282, "column": 11 } } }, { "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": 8161, "end": 8165, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8165, "end": 8166, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fire", "start": 8166, "end": 8170, "loc": { "start": { "line": 283, "column": 13 }, "end": { "line": 283, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8170, "end": 8171, "loc": { "start": { "line": 283, "column": 17 }, "end": { "line": 283, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "destroyed", "start": 8171, "end": 8182, "loc": { "start": { "line": 283, "column": 18 }, "end": { "line": 283, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8182, "end": 8183, "loc": { "start": { "line": 283, "column": 29 }, "end": { "line": 283, "column": 30 } } }, { "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": 8184, "end": 8188, "loc": { "start": { "line": 283, "column": 31 }, "end": { "line": 283, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8188, "end": 8189, "loc": { "start": { "line": 283, "column": 35 }, "end": { "line": 283, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroyed", "start": 8189, "end": 8198, "loc": { "start": { "line": 283, "column": 36 }, "end": { "line": 283, "column": 45 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8199, "end": 8200, "loc": { "start": { "line": 283, "column": 46 }, "end": { "line": 283, "column": 47 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 8201, "end": 8205, "loc": { "start": { "line": 283, "column": 48 }, "end": { "line": 283, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8205, "end": 8206, "loc": { "start": { "line": 283, "column": 52 }, "end": { "line": 283, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8206, "end": 8207, "loc": { "start": { "line": 283, "column": 53 }, "end": { "line": 283, "column": 54 } } }, { "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": 8216, "end": 8220, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8220, "end": 8221, "loc": { "start": { "line": 284, "column": 12 }, "end": { "line": 284, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdMap", "start": 8221, "end": 8230, "loc": { "start": { "line": 284, "column": 13 }, "end": { "line": 284, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8231, "end": 8232, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 24 } } }, { "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": 8233, "end": 8237, "loc": { "start": { "line": 284, "column": 25 }, "end": { "line": 284, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8237, "end": 8238, "loc": { "start": { "line": 284, "column": 29 }, "end": { "line": 284, "column": 30 } } }, { "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": 8247, "end": 8251, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8251, "end": 8252, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_subIdEvents", "start": 8252, "end": 8264, "loc": { "start": { "line": 285, "column": 13 }, "end": { "line": 285, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8265, "end": 8266, "loc": { "start": { "line": 285, "column": 26 }, "end": { "line": 285, "column": 27 } } }, { "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": 8267, "end": 8271, "loc": { "start": { "line": 285, "column": 28 }, "end": { "line": 285, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8271, "end": 8272, "loc": { "start": { "line": 285, "column": 32 }, "end": { "line": 285, "column": 33 } } }, { "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": 8281, "end": 8285, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8285, "end": 8286, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventSubs", "start": 8286, "end": 8296, "loc": { "start": { "line": 286, "column": 13 }, "end": { "line": 286, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8297, "end": 8298, "loc": { "start": { "line": 286, "column": 24 }, "end": { "line": 286, "column": 25 } } }, { "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": 8299, "end": 8303, "loc": { "start": { "line": 286, "column": 26 }, "end": { "line": 286, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8303, "end": 8304, "loc": { "start": { "line": 286, "column": 30 }, "end": { "line": 286, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8313, "end": 8317, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8317, "end": 8318, "loc": { "start": { "line": 287, "column": 12 }, "end": { "line": 287, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_events", "start": 8318, "end": 8325, "loc": { "start": { "line": 287, "column": 13 }, "end": { "line": 287, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8326, "end": 8327, "loc": { "start": { "line": 287, "column": 21 }, "end": { "line": 287, "column": 22 } } }, { "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": 8328, "end": 8332, "loc": { "start": { "line": 287, "column": 23 }, "end": { "line": 287, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8332, "end": 8333, "loc": { "start": { "line": 287, "column": 27 }, "end": { "line": 287, "column": 28 } } }, { "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": 8342, "end": 8346, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8346, "end": 8347, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_eventCallDepth", "start": 8347, "end": 8362, "loc": { "start": { "line": 288, "column": 13 }, "end": { "line": 288, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8363, "end": 8364, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8365, "end": 8366, "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 288, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8366, "end": 8367, "loc": { "start": { "line": 288, "column": 32 }, "end": { "line": 288, "column": 33 } } }, { "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": 8376, "end": 8379, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8380, "end": 8381, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 13 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 8381, "end": 8384, "loc": { "start": { "line": 289, "column": 13 }, "end": { "line": 289, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8385, "end": 8386, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8387, "end": 8388, "loc": { "start": { "line": 289, "column": 19 }, "end": { "line": 289, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8389, "end": 8390, "loc": { "start": { "line": 289, "column": 21 }, "end": { "line": 289, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8390, "end": 8391, "loc": { "start": { "line": 289, "column": 22 }, "end": { "line": 289, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 8392, "end": 8395, "loc": { "start": { "line": 289, "column": 24 }, "end": { "line": 289, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8396, "end": 8397, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "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": 8398, "end": 8402, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8402, "end": 8403, "loc": { "start": { "line": 289, "column": 34 }, "end": { "line": 289, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_children", "start": 8403, "end": 8412, "loc": { "start": { "line": 289, "column": 35 }, "end": { "line": 289, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8412, "end": 8413, "loc": { "start": { "line": 289, "column": 44 }, "end": { "line": 289, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 8413, "end": 8419, "loc": { "start": { "line": 289, "column": 45 }, "end": { "line": 289, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8419, "end": 8420, "loc": { "start": { "line": 289, "column": 51 }, "end": { "line": 289, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8421, "end": 8422, "loc": { "start": { "line": 289, "column": 53 }, "end": { "line": 289, "column": 54 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 8423, "end": 8424, "loc": { "start": { "line": 289, "column": 55 }, "end": { "line": 289, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 8425, "end": 8428, "loc": { "start": { "line": 289, "column": 57 }, "end": { "line": 289, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8428, "end": 8429, "loc": { "start": { "line": 289, "column": 60 }, "end": { "line": 289, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8430, "end": 8431, "loc": { "start": { "line": 289, "column": 62 }, "end": { "line": 289, "column": 63 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 8431, "end": 8433, "loc": { "start": { "line": 289, "column": 63 }, "end": { "line": 289, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8433, "end": 8434, "loc": { "start": { "line": 289, "column": 65 }, "end": { "line": 289, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8435, "end": 8436, "loc": { "start": { "line": 289, "column": 67 }, "end": { "line": 289, "column": 68 } } }, { "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": 8449, "end": 8453, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8453, "end": 8454, "loc": { "start": { "line": 290, "column": 16 }, "end": { "line": 290, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_children", "start": 8454, "end": 8463, "loc": { "start": { "line": 290, "column": 17 }, "end": { "line": 290, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8463, "end": 8464, "loc": { "start": { "line": 290, "column": 26 }, "end": { "line": 290, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8464, "end": 8465, "loc": { "start": { "line": 290, "column": 27 }, "end": { "line": 290, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8465, "end": 8466, "loc": { "start": { "line": 290, "column": 28 }, "end": { "line": 290, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8466, "end": 8467, "loc": { "start": { "line": 290, "column": 29 }, "end": { "line": 290, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 8467, "end": 8474, "loc": { "start": { "line": 290, "column": 30 }, "end": { "line": 290, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8474, "end": 8475, "loc": { "start": { "line": 290, "column": 37 }, "end": { "line": 290, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8475, "end": 8476, "loc": { "start": { "line": 290, "column": 38 }, "end": { "line": 290, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8476, "end": 8477, "loc": { "start": { "line": 290, "column": 39 }, "end": { "line": 290, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8486, "end": 8487, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8496, "end": 8500, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8500, "end": 8501, "loc": { "start": { "line": 292, "column": 12 }, "end": { "line": 292, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_children", "start": 8501, "end": 8510, "loc": { "start": { "line": 292, "column": 13 }, "end": { "line": 292, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8511, "end": 8512, "loc": { "start": { "line": 292, "column": 23 }, "end": { "line": 292, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8513, "end": 8514, "loc": { "start": { "line": 292, "column": 25 }, "end": { "line": 292, "column": 26 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8514, "end": 8515, "loc": { "start": { "line": 292, "column": 26 }, "end": { "line": 292, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8515, "end": 8516, "loc": { "start": { "line": 292, "column": 27 }, "end": { "line": 292, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8521, "end": 8522, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 293, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8523, "end": 8524, "loc": { "start": { "line": 294, "column": 0 }, "end": { "line": 294, "column": 1 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 8526, "end": 8532, "loc": { "start": { "line": 296, "column": 0 }, "end": { "line": 296, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8533, "end": 8534, "loc": { "start": { "line": 296, "column": 7 }, "end": { "line": 296, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Controller", "start": 8534, "end": 8544, "loc": { "start": { "line": 296, "column": 8 }, "end": { "line": 296, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8544, "end": 8545, "loc": { "start": { "line": 296, "column": 18 }, "end": { "line": 296, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8545, "end": 8546, "loc": { "start": { "line": 296, "column": 19 }, "end": { "line": 296, "column": 20 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8546, "end": 8546, "loc": { "start": { "line": 296, "column": 20 }, "end": { "line": 296, "column": 20 } } } ] }