UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

559 lines 12.4 kB
{ "type": "Program", "body": [ { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportSpecifier", "local": { "type": "Identifier", "name": "AsyncSubject", "range": [ 9, 21 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } } }, "imported": { "type": "Identifier", "name": "AsyncSubject", "range": [ 9, 21 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } } }, "range": [ 9, 21 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } } } ], "source": { "type": "Literal", "value": "../AsyncSubject", "raw": "'../AsyncSubject'", "range": [ 29, 46 ], "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 46 } } }, "range": [ 0, 47 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 47 } } }, { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportSpecifier", "local": { "type": "Identifier", "name": "multicast", "range": [ 57, 66 ], "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 } } }, "imported": { "type": "Identifier", "name": "multicast", "range": [ 57, 66 ], "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 } } }, "range": [ 57, 66 ], "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 } } } ], "source": { "type": "Literal", "value": "./multicast", "raw": "'./multicast'", "range": [ 74, 87 ], "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 39 } } }, "range": [ 48, 88 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 40 } }, "trailingComments": [ { "type": "Block", "value": "*\n * @return {ConnectableObservable<T>}\n * @method publishLast\n * @owner Observable\n ", "range": [ 89, 178 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 7, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "declaration": { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "publishLast", "range": [ 195, 206 ], "loc": { "start": { "line": 8, "column": 16 }, "end": { "line": 8, "column": 27 } } }, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "multicast", "range": [ 222, 231 ], "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 20 } } }, "property": { "type": "Identifier", "name": "call", "range": [ 232, 236 ], "loc": { "start": { "line": 9, "column": 21 }, "end": { "line": 9, "column": 25 } } }, "range": [ 222, 236 ], "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 25 } } }, "arguments": [ { "type": "ThisExpression", "range": [ 237, 241 ], "loc": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 30 } } }, { "type": "NewExpression", "callee": { "type": "Identifier", "name": "AsyncSubject", "range": [ 247, 259 ], "loc": { "start": { "line": 9, "column": 36 }, "end": { "line": 9, "column": 48 } } }, "arguments": [], "range": [ 243, 261 ], "loc": { "start": { "line": 9, "column": 32 }, "end": { "line": 9, "column": 50 } } } ], "range": [ 222, 262 ], "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 51 } } }, "range": [ 215, 263 ], "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 52 } } } ], "range": [ 209, 265 ], "loc": { "start": { "line": 8, "column": 30 }, "end": { "line": 10, "column": 1 } } }, "generator": false, "expression": false, "range": [ 186, 265 ], "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 10, "column": 1 } }, "leadingComments": [ { "type": "Block", "value": "*\n * @return {ConnectableObservable<T>}\n * @method publishLast\n * @owner Observable\n ", "range": [ 89, 178 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 7, "column": 3 } } } ], "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=publishLast.js.map", "range": [ 266, 305 ], "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 39 } } } ] }, "specifiers": [], "source": null, "range": [ 179, 265 ], "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 1 } }, "leadingComments": [ { "type": "Block", "value": "*\n * @return {ConnectableObservable<T>}\n * @method publishLast\n * @owner Observable\n ", "range": [ 89, 178 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 7, "column": 3 } } } ], "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=publishLast.js.map", "range": [ 266, 305 ], "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 39 } } } ] } ], "sourceType": "module", "range": [ 0, 265 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 10, "column": 1 } }, "comments": [ { "type": "Block", "value": "*\n * @return {ConnectableObservable<T>}\n * @method publishLast\n * @owner Observable\n ", "range": [ 89, 178 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 7, "column": 3 } } }, { "type": "Line", "value": "# sourceMappingURL=publishLast.js.map", "range": [ 266, 305 ], "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 39 } } } ] }