UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

543 lines 12.6 kB
{ "type": "Program", "body": [ { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportSpecifier", "local": { "type": "Identifier", "name": "MergeMapToOperator", "range": [ 9, 27 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 27 } } }, "imported": { "type": "Identifier", "name": "MergeMapToOperator", "range": [ 9, 27 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 27 } } }, "range": [ 9, 27 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 27 } } } ], "source": { "type": "Literal", "value": "./mergeMapTo", "raw": "'./mergeMapTo'", "range": [ 35, 49 ], "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 49 } } }, "range": [ 0, 50 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 50 } }, "trailingComments": [ { "type": "Block", "value": " tslint:disable:max-line-length ", "range": [ 51, 87 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 36 } } } ] }, { "type": "ExportNamedDeclaration", "declaration": { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "concatMapTo", "range": [ 104, 115 ], "loc": { "start": { "line": 3, "column": 16 }, "end": { "line": 3, "column": 27 } } }, "params": [ { "type": "Identifier", "name": "innerObservable", "range": [ 116, 131 ], "loc": { "start": { "line": 3, "column": 28 }, "end": { "line": 3, "column": 43 } } }, { "type": "Identifier", "name": "resultSelector", "range": [ 133, 147 ], "loc": { "start": { "line": 3, "column": 45 }, "end": { "line": 3, "column": 59 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 162, 166 ], "loc": { "start": { "line": 4, "column": 11 }, "end": { "line": 4, "column": 15 } } }, "property": { "type": "Identifier", "name": "lift", "range": [ 167, 171 ], "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 20 } } }, "range": [ 162, 171 ], "loc": { "start": { "line": 4, "column": 11 }, "end": { "line": 4, "column": 20 } } }, "arguments": [ { "type": "NewExpression", "callee": { "type": "Identifier", "name": "MergeMapToOperator", "range": [ 176, 194 ], "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 4, "column": 43 } } }, "arguments": [ { "type": "Identifier", "name": "innerObservable", "range": [ 195, 210 ], "loc": { "start": { "line": 4, "column": 44 }, "end": { "line": 4, "column": 59 } } }, { "type": "Identifier", "name": "resultSelector", "range": [ 212, 226 ], "loc": { "start": { "line": 4, "column": 61 }, "end": { "line": 4, "column": 75 } } }, { "type": "Literal", "value": 1, "raw": "1", "range": [ 228, 229 ], "loc": { "start": { "line": 4, "column": 77 }, "end": { "line": 4, "column": 78 } } } ], "range": [ 172, 230 ], "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 79 } } } ], "range": [ 162, 231 ], "loc": { "start": { "line": 4, "column": 11 }, "end": { "line": 4, "column": 80 } } }, "range": [ 155, 232 ], "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 81 } } } ], "range": [ 149, 234 ], "loc": { "start": { "line": 3, "column": 61 }, "end": { "line": 5, "column": 1 } } }, "generator": false, "expression": false, "range": [ 95, 234 ], "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 5, "column": 1 } }, "leadingComments": [ { "type": "Block", "value": " tslint:disable:max-line-length ", "range": [ 51, 87 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 36 } } } ], "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=concatMapTo.js.map", "range": [ 235, 274 ], "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 39 } } } ] }, "specifiers": [], "source": null, "range": [ 88, 234 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 5, "column": 1 } }, "leadingComments": [ { "type": "Block", "value": " tslint:disable:max-line-length ", "range": [ 51, 87 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 36 } } } ], "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=concatMapTo.js.map", "range": [ 235, 274 ], "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 39 } } } ] } ], "sourceType": "module", "range": [ 0, 234 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 1 } }, "comments": [ { "type": "Block", "value": " tslint:disable:max-line-length ", "range": [ 51, 87 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 36 } } }, { "type": "Line", "value": "# sourceMappingURL=concatMapTo.js.map", "range": [ 235, 274 ], "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 39 } } } ] }