1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-03 06:22:34 +02:00
TableFilter/docs/ast/source/emitter.js.json
koalyptus 4481fbe361 publish Docs to gh-pages (auto)
branch:       master
SHA:          c7d6de72f7
range SHA:    81f31a3106fb...c7d6de72f785
build id:     375208741
build number: 1103
2018-05-05 08:21:30 +00:00

7652 lines
210 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1323,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 54,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1323,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 54,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ExportNamedDeclaration",
"start": 31,
"end": 1322,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 53,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 38,
"end": 1322,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 53,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 44,
"end": 51,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 20
},
"identifierName": "Emitter"
},
"name": "Emitter",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 52,
"end": 1322,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 53,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 113,
"end": 235,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 113,
"end": 124,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 127,
"end": 235,
"loc": {
"start": {
"line": 8,
"column": 18
},
"end": {
"line": 14,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 212,
"end": 229,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 212,
"end": 228,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 212,
"end": 223,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 212,
"end": 216,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 217,
"end": 223,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 19
},
"identifierName": "events"
},
"name": "events"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ObjectExpression",
"start": 226,
"end": 228,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 24
}
},
"properties": []
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Events object\n * @type {Object}\n ",
"start": 137,
"end": 203,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 12,
"column": 11
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Creates an instance of Emitter.\n ",
"start": 58,
"end": 108,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 7,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Subscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ",
"start": 241,
"end": 406,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 20,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 411,
"end": 569,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 26,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 411,
"end": 413,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 6
},
"identifierName": "on"
},
"name": "on",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 414,
"end": 418,
"loc": {
"start": {
"line": 21,
"column": 7
},
"end": {
"line": 21,
"column": 11
},
"identifierName": "evts"
},
"name": "evts"
},
{
"type": "Identifier",
"start": 420,
"end": 422,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 15
},
"identifierName": "fn"
},
"name": "fn"
}
],
"body": {
"type": "BlockStatement",
"start": 424,
"end": 569,
"loc": {
"start": {
"line": 21,
"column": 17
},
"end": {
"line": 26,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 434,
"end": 563,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 25,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 434,
"end": 562,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 25,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 434,
"end": 446,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 434,
"end": 438,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 12
},
"identifierName": "evts"
},
"name": "evts"
},
"property": {
"type": "Identifier",
"start": 439,
"end": 446,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 20
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 447,
"end": 561,
"loc": {
"start": {
"line": 22,
"column": 21
},
"end": {
"line": 25,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 448,
"end": 451,
"loc": {
"start": {
"line": 22,
"column": 22
},
"end": {
"line": 22,
"column": 25
},
"identifierName": "evt"
},
"name": "evt"
}
],
"body": {
"type": "BlockStatement",
"start": 456,
"end": 561,
"loc": {
"start": {
"line": 22,
"column": 30
},
"end": {
"line": 25,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 470,
"end": 512,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 54
}
},
"expression": {
"type": "AssignmentExpression",
"start": 470,
"end": 511,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 53
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 470,
"end": 486,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 28
}
},
"object": {
"type": "MemberExpression",
"start": 470,
"end": 481,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 470,
"end": 474,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 475,
"end": 481,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 23
},
"identifierName": "events"
},
"name": "events"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 482,
"end": 485,
"loc": {
"start": {
"line": 23,
"column": 24
},
"end": {
"line": 23,
"column": 27
},
"identifierName": "evt"
},
"name": "evt"
},
"computed": true
},
"right": {
"type": "LogicalExpression",
"start": 489,
"end": 511,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 53
}
},
"left": {
"type": "MemberExpression",
"start": 489,
"end": 505,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 489,
"end": 500,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 489,
"end": 493,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 494,
"end": 500,
"loc": {
"start": {
"line": 23,
"column": 36
},
"end": {
"line": 23,
"column": 42
},
"identifierName": "events"
},
"name": "events"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 501,
"end": 504,
"loc": {
"start": {
"line": 23,
"column": 43
},
"end": {
"line": 23,
"column": 46
},
"identifierName": "evt"
},
"name": "evt"
},
"computed": true
},
"operator": "||",
"right": {
"type": "ArrayExpression",
"start": 509,
"end": 511,
"loc": {
"start": {
"line": 23,
"column": 51
},
"end": {
"line": 23,
"column": 53
}
},
"elements": []
}
}
}
},
{
"type": "ExpressionStatement",
"start": 525,
"end": 551,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 525,
"end": 550,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 525,
"end": 546,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 525,
"end": 541,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 28
}
},
"object": {
"type": "MemberExpression",
"start": 525,
"end": 536,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 525,
"end": 529,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 530,
"end": 536,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 23
},
"identifierName": "events"
},
"name": "events"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 537,
"end": 540,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 24,
"column": 27
},
"identifierName": "evt"
},
"name": "evt"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 542,
"end": 546,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 33
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 547,
"end": 549,
"loc": {
"start": {
"line": 24,
"column": 34
},
"end": {
"line": 24,
"column": 36
},
"identifierName": "fn"
},
"name": "fn"
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Subscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ",
"start": 241,
"end": 406,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 20,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Unsubscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ",
"start": 575,
"end": 742,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 747,
"end": 938,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 39,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 747,
"end": 750,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 7
},
"identifierName": "off"
},
"name": "off",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 751,
"end": 755,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
},
"identifierName": "evts"
},
"name": "evts"
},
{
"type": "Identifier",
"start": 757,
"end": 759,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 16
},
"identifierName": "fn"
},
"name": "fn"
}
],
"body": {
"type": "BlockStatement",
"start": 761,
"end": 938,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 39,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 771,
"end": 932,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 38,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 771,
"end": 931,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 38,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 771,
"end": 783,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 771,
"end": 775,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 12
},
"identifierName": "evts"
},
"name": "evts"
},
"property": {
"type": "Identifier",
"start": 776,
"end": 783,
"loc": {
"start": {
"line": 34,
"column": 13
},
"end": {
"line": 34,
"column": 20
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 784,
"end": 930,
"loc": {
"start": {
"line": 34,
"column": 21
},
"end": {
"line": 38,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 785,
"end": 788,
"loc": {
"start": {
"line": 34,
"column": 22
},
"end": {
"line": 34,
"column": 25
},
"identifierName": "evt"
},
"name": "evt"
}
],
"body": {
"type": "BlockStatement",
"start": 793,
"end": 930,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 38,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 807,
"end": 920,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 37,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 811,
"end": 829,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 34
}
},
"left": {
"type": "Identifier",
"start": 811,
"end": 814,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 19
},
"identifierName": "evt"
},
"name": "evt"
},
"operator": "in",
"right": {
"type": "MemberExpression",
"start": 818,
"end": 829,
"loc": {
"start": {
"line": 35,
"column": 23
},
"end": {
"line": 35,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 818,
"end": 822,
"loc": {
"start": {
"line": 35,
"column": 23
},
"end": {
"line": 35,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 823,
"end": 829,
"loc": {
"start": {
"line": 35,
"column": 28
},
"end": {
"line": 35,
"column": 34
},
"identifierName": "events"
},
"name": "events"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 831,
"end": 920,
"loc": {
"start": {
"line": 35,
"column": 36
},
"end": {
"line": 37,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 849,
"end": 906,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 73
}
},
"expression": {
"type": "CallExpression",
"start": 849,
"end": 905,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 849,
"end": 872,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 849,
"end": 865,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 849,
"end": 860,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 849,
"end": 853,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 854,
"end": 860,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 27
},
"identifierName": "events"
},
"name": "events"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 861,
"end": 864,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 31
},
"identifierName": "evt"
},
"name": "evt"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 866,
"end": 872,
"loc": {
"start": {
"line": 36,
"column": 33
},
"end": {
"line": 36,
"column": 39
},
"identifierName": "splice"
},
"name": "splice"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 873,
"end": 901,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 36,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
"start": 873,
"end": 897,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 36,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 873,
"end": 889,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 36,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 873,
"end": 884,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 36,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 873,
"end": 877,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 36,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 878,
"end": 884,
"loc": {
"start": {
"line": 36,
"column": 45
},
"end": {
"line": 36,
"column": 51
},
"identifierName": "events"
},
"name": "events"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 885,
"end": 888,
"loc": {
"start": {
"line": 36,
"column": 52
},
"end": {
"line": 36,
"column": 55
},
"identifierName": "evt"
},
"name": "evt"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 890,
"end": 897,
"loc": {
"start": {
"line": 36,
"column": 57
},
"end": {
"line": 36,
"column": 64
},
"identifierName": "indexOf"
},
"name": "indexOf"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 898,
"end": 900,
"loc": {
"start": {
"line": 36,
"column": 65
},
"end": {
"line": 36,
"column": 67
},
"identifierName": "fn"
},
"name": "fn"
}
]
},
{
"type": "NumericLiteral",
"start": 903,
"end": 904,
"loc": {
"start": {
"line": 36,
"column": 70
},
"end": {
"line": 36,
"column": 71
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Unsubscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ",
"start": 575,
"end": 742,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Emit an event\n * @param {String} evt Event name followed by any other argument passed to\n * the invoked function\n ",
"start": 944,
"end": 1084,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1089,
"end": 1320,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1089,
"end": 1093,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 8
},
"identifierName": "emit"
},
"name": "emit",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1094,
"end": 1097,
"loc": {
"start": {
"line": 46,
"column": 9
},
"end": {
"line": 46,
"column": 12
},
"identifierName": "evt"
},
"name": "evt",
"leadingComments": null,
"trailingComments": [
{
"type": "CommentBlock",
"value": ", args...",
"start": 1098,
"end": 1111,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 26
}
}
}
]
}
],
"body": {
"type": "BlockStatement",
"start": 1113,
"end": 1320,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 52,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1123,
"end": 1314,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 51,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 1127,
"end": 1145,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 1127,
"end": 1130,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 15
},
"identifierName": "evt"
},
"name": "evt",
"leadingComments": null
},
"operator": "in",
"right": {
"type": "MemberExpression",
"start": 1134,
"end": 1145,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 47,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1134,
"end": 1138,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 47,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 1139,
"end": 1145,
"loc": {
"start": {
"line": 47,
"column": 24
},
"end": {
"line": 47,
"column": 30
},
"identifierName": "events"
},
"name": "events"
},
"computed": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 1147,
"end": 1314,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 51,
"column": 9
}
},
"body": [
{
"type": "ForStatement",
"start": 1161,
"end": 1304,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 50,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 1166,
"end": 1175,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1170,
"end": 1175,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 1170,
"end": 1171,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 22
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 1174,
"end": 1175,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1177,
"end": 1204,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 1177,
"end": 1178,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1181,
"end": 1204,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1181,
"end": 1197,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 1181,
"end": 1192,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 1181,
"end": 1185,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 1186,
"end": 1192,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 43
},
"identifierName": "events"
},
"name": "events"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1193,
"end": 1196,
"loc": {
"start": {
"line": 48,
"column": 44
},
"end": {
"line": 48,
"column": 47
},
"identifierName": "evt"
},
"name": "evt"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 1198,
"end": 1204,
"loc": {
"start": {
"line": 48,
"column": 49
},
"end": {
"line": 48,
"column": 55
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1206,
"end": 1209,
"loc": {
"start": {
"line": 48,
"column": 57
},
"end": {
"line": 48,
"column": 60
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 1206,
"end": 1207,
"loc": {
"start": {
"line": 48,
"column": 57
},
"end": {
"line": 48,
"column": 58
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 1211,
"end": 1304,
"loc": {
"start": {
"line": 48,
"column": 62
},
"end": {
"line": 50,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1229,
"end": 1290,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 77
}
},
"expression": {
"type": "CallExpression",
"start": 1229,
"end": 1289,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 1229,
"end": 1254,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1229,
"end": 1248,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 1229,
"end": 1245,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 1229,
"end": 1240,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1229,
"end": 1233,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1234,
"end": 1240,
"loc": {
"start": {
"line": 49,
"column": 21
},
"end": {
"line": 49,
"column": 27
},
"identifierName": "events"
},
"name": "events"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1241,
"end": 1244,
"loc": {
"start": {
"line": 49,
"column": 28
},
"end": {
"line": 49,
"column": 31
},
"identifierName": "evt"
},
"name": "evt"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 1246,
"end": 1247,
"loc": {
"start": {
"line": 49,
"column": 33
},
"end": {
"line": 49,
"column": 34
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 1249,
"end": 1254,
"loc": {
"start": {
"line": 49,
"column": 36
},
"end": {
"line": 49,
"column": 41
},
"identifierName": "apply"
},
"name": "apply"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1255,
"end": 1259,
"loc": {
"start": {
"line": 49,
"column": 42
},
"end": {
"line": 49,
"column": 46
}
}
},
{
"type": "CallExpression",
"start": 1261,
"end": 1288,
"loc": {
"start": {
"line": 49,
"column": 48
},
"end": {
"line": 49,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 1261,
"end": 1274,
"loc": {
"start": {
"line": 49,
"column": 48
},
"end": {
"line": 49,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 1261,
"end": 1269,
"loc": {
"start": {
"line": 49,
"column": 48
},
"end": {
"line": 49,
"column": 56
}
},
"object": {
"type": "ArrayExpression",
"start": 1261,
"end": 1263,
"loc": {
"start": {
"line": 49,
"column": 48
},
"end": {
"line": 49,
"column": 50
}
},
"elements": []
},
"property": {
"type": "Identifier",
"start": 1264,
"end": 1269,
"loc": {
"start": {
"line": 49,
"column": 51
},
"end": {
"line": 49,
"column": 56
},
"identifierName": "slice"
},
"name": "slice"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1270,
"end": 1274,
"loc": {
"start": {
"line": 49,
"column": 57
},
"end": {
"line": 49,
"column": 61
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1275,
"end": 1284,
"loc": {
"start": {
"line": 49,
"column": 62
},
"end": {
"line": 49,
"column": 71
},
"identifierName": "arguments"
},
"name": "arguments"
},
{
"type": "NumericLiteral",
"start": 1286,
"end": 1287,
"loc": {
"start": {
"line": 49,
"column": 73
},
"end": {
"line": 49,
"column": 74
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
]
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": null
}
],
"directives": [],
"leadingComments": [
{
"type": "CommentBlock",
"value": ", args...",
"start": 1098,
"end": 1111,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 26
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Emit an event\n * @param {String} evt Event name followed by any other argument passed to\n * the invoked function\n ",
"start": 944,
"end": 1084,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Event emitter class\n ",
"start": 0,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Event emitter class\n ",
"start": 0,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * Event emitter class\n ",
"start": 0,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates an instance of Emitter.\n ",
"start": 58,
"end": 108,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 7,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Events object\n * @type {Object}\n ",
"start": 137,
"end": 203,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 12,
"column": 11
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Subscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ",
"start": 241,
"end": 406,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 20,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Unsubscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ",
"start": 575,
"end": 742,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Emit an event\n * @param {String} evt Event name followed by any other argument passed to\n * the invoked function\n ",
"start": 944,
"end": 1084,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": ", args...",
"start": 1098,
"end": 1111,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 26
}
}
}
],
"tokens": [
{
"type": "CommentBlock",
"value": "*\n * Event emitter class\n ",
"start": 0,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
},
{
"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": 31,
"end": 37,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 38,
"end": 43,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Emitter",
"start": 44,
"end": 51,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 52,
"end": 53,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates an instance of Emitter.\n ",
"start": 58,
"end": 108,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 7,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 113,
"end": 124,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 124,
"end": 125,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 125,
"end": 126,
"loc": {
"start": {
"line": 8,
"column": 16
},
"end": {
"line": 8,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 127,
"end": 128,
"loc": {
"start": {
"line": 8,
"column": 18
},
"end": {
"line": 8,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Events object\n * @type {Object}\n ",
"start": 137,
"end": 203,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 12,
"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": 212,
"end": 216,
"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": 216,
"end": 217,
"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": "events",
"start": 217,
"end": 223,
"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": 224,
"end": 225,
"loc": {
"start": {
"line": 13,
"column": 20
},
"end": {
"line": 13,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 226,
"end": 227,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 227,
"end": 228,
"loc": {
"start": {
"line": 13,
"column": 23
},
"end": {
"line": 13,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 228,
"end": 229,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 234,
"end": 235,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Subscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ",
"start": 241,
"end": 406,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 20,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 411,
"end": 413,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 413,
"end": 414,
"loc": {
"start": {
"line": 21,
"column": 6
},
"end": {
"line": 21,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evts",
"start": 414,
"end": 418,
"loc": {
"start": {
"line": 21,
"column": 7
},
"end": {
"line": 21,
"column": 11
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 418,
"end": 419,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fn",
"start": 420,
"end": 422,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 422,
"end": 423,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 424,
"end": 425,
"loc": {
"start": {
"line": 21,
"column": 17
},
"end": {
"line": 21,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evts",
"start": 434,
"end": 438,
"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": 438,
"end": 439,
"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": "forEach",
"start": 439,
"end": 446,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 446,
"end": 447,
"loc": {
"start": {
"line": 22,
"column": 20
},
"end": {
"line": 22,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 447,
"end": 448,
"loc": {
"start": {
"line": 22,
"column": 21
},
"end": {
"line": 22,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 448,
"end": 451,
"loc": {
"start": {
"line": 22,
"column": 22
},
"end": {
"line": 22,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 451,
"end": 452,
"loc": {
"start": {
"line": 22,
"column": 25
},
"end": {
"line": 22,
"column": 26
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 453,
"end": 455,
"loc": {
"start": {
"line": 22,
"column": 27
},
"end": {
"line": 22,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 456,
"end": 457,
"loc": {
"start": {
"line": 22,
"column": 30
},
"end": {
"line": 22,
"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": 470,
"end": 474,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 474,
"end": 475,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "events",
"start": 475,
"end": 481,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 23
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 481,
"end": 482,
"loc": {
"start": {
"line": 23,
"column": 23
},
"end": {
"line": 23,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 482,
"end": 485,
"loc": {
"start": {
"line": 23,
"column": 24
},
"end": {
"line": 23,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 485,
"end": 486,
"loc": {
"start": {
"line": 23,
"column": 27
},
"end": {
"line": 23,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 487,
"end": 488,
"loc": {
"start": {
"line": 23,
"column": 29
},
"end": {
"line": 23,
"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": 489,
"end": 493,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 493,
"end": 494,
"loc": {
"start": {
"line": 23,
"column": 35
},
"end": {
"line": 23,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "events",
"start": 494,
"end": 500,
"loc": {
"start": {
"line": 23,
"column": 36
},
"end": {
"line": 23,
"column": 42
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 500,
"end": 501,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 501,
"end": 504,
"loc": {
"start": {
"line": 23,
"column": 43
},
"end": {
"line": 23,
"column": 46
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 504,
"end": 505,
"loc": {
"start": {
"line": 23,
"column": 46
},
"end": {
"line": 23,
"column": 47
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 506,
"end": 508,
"loc": {
"start": {
"line": 23,
"column": 48
},
"end": {
"line": 23,
"column": 50
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 509,
"end": 510,
"loc": {
"start": {
"line": 23,
"column": 51
},
"end": {
"line": 23,
"column": 52
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 510,
"end": 511,
"loc": {
"start": {
"line": 23,
"column": 52
},
"end": {
"line": 23,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 511,
"end": 512,
"loc": {
"start": {
"line": 23,
"column": 53
},
"end": {
"line": 23,
"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": 525,
"end": 529,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 529,
"end": 530,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "events",
"start": 530,
"end": 536,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 23
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 536,
"end": 537,
"loc": {
"start": {
"line": 24,
"column": 23
},
"end": {
"line": 24,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 537,
"end": 540,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 540,
"end": 541,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 541,
"end": 542,
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 542,
"end": 546,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 546,
"end": 547,
"loc": {
"start": {
"line": 24,
"column": 33
},
"end": {
"line": 24,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fn",
"start": 547,
"end": 549,
"loc": {
"start": {
"line": 24,
"column": 34
},
"end": {
"line": 24,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 549,
"end": 550,
"loc": {
"start": {
"line": 24,
"column": 36
},
"end": {
"line": 24,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 550,
"end": 551,
"loc": {
"start": {
"line": 24,
"column": 37
},
"end": {
"line": 24,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 560,
"end": 561,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 561,
"end": 562,
"loc": {
"start": {
"line": 25,
"column": 9
},
"end": {
"line": 25,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 562,
"end": 563,
"loc": {
"start": {
"line": 25,
"column": 10
},
"end": {
"line": 25,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 568,
"end": 569,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Unsubscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ",
"start": 575,
"end": 742,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 747,
"end": 750,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 750,
"end": 751,
"loc": {
"start": {
"line": 33,
"column": 7
},
"end": {
"line": 33,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evts",
"start": 751,
"end": 755,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 755,
"end": 756,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fn",
"start": 757,
"end": 759,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 759,
"end": 760,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 761,
"end": 762,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evts",
"start": 771,
"end": 775,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 775,
"end": 776,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "forEach",
"start": 776,
"end": 783,
"loc": {
"start": {
"line": 34,
"column": 13
},
"end": {
"line": 34,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 783,
"end": 784,
"loc": {
"start": {
"line": 34,
"column": 20
},
"end": {
"line": 34,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 784,
"end": 785,
"loc": {
"start": {
"line": 34,
"column": 21
},
"end": {
"line": 34,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 785,
"end": 788,
"loc": {
"start": {
"line": 34,
"column": 22
},
"end": {
"line": 34,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 788,
"end": 789,
"loc": {
"start": {
"line": 34,
"column": 25
},
"end": {
"line": 34,
"column": 26
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 790,
"end": 792,
"loc": {
"start": {
"line": 34,
"column": 27
},
"end": {
"line": 34,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 793,
"end": 794,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 31
}
}
},
{
"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": 807,
"end": 809,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 810,
"end": 811,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 811,
"end": 814,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 19
}
}
},
{
"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": 815,
"end": 817,
"loc": {
"start": {
"line": 35,
"column": 20
},
"end": {
"line": 35,
"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": 818,
"end": 822,
"loc": {
"start": {
"line": 35,
"column": 23
},
"end": {
"line": 35,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 822,
"end": 823,
"loc": {
"start": {
"line": 35,
"column": 27
},
"end": {
"line": 35,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "events",
"start": 823,
"end": 829,
"loc": {
"start": {
"line": 35,
"column": 28
},
"end": {
"line": 35,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 829,
"end": 830,
"loc": {
"start": {
"line": 35,
"column": 34
},
"end": {
"line": 35,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 831,
"end": 832,
"loc": {
"start": {
"line": 35,
"column": 36
},
"end": {
"line": 35,
"column": 37
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 849,
"end": 853,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 853,
"end": 854,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "events",
"start": 854,
"end": 860,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 860,
"end": 861,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 36,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 861,
"end": 864,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 31
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 864,
"end": 865,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 865,
"end": 866,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "splice",
"start": 866,
"end": 872,
"loc": {
"start": {
"line": 36,
"column": 33
},
"end": {
"line": 36,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 872,
"end": 873,
"loc": {
"start": {
"line": 36,
"column": 39
},
"end": {
"line": 36,
"column": 40
}
}
},
{
"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": 873,
"end": 877,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 36,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 877,
"end": 878,
"loc": {
"start": {
"line": 36,
"column": 44
},
"end": {
"line": 36,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "events",
"start": 878,
"end": 884,
"loc": {
"start": {
"line": 36,
"column": 45
},
"end": {
"line": 36,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 884,
"end": 885,
"loc": {
"start": {
"line": 36,
"column": 51
},
"end": {
"line": 36,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 885,
"end": 888,
"loc": {
"start": {
"line": 36,
"column": 52
},
"end": {
"line": 36,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 888,
"end": 889,
"loc": {
"start": {
"line": 36,
"column": 55
},
"end": {
"line": 36,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 889,
"end": 890,
"loc": {
"start": {
"line": 36,
"column": 56
},
"end": {
"line": 36,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "indexOf",
"start": 890,
"end": 897,
"loc": {
"start": {
"line": 36,
"column": 57
},
"end": {
"line": 36,
"column": 64
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 897,
"end": 898,
"loc": {
"start": {
"line": 36,
"column": 64
},
"end": {
"line": 36,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fn",
"start": 898,
"end": 900,
"loc": {
"start": {
"line": 36,
"column": 65
},
"end": {
"line": 36,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 900,
"end": 901,
"loc": {
"start": {
"line": 36,
"column": 67
},
"end": {
"line": 36,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 901,
"end": 902,
"loc": {
"start": {
"line": 36,
"column": 68
},
"end": {
"line": 36,
"column": 69
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 903,
"end": 904,
"loc": {
"start": {
"line": 36,
"column": 70
},
"end": {
"line": 36,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 904,
"end": 905,
"loc": {
"start": {
"line": 36,
"column": 71
},
"end": {
"line": 36,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 905,
"end": 906,
"loc": {
"start": {
"line": 36,
"column": 72
},
"end": {
"line": 36,
"column": 73
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 919,
"end": 920,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 929,
"end": 930,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 930,
"end": 931,
"loc": {
"start": {
"line": 38,
"column": 9
},
"end": {
"line": 38,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 931,
"end": 932,
"loc": {
"start": {
"line": 38,
"column": 10
},
"end": {
"line": 38,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 937,
"end": 938,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Emit an event\n * @param {String} evt Event name followed by any other argument passed to\n * the invoked function\n ",
"start": 944,
"end": 1084,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "emit",
"start": 1089,
"end": 1093,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1093,
"end": 1094,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 1094,
"end": 1097,
"loc": {
"start": {
"line": 46,
"column": 9
},
"end": {
"line": 46,
"column": 12
}
}
},
{
"type": "CommentBlock",
"value": ", args...",
"start": 1098,
"end": 1111,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1111,
"end": 1112,
"loc": {
"start": {
"line": 46,
"column": 26
},
"end": {
"line": 46,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1113,
"end": 1114,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 29
}
}
},
{
"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": 1123,
"end": 1125,
"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": 1126,
"end": 1127,
"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": "evt",
"start": 1127,
"end": 1130,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 15
}
}
},
{
"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": 1131,
"end": 1133,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"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": 1134,
"end": 1138,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 47,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1138,
"end": 1139,
"loc": {
"start": {
"line": 47,
"column": 23
},
"end": {
"line": 47,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "events",
"start": 1139,
"end": 1145,
"loc": {
"start": {
"line": 47,
"column": 24
},
"end": {
"line": 47,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1145,
"end": 1146,
"loc": {
"start": {
"line": 47,
"column": 30
},
"end": {
"line": 47,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1147,
"end": 1148,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"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": 1161,
"end": 1164,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1165,
"end": 1166,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 17
}
}
},
{
"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": 1166,
"end": 1169,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1170,
"end": 1171,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1172,
"end": 1173,
"loc": {
"start": {
"line": 48,
"column": 23
},
"end": {
"line": 48,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1174,
"end": 1175,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1175,
"end": 1176,
"loc": {
"start": {
"line": 48,
"column": 26
},
"end": {
"line": 48,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1177,
"end": 1178,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1179,
"end": 1180,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"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": 1181,
"end": 1185,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1185,
"end": 1186,
"loc": {
"start": {
"line": 48,
"column": 36
},
"end": {
"line": 48,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "events",
"start": 1186,
"end": 1192,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1192,
"end": 1193,
"loc": {
"start": {
"line": 48,
"column": 43
},
"end": {
"line": 48,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 1193,
"end": 1196,
"loc": {
"start": {
"line": 48,
"column": 44
},
"end": {
"line": 48,
"column": 47
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1196,
"end": 1197,
"loc": {
"start": {
"line": 48,
"column": 47
},
"end": {
"line": 48,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1197,
"end": 1198,
"loc": {
"start": {
"line": 48,
"column": 48
},
"end": {
"line": 48,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1198,
"end": 1204,
"loc": {
"start": {
"line": 48,
"column": 49
},
"end": {
"line": 48,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1204,
"end": 1205,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1206,
"end": 1207,
"loc": {
"start": {
"line": 48,
"column": 57
},
"end": {
"line": 48,
"column": 58
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1207,
"end": 1209,
"loc": {
"start": {
"line": 48,
"column": 58
},
"end": {
"line": 48,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1209,
"end": 1210,
"loc": {
"start": {
"line": 48,
"column": 60
},
"end": {
"line": 48,
"column": 61
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1211,
"end": 1212,
"loc": {
"start": {
"line": 48,
"column": 62
},
"end": {
"line": 48,
"column": 63
}
}
},
{
"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": 1229,
"end": 1233,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1233,
"end": 1234,
"loc": {
"start": {
"line": 49,
"column": 20
},
"end": {
"line": 49,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "events",
"start": 1234,
"end": 1240,
"loc": {
"start": {
"line": 49,
"column": 21
},
"end": {
"line": 49,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1240,
"end": 1241,
"loc": {
"start": {
"line": 49,
"column": 27
},
"end": {
"line": 49,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "evt",
"start": 1241,
"end": 1244,
"loc": {
"start": {
"line": 49,
"column": 28
},
"end": {
"line": 49,
"column": 31
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1244,
"end": 1245,
"loc": {
"start": {
"line": 49,
"column": 31
},
"end": {
"line": 49,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1245,
"end": 1246,
"loc": {
"start": {
"line": 49,
"column": 32
},
"end": {
"line": 49,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1246,
"end": 1247,
"loc": {
"start": {
"line": 49,
"column": 33
},
"end": {
"line": 49,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1247,
"end": 1248,
"loc": {
"start": {
"line": 49,
"column": 34
},
"end": {
"line": 49,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1248,
"end": 1249,
"loc": {
"start": {
"line": 49,
"column": 35
},
"end": {
"line": 49,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "apply",
"start": 1249,
"end": 1254,
"loc": {
"start": {
"line": 49,
"column": 36
},
"end": {
"line": 49,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1254,
"end": 1255,
"loc": {
"start": {
"line": 49,
"column": 41
},
"end": {
"line": 49,
"column": 42
}
}
},
{
"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": 1255,
"end": 1259,
"loc": {
"start": {
"line": 49,
"column": 42
},
"end": {
"line": 49,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1259,
"end": 1260,
"loc": {
"start": {
"line": 49,
"column": 46
},
"end": {
"line": 49,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1261,
"end": 1262,
"loc": {
"start": {
"line": 49,
"column": 48
},
"end": {
"line": 49,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1262,
"end": 1263,
"loc": {
"start": {
"line": 49,
"column": 49
},
"end": {
"line": 49,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1263,
"end": 1264,
"loc": {
"start": {
"line": 49,
"column": 50
},
"end": {
"line": 49,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slice",
"start": 1264,
"end": 1269,
"loc": {
"start": {
"line": 49,
"column": 51
},
"end": {
"line": 49,
"column": 56
}
}
},
{
"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": 49,
"column": 56
},
"end": {
"line": 49,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 1270,
"end": 1274,
"loc": {
"start": {
"line": 49,
"column": 57
},
"end": {
"line": 49,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1274,
"end": 1275,
"loc": {
"start": {
"line": 49,
"column": 61
},
"end": {
"line": 49,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "arguments",
"start": 1275,
"end": 1284,
"loc": {
"start": {
"line": 49,
"column": 62
},
"end": {
"line": 49,
"column": 71
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1284,
"end": 1285,
"loc": {
"start": {
"line": 49,
"column": 71
},
"end": {
"line": 49,
"column": 72
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 1286,
"end": 1287,
"loc": {
"start": {
"line": 49,
"column": 73
},
"end": {
"line": 49,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1287,
"end": 1288,
"loc": {
"start": {
"line": 49,
"column": 74
},
"end": {
"line": 49,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1288,
"end": 1289,
"loc": {
"start": {
"line": 49,
"column": 75
},
"end": {
"line": 49,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1289,
"end": 1290,
"loc": {
"start": {
"line": 49,
"column": 76
},
"end": {
"line": 49,
"column": 77
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1303,
"end": 1304,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1319,
"end": 1320,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1321,
"end": 1322,
"loc": {
"start": {
"line": 53,
"column": 0
},
"end": {
"line": 53,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1323,
"end": 1323,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 54,
"column": 0
}
}
}
]
}