UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

540 lines 14.8 kB
{ "type": "Program", "body": [ { "type": "ExportNamedDeclaration", "declaration": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "empty", "range": [ 11, 16 ], "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 16 } } }, "init": { "type": "ObjectExpression", "properties": [ { "type": "Property", "key": { "type": "Identifier", "name": "closed", "range": [ 25, 31 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 10 } } }, "value": { "type": "Literal", "value": true, "raw": "true", "range": [ 33, 37 ], "loc": { "start": { "line": 2, "column": 12 }, "end": { "line": 2, "column": 16 } } }, "kind": "init", "method": false, "shorthand": false, "computed": false, "range": [ 25, 37 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 16 } } }, { "type": "Property", "key": { "type": "Identifier", "name": "next", "range": [ 43, 47 ], "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 8 } } }, "value": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "value", "range": [ 59, 64 ], "loc": { "start": { "line": 3, "column": 20 }, "end": { "line": 3, "column": 25 } } } ], "body": { "type": "BlockStatement", "body": [], "range": [ 66, 69 ], "loc": { "start": { "line": 3, "column": 27 }, "end": { "line": 3, "column": 30 } } }, "generator": false, "expression": false, "range": [ 49, 69 ], "loc": { "start": { "line": 3, "column": 10 }, "end": { "line": 3, "column": 30 } } }, "kind": "init", "method": false, "shorthand": false, "computed": false, "range": [ 43, 69 ], "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 30 } } }, { "type": "Property", "key": { "type": "Identifier", "name": "error", "range": [ 75, 80 ], "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 9 } } }, "value": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "err", "range": [ 92, 95 ], "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 24 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ThrowStatement", "argument": { "type": "Identifier", "name": "err", "range": [ 105, 108 ], "loc": { "start": { "line": 4, "column": 34 }, "end": { "line": 4, "column": 37 } } }, "range": [ 99, 109 ], "loc": { "start": { "line": 4, "column": 28 }, "end": { "line": 4, "column": 38 } } } ], "range": [ 97, 111 ], "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 40 } } }, "generator": false, "expression": false, "range": [ 82, 111 ], "loc": { "start": { "line": 4, "column": 11 }, "end": { "line": 4, "column": 40 } } }, "kind": "init", "method": false, "shorthand": false, "computed": false, "range": [ 75, 111 ], "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 40 } } }, { "type": "Property", "key": { "type": "Identifier", "name": "complete", "range": [ 117, 125 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 12 } } }, "value": { "type": "FunctionExpression", "id": null, "params": [], "body": { "type": "BlockStatement", "body": [], "range": [ 139, 142 ], "loc": { "start": { "line": 5, "column": 26 }, "end": { "line": 5, "column": 29 } } }, "generator": false, "expression": false, "range": [ 127, 142 ], "loc": { "start": { "line": 5, "column": 14 }, "end": { "line": 5, "column": 29 } } }, "kind": "init", "method": false, "shorthand": false, "computed": false, "range": [ 117, 142 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 29 } } } ], "range": [ 19, 144 ], "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 6, "column": 1 } } }, "range": [ 11, 144 ], "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 6, "column": 1 } } } ], "kind": "var", "range": [ 7, 145 ], "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 6, "column": 2 } }, "leadingComments": [], "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=Observer.js.map", "range": [ 146, 182 ], "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 36 } } } ] }, "specifiers": [], "source": null, "range": [ 0, 145 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 6, "column": 2 } }, "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=Observer.js.map", "range": [ 146, 182 ], "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 36 } } } ] } ], "sourceType": "module", "range": [ 0, 145 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 6, "column": 2 } }, "comments": [ { "type": "Line", "value": "# sourceMappingURL=Observer.js.map", "range": [ 146, 182 ], "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 36 } } } ] }