UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

349 lines 6.78 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": "staticFromPromise", "range": [ 71, 88 ], "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 41 } } }, "imported": { "type": "Identifier", "name": "fromPromise", "range": [ 56, 67 ], "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 } } }, "range": [ 56, 88 ], "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 41 } } } ], "source": { "type": "Literal", "value": "../../observable/fromPromise", "raw": "'../../observable/fromPromise'", "range": [ 96, 126 ], "loc": { "start": { "line": 2, "column": 49 }, "end": { "line": 2, "column": 79 } } }, "range": [ 47, 127 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 80 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Observable", "range": [ 128, 138 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 10 } } }, "property": { "type": "Identifier", "name": "fromPromise", "range": [ 139, 150 ], "loc": { "start": { "line": 3, "column": 11 }, "end": { "line": 3, "column": 22 } } }, "range": [ 128, 150 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 22 } } }, "right": { "type": "Identifier", "name": "staticFromPromise", "range": [ 153, 170 ], "loc": { "start": { "line": 3, "column": 25 }, "end": { "line": 3, "column": 42 } } }, "range": [ 128, 170 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 42 } } }, "range": [ 128, 171 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 43 } }, "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=fromPromise.js.map", "range": [ 172, 211 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 39 } } } ] } ], "sourceType": "module", "range": [ 0, 171 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 43 } }, "comments": [ { "type": "Line", "value": "# sourceMappingURL=fromPromise.js.map", "range": [ 172, 211 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 39 } } } ] }