@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
1,262 lines (1,261 loc) • 98.9 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportSpecifier",
"local": {
"type": "Identifier",
"name": "Subscriber",
"range": [
9,
19
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
}
}
},
"imported": {
"type": "Identifier",
"name": "Subscriber",
"range": [
9,
19
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
}
}
},
"range": [
9,
19
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
}
}
}
],
"source": {
"type": "Literal",
"value": "./Subscriber",
"raw": "'./Subscriber'",
"range": [
27,
41
],
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 41
}
}
},
"range": [
0,
42
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 42
}
},
"trailingComments": [
{
"type": "Block",
"value": "*\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n ",
"range": [
43,
134
],
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 6,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "InnerSubscriber",
"range": [
146,
161
],
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 26
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "_super",
"range": [
175,
181
],
"loc": {
"start": {
"line": 7,
"column": 40
},
"end": {
"line": 7,
"column": 46
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "__extends",
"range": [
189,
198
],
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "InnerSubscriber",
"range": [
199,
214
],
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 29
}
}
},
{
"type": "Identifier",
"name": "_super",
"range": [
216,
222
],
"loc": {
"start": {
"line": 8,
"column": 31
},
"end": {
"line": 8,
"column": 37
}
}
}
],
"range": [
189,
223
],
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 38
}
}
},
"range": [
189,
224
],
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 39
}
}
},
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "InnerSubscriber",
"range": [
238,
253
],
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 28
}
}
},
"params": [
{
"type": "Identifier",
"name": "parent",
"range": [
254,
260
],
"loc": {
"start": {
"line": 9,
"column": 29
},
"end": {
"line": 9,
"column": 35
}
}
},
{
"type": "Identifier",
"name": "outerValue",
"range": [
262,
272
],
"loc": {
"start": {
"line": 9,
"column": 37
},
"end": {
"line": 9,
"column": 47
}
}
},
{
"type": "Identifier",
"name": "outerIndex",
"range": [
274,
284
],
"loc": {
"start": {
"line": 9,
"column": 49
},
"end": {
"line": 9,
"column": 59
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "_super",
"range": [
296,
302
],
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"name": "call",
"range": [
303,
307
],
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 19
}
}
},
"range": [
296,
307
],
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 19
}
}
},
"arguments": [
{
"type": "ThisExpression",
"range": [
308,
312
],
"loc": {
"start": {
"line": 10,
"column": 20
},
"end": {
"line": 10,
"column": 24
}
}
}
],
"range": [
296,
313
],
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 25
}
}
},
"range": [
296,
314
],
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 26
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
323,
327
],
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "parent",
"range": [
328,
334
],
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 19
}
}
},
"range": [
323,
334
],
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 19
}
}
},
"right": {
"type": "Identifier",
"name": "parent",
"range": [
337,
343
],
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 28
}
}
},
"range": [
323,
343
],
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 28
}
}
},
"range": [
323,
344
],
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 29
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
353,
357
],
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "outerValue",
"range": [
358,
368
],
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 23
}
}
},
"range": [
353,
368
],
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 23
}
}
},
"right": {
"type": "Identifier",
"name": "outerValue",
"range": [
371,
381
],
"loc": {
"start": {
"line": 12,
"column": 26
},
"end": {
"line": 12,
"column": 36
}
}
},
"range": [
353,
381
],
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 36
}
}
},
"range": [
353,
382
],
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 37
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
391,
395
],
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "outerIndex",
"range": [
396,
406
],
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 23
}
}
},
"range": [
391,
406
],
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 23
}
}
},
"right": {
"type": "Identifier",
"name": "outerIndex",
"range": [
409,
419
],
"loc": {
"start": {
"line": 13,
"column": 26
},
"end": {
"line": 13,
"column": 36
}
}
},
"range": [
391,
419
],
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 36
}
}
},
"range": [
391,
420
],
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 37
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
429,
433
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "index",
"range": [
434,
439
],
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 18
}
}
},
"range": [
429,
439
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 18
}
}
},
"right": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
442,
443
],
"loc": {
"start": {
"line": 14,
"column": 21
},
"end": {
"line": 14,
"column": 22
}
}
},
"range": [
429,
443
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 22
}
}
},
"range": [
429,
444
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 23
}
}
}
],
"range": [
286,
450
],
"loc": {
"start": {
"line": 9,
"column": 61
},
"end": {
"line": 15,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
229,
450
],
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 15,
"column": 5
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "InnerSubscriber",
"range": [
455,
470
],
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"name": "prototype",
"range": [
471,
480
],
"loc": {
"start": {
"line": 16,
"column": 20
},
"end": {
"line": 16,
"column": 29
}
}
},
"range": [
455,
480
],
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"name": "_next",
"range": [
481,
486
],
"loc": {
"start": {
"line": 16,
"column": 30
},
"end": {
"line": 16,
"column": 35
}
}
},
"range": [
455,
486
],
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 35
}
}
},
"right": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "value",
"range": [
499,
504
],
"loc": {
"start": {
"line": 16,
"column": 48
},
"end": {
"line": 16,
"column": 53
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
516,
520
],
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "parent",
"range": [
521,
527
],
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 19
}
}
},
"range": [
516,
527
],
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"name": "notifyNext",
"range": [
528,
538
],
"loc": {
"start": {
"line": 17,
"column": 20
},
"end": {
"line": 17,
"column": 30
}
}
},
"range": [
516,
538
],
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 30
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
539,
543
],
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"name": "outerValue",
"range": [
544,
554
],
"loc": {
"start": {
"line": 17,
"column": 36
},
"end": {
"line": 17,
"column": 46
}
}
},
"range": [
539,
554
],
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 46
}
}
},
{
"type": "Identifier",
"name": "value",
"range": [
556,
561
],
"loc": {
"start": {
"line": 17,
"column": 48
},
"end": {
"line": 17,
"column": 53
}
}
},
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
563,
567
],
"loc": {
"start": {
"line": 17,
"column": 55
},
"end": {
"line": 17,
"column": 59
}
}
},
"property": {
"type": "Identifier",
"name": "outerIndex",
"range": [
568,
578
],
"loc": {
"start": {
"line": 17,
"column": 60
},
"end": {
"line": 17,
"column": 70
}
}
},
"range": [
563,
578
],
"loc": {
"start": {
"line": 17,
"column": 55
},
"end": {
"line": 17,
"column": 70
}
}
},
{
"type": "UpdateExpression",
"operator": "++",
"argument": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
580,
584
],
"loc": {
"start": {
"line": 17,
"column": 72
},
"end": {
"line": 17,
"column": 76
}