UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

838 lines 27 kB
{ "type": "Program", "body": [ { "type": "ExpressionStatement", "expression": { "type": "Literal", "value": "use strict", "raw": "\"use strict\"", "range": [ 0, 12 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 12 } } }, "range": [ 0, 13 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 13 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "chai_1", "range": [ 18, 24 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 10 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 27, 34 ], "loc": { "start": { "line": 2, "column": 13 }, "end": { "line": 2, "column": 20 } } }, "arguments": [ { "type": "Literal", "value": "chai", "raw": "'chai'", "range": [ 35, 41 ], "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 2, "column": 27 } } } ], "range": [ 27, 42 ], "loc": { "start": { "line": 2, "column": 13 }, "end": { "line": 2, "column": 28 } } }, "range": [ 18, 42 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 28 } } } ], "kind": "var", "range": [ 14, 43 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 29 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "Rx", "range": [ 48, 50 ], "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 6 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 53, 60 ], "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 16 } } }, "arguments": [ { "type": "Literal", "value": "../dist/cjs/Rx", "raw": "'../dist/cjs/Rx'", "range": [ 61, 77 ], "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 33 } } } ], "range": [ 53, 78 ], "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 34 } } }, "range": [ 48, 78 ], "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 34 } } } ], "kind": "var", "range": [ 44, 79 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 35 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "describe", "range": [ 80, 88 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 8 } } }, "arguments": [ { "type": "Literal", "value": "Root Module", "raw": "'Root Module'", "range": [ 89, 102 ], "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 } } }, { "type": "FunctionExpression", "id": null, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "it", "range": [ 122, 124 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 6 } } }, "arguments": [ { "type": "Literal", "value": "should contain exports from commonjs modules", "raw": "'should contain exports from commonjs modules'", "range": [ 125, 171 ], "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 53 } } }, { "type": "FunctionExpression", "id": null, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "chai_1", "range": [ 195, 201 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 14 } } }, "property": { "type": "Identifier", "name": "expect", "range": [ 202, 208 ], "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 21 } } }, "range": [ 195, 208 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 21 } } }, "arguments": [ { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Rx", "range": [ 209, 211 ], "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 24 } } }, "property": { "type": "Identifier", "name": "Observable", "range": [ 212, 222 ], "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 35 } } }, "range": [ 209, 222 ], "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 35 } } } ], "range": [ 195, 223 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 36 } } }, "property": { "type": "Identifier", "name": "to", "range": [ 224, 226 ], "loc": { "start": { "line": 6, "column": 37 }, "end": { "line": 6, "column": 39 } } }, "range": [ 195, 226 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 39 } } }, "property": { "type": "Identifier", "name": "be", "range": [ 227, 229 ], "loc": { "start": { "line": 6, "column": 40 }, "end": { "line": 6, "column": 42 } } }, "range": [ 195, 229 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 42 } } }, "property": { "type": "Identifier", "name": "a", "range": [ 230, 231 ], "loc": { "start": { "line": 6, "column": 43 }, "end": { "line": 6, "column": 44 } } }, "range": [ 195, 231 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 44 } } }, "arguments": [ { "type": "Literal", "value": "function", "raw": "'function'", "range": [ 232, 242 ], "loc": { "start": { "line": 6, "column": 45 }, "end": { "line": 6, "column": 55 } } } ], "range": [ 195, 243 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 56 } } }, "range": [ 195, 244 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 57 } } } ], "range": [ 185, 250 ], "loc": { "start": { "line": 5, "column": 67 }, "end": { "line": 7, "column": 5 } } }, "generator": false, "expression": false, "range": [ 173, 250 ], "loc": { "start": { "line": 5, "column": 55 }, "end": { "line": 7, "column": 5 } } } ], "range": [ 122, 251 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 6 } }, "_esdocTestId": 2341, "_esdocTestName": "it2341" }, "range": [ 122, 252 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 7 } } } ], "range": [ 116, 254 ], "loc": { "start": { "line": 4, "column": 36 }, "end": { "line": 8, "column": 1 } } }, "generator": false, "expression": false, "range": [ 104, 254 ], "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 8, "column": 1 } } } ], "range": [ 80, 255 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 8, "column": 2 } }, "_esdocTestId": 2340, "_esdocTestName": "describe2340" }, "range": [ 80, 256 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 8, "column": 3 } }, "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=root-module-spec.js.map", "range": [ 257, 301 ], "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 44 } } } ] } ], "sourceType": "module", "range": [ 0, 256 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 8, "column": 3 } }, "comments": [ { "type": "Line", "value": "# sourceMappingURL=root-module-spec.js.map", "range": [ 257, 301 ], "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 44 } } } ] }