@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
772 lines • 27.6 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "SubscriptionLog",
"range": [
11,
26
],
"loc": {
"start": {
"line": 1,
"column": 11
},
"end": {
"line": 1,
"column": 26
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "FunctionExpression",
"id": null,
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "SubscriptionLog",
"range": [
57,
72
],
"loc": {
"start": {
"line": 2,
"column": 13
},
"end": {
"line": 2,
"column": 28
}
}
},
"params": [
{
"type": "Identifier",
"name": "subscribedFrame",
"range": [
73,
88
],
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 44
}
}
},
{
"type": "Identifier",
"name": "unsubscribedFrame",
"range": [
90,
107
],
"loc": {
"start": {
"line": 2,
"column": 46
},
"end": {
"line": 2,
"column": 63
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "IfStatement",
"test": {
"type": "BinaryExpression",
"operator": "===",
"left": {
"type": "Identifier",
"name": "unsubscribedFrame",
"range": [
123,
140
],
"loc": {
"start": {
"line": 3,
"column": 12
},
"end": {
"line": 3,
"column": 29
}
}
},
"right": {
"type": "UnaryExpression",
"operator": "void",
"argument": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
150,
151
],
"loc": {
"start": {
"line": 3,
"column": 39
},
"end": {
"line": 3,
"column": 40
}
}
},
"prefix": true,
"range": [
145,
151
],
"loc": {
"start": {
"line": 3,
"column": 34
},
"end": {
"line": 3,
"column": 40
}
}
},
"range": [
123,
151
],
"loc": {
"start": {
"line": 3,
"column": 12
},
"end": {
"line": 3,
"column": 40
}
}
},
"consequent": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "unsubscribedFrame",
"range": [
155,
172
],
"loc": {
"start": {
"line": 3,
"column": 44
},
"end": {
"line": 3,
"column": 61
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Number",
"range": [
175,
181
],
"loc": {
"start": {
"line": 3,
"column": 64
},
"end": {
"line": 3,
"column": 70
}
}
},
"property": {
"type": "Identifier",
"name": "POSITIVE_INFINITY",
"range": [
182,
199
],
"loc": {
"start": {
"line": 3,
"column": 71
},
"end": {
"line": 3,
"column": 88
}
}
},
"range": [
175,
199
],
"loc": {
"start": {
"line": 3,
"column": 64
},
"end": {
"line": 3,
"column": 88
}
}
},
"range": [
155,
199
],
"loc": {
"start": {
"line": 3,
"column": 44
},
"end": {
"line": 3,
"column": 88
}
}
},
"range": [
155,
200
],
"loc": {
"start": {
"line": 3,
"column": 44
},
"end": {
"line": 3,
"column": 89
}
}
}
],
"range": [
153,
202
],
"loc": {
"start": {
"line": 3,
"column": 42
},
"end": {
"line": 3,
"column": 91
}
}
},
"alternate": null,
"range": [
119,
202
],
"loc": {
"start": {
"line": 3,
"column": 8
},
"end": {
"line": 3,
"column": 91
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
211,
215
],
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "subscribedFrame",
"range": [
216,
231
],
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 28
}
}
},
"range": [
211,
231
],
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 28
}
}
},
"right": {
"type": "Identifier",
"name": "subscribedFrame",
"range": [
234,
249
],
"loc": {
"start": {
"line": 4,
"column": 31
},
"end": {
"line": 4,
"column": 46
}
}
},
"range": [
211,
249
],
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 46
}
}
},
"range": [
211,
250
],
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 47
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
259,
263
],
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "unsubscribedFrame",
"range": [
264,
281
],
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 30
}
}
},
"range": [
259,
281
],
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 30
}
}
},
"right": {
"type": "Identifier",
"name": "unsubscribedFrame",
"range": [
284,
301
],
"loc": {
"start": {
"line": 5,
"column": 33
},
"end": {
"line": 5,
"column": 50
}
}
},
"range": [
259,
301
],
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 50
}
}
},
"range": [
259,
302
],
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 51
}
}
}
],
"range": [
109,
308
],
"loc": {
"start": {
"line": 2,
"column": 65
},
"end": {
"line": 6,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
48,
308
],
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 6,
"column": 5
}
}
},
{
"type": "ReturnStatement",
"argument": {
"type": "Identifier",
"name": "SubscriptionLog",
"range": [
320,
335
],
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 26
}
}
},
"range": [
313,
336
],
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 27
}
}
}
],
"range": [
42,
338
],
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 8,
"column": 1
}
}
},
"generator": false,
"expression": false,
"range": [
30,
338
],
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 8,
"column": 1
}
}
},
"arguments": [],
"range": [
30,
340
],
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 8,
"column": 3
}
}
},
"range": [
11,
341
],
"loc": {
"start": {
"line": 1,
"column": 11
},
"end": {
"line": 8,
"column": 4
}
}
}
],
"kind": "var",
"range": [
7,
342
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 8,
"column": 5
}
},
"leadingComments": [],
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=SubscriptionLog.js.map",
"range": [
343,
386
],
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 43
}
}
}
]
},
"specifiers": [],
"source": null,
"range": [
0,
342
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 8,
"column": 5
}
},
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=SubscriptionLog.js.map",
"range": [
343,
386
],
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 43
}
}
}
]
}
],
"sourceType": "module",
"range": [
0,
342
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 8,
"column": 5
}
},
"comments": [
{
"type": "Line",
"value": "# sourceMappingURL=SubscriptionLog.js.map",
"range": [
343,
386
],
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 43
}
}
}
]
}