UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

1,303 lines 64.7 kB
{ "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": "OuterSubscriber", "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": "OuterSubscriber", "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": "OuterSubscriber", "range": [ 238, 253 ], "loc": { "start": { "line": 9, "column": 13 }, "end": { "line": 9, "column": 28 } } }, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "_super", "range": [ 266, 272 ], "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 14 } } }, "property": { "type": "Identifier", "name": "apply", "range": [ 273, 278 ], "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 20 } } }, "range": [ 266, 278 ], "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 20 } } }, "arguments": [ { "type": "ThisExpression", "range": [ 279, 283 ], "loc": { "start": { "line": 10, "column": 21 }, "end": { "line": 10, "column": 25 } } }, { "type": "Identifier", "name": "arguments", "range": [ 285, 294 ], "loc": { "start": { "line": 10, "column": 27 }, "end": { "line": 10, "column": 36 } } } ], "range": [ 266, 295 ], "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 37 } } }, "range": [ 266, 296 ], "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 38 } } } ], "range": [ 256, 302 ], "loc": { "start": { "line": 9, "column": 31 }, "end": { "line": 11, "column": 5 } } }, "generator": false, "expression": false, "range": [ 229, 302 ], "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 5 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "OuterSubscriber", "range": [ 307, 322 ], "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 19 } } }, "property": { "type": "Identifier", "name": "prototype", "range": [ 323, 332 ], "loc": { "start": { "line": 12, "column": 20 }, "end": { "line": 12, "column": 29 } } }, "range": [ 307, 332 ], "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 29 } } }, "property": { "type": "Identifier", "name": "notifyNext", "range": [ 333, 343 ], "loc": { "start": { "line": 12, "column": 30 }, "end": { "line": 12, "column": 40 } } }, "range": [ 307, 343 ], "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 40 } } }, "right": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "outerValue", "range": [ 356, 366 ], "loc": { "start": { "line": 12, "column": 53 }, "end": { "line": 12, "column": 63 } } }, { "type": "Identifier", "name": "innerValue", "range": [ 368, 378 ], "loc": { "start": { "line": 12, "column": 65 }, "end": { "line": 12, "column": 75 } } }, { "type": "Identifier", "name": "outerIndex", "range": [ 380, 390 ], "loc": { "start": { "line": 12, "column": 77 }, "end": { "line": 12, "column": 87 } } }, { "type": "Identifier", "name": "innerIndex", "range": [ 392, 402 ], "loc": { "start": { "line": 12, "column": 89 }, "end": { "line": 12, "column": 99 } } }, { "type": "Identifier", "name": "innerSub", "range": [ 404, 412 ], "loc": { "start": { "line": 12, "column": 101 }, "end": { "line": 12, "column": 109 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 424, 428 ], "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 12 } } }, "property": { "type": "Identifier", "name": "destination", "range": [ 429, 440 ], "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 24 } } }, "range": [ 424, 440 ], "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 24 } } }, "property": { "type": "Identifier", "name": "next", "range": [ 441, 445 ], "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 29 } } }, "range": [ 424, 445 ], "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 29 } } }, "arguments": [ { "type": "Identifier", "name": "innerValue", "range": [ 446, 456 ], "loc": { "start": { "line": 13, "column": 30 }, "end": { "line": 13, "column": 40 } } } ], "range": [ 424, 457 ], "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 41 } } }, "range": [ 424, 458 ], "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 42 } } } ], "range": [ 414, 464 ], "loc": { "start": { "line": 12, "column": 111 }, "end": { "line": 14, "column": 5 } } }, "generator": false, "expression": false, "range": [ 346, 464 ], "loc": { "start": { "line": 12, "column": 43 }, "end": { "line": 14, "column": 5 } } }, "range": [ 307, 464 ], "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 14, "column": 5 } } }, "range": [ 307, 465 ], "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 14, "column": 6 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "OuterSubscriber", "range": [ 470, 485 ], "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 19 } } }, "property": { "type": "Identifier", "name": "prototype", "range": [ 486, 495 ], "loc": { "start": { "line": 15, "column": 20 }, "end": { "line": 15, "column": 29 } } }, "range": [ 470, 495 ], "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 29 } } }, "property": { "type": "Identifier", "name": "notifyError", "range": [ 496, 507 ], "loc": { "start": { "line": 15, "column": 30 }, "end": { "line": 15, "column": 41 } } }, "range": [ 470, 507 ], "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 41 } } }, "right": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "error", "range": [ 520, 525 ], "loc": { "start": { "line": 15, "column": 54 }, "end": { "line": 15, "column": 59 } } }, { "type": "Identifier", "name": "innerSub", "range": [ 527, 535 ], "loc": { "start": { "line": 15, "column": 61 }, "end": { "line": 15, "column": 69 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 547, 551 ], "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 12 } } }, "property": { "type": "Identifier", "name": "destination", "range": [ 552, 563 ], "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 16, "column": 24 } } }, "range": [ 547, 563 ], "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 24 } } }, "property": { "type": "Identifier", "name": "error", "range": [ 564, 569 ], "loc": { "start": { "line": 16, "column": 25 }, "end": { "line": 16, "column": 30 } } }, "range": [ 547, 569 ], "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 30 } } }, "arguments": [ { "type": "Identifier", "name": "error", "range": [ 570, 575 ], "loc": { "start": { "line": 16, "column": 31 }, "end": { "line": 16, "column": 36 } } } ], "range": [ 547, 576 ], "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 37 } } }, "range": [ 547, 577 ], "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 38 } } } ], "range": [ 537, 583 ], "loc": { "start": { "line": 15, "column": 71 }, "end": { "line": 17, "column": 5 } } }, "generator": false, "expression": false, "range": [ 510, 583 ], "loc": { "start": { "line": 15, "column": 44 }, "end": { "line": 17, "column": 5 } } }, "range": [ 470, 583 ], "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 17, "column": 5 } } }, "range": [ 470, 584 ], "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 17, "column": 6 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "OuterSubscriber", "range": [ 589, 604 ], "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 19 } } }, "property": { "type": "Identifier", "name": "prototype", "range": [ 605, 614 ], "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 29 } } }, "range": [ 589, 614 ], "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 29 } } }, "property": { "type": "Identifier", "name": "notifyComplete", "range": [ 615, 629 ], "loc": { "start": { "line": 18, "column": 30 }, "end": { "line": 18, "column": 44 } } }, "range": [ 589, 629 ], "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 44 } } }, "right": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "innerSub", "range": [ 642, 650 ], "loc": { "start": { "line": 18, "column": 57 }, "end": { "line": 18, "column": 65 } } } ], "body": { "type": "