UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

349 lines 6.76 kB
{ "type": "Program", "body": [ { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportSpecifier", "local": { "type": "Identifier", "name": "Observable", "range": [ 9, 19 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 19 } } }, "imported": { "type": "Identifier", "name": "Observable", "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": "../../Observable", "raw": "'../../Observable'", "range": [ 27, 45 ], "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 45 } } }, "range": [ 0, 46 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 46 } } }, { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportSpecifier", "local": { "type": "Identifier", "name": "staticFromEvent", "range": [ 69, 84 ], "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 37 } } }, "imported": { "type": "Identifier", "name": "fromEvent", "range": [ 56, 65 ], "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 } } }, "range": [ 56, 84 ], "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 37 } } } ], "source": { "type": "Literal", "value": "../../observable/fromEvent", "raw": "'../../observable/fromEvent'", "range": [ 92, 120 ], "loc": { "start": { "line": 2, "column": 45 }, "end": { "line": 2, "column": 73 } } }, "range": [ 47, 121 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 74 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Observable", "range": [ 122, 132 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 10 } } }, "property": { "type": "Identifier", "name": "fromEvent", "range": [ 133, 142 ], "loc": { "start": { "line": 3, "column": 11 }, "end": { "line": 3, "column": 20 } } }, "range": [ 122, 142 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 20 } } }, "right": { "type": "Identifier", "name": "staticFromEvent", "range": [ 145, 160 ], "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 38 } } }, "range": [ 122, 160 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 38 } } }, "range": [ 122, 161 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 39 } }, "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=fromEvent.js.map", "range": [ 162, 199 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 37 } } } ] } ], "sourceType": "module", "range": [ 0, 161 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 39 } }, "comments": [ { "type": "Line", "value": "# sourceMappingURL=fromEvent.js.map", "range": [ 162, 199 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 37 } } } ] }