UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

300 lines 6.18 kB
{ "type": "Program", "body": [ { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportSpecifier", "local": { "type": "Identifier", "name": "PromiseObservable", "range": [ 9, 26 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 26 } } }, "imported": { "type": "Identifier", "name": "PromiseObservable", "range": [ 9, 26 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 26 } } }, "range": [ 9, 26 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 26 } } } ], "source": { "type": "Literal", "value": "./PromiseObservable", "raw": "'./PromiseObservable'", "range": [ 34, 55 ], "loc": { "start": { "line": 1, "column": 34 }, "end": { "line": 1, "column": 55 } } }, "range": [ 0, 56 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 56 } } }, { "type": "ExportNamedDeclaration", "declaration": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "fromPromise", "range": [ 68, 79 ], "loc": { "start": { "line": 2, "column": 11 }, "end": { "line": 2, "column": 22 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "PromiseObservable", "range": [ 82, 99 ], "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 42 } } }, "property": { "type": "Identifier", "name": "create", "range": [ 100, 106 ], "loc": { "start": { "line": 2, "column": 43 }, "end": { "line": 2, "column": 49 } } }, "range": [ 82, 106 ], "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 49 } } }, "range": [ 68, 106 ], "loc": { "start": { "line": 2, "column": 11 }, "end": { "line": 2, "column": 49 } } } ], "kind": "var", "range": [ 64, 107 ], "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 50 } }, "leadingComments": [], "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=fromPromise.js.map", "range": [ 108, 147 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 39 } } } ] }, "specifiers": [], "source": null, "range": [ 57, 107 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 50 } }, "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=fromPromise.js.map", "range": [ 108, 147 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 39 } } } ] } ], "sourceType": "module", "range": [ 0, 107 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 2, "column": 50 } }, "comments": [ { "type": "Line", "value": "# sourceMappingURL=fromPromise.js.map", "range": [ 108, 147 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 39 } } } ] }