UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

717 lines 20.1 kB
{ "type": "Program", "body": [ { "type": "ExportNamedDeclaration", "declaration": { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "not", "range": [ 16, 19 ], "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 19 } } }, "params": [ { "type": "Identifier", "name": "pred", "range": [ 20, 24 ], "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 24 } } }, { "type": "Identifier", "name": "thisArg", "range": [ 26, 33 ], "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 33 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "notPred", "range": [ 50, 57 ], "loc": { "start": { "line": 2, "column": 13 }, "end": { "line": 2, "column": 20 } } }, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "notPred", "range": [ 79, 86 ], "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 24 } } }, "property": { "type": "Identifier", "name": "pred", "range": [ 87, 91 ], "loc": { "start": { "line": 3, "column": 25 }, "end": { "line": 3, "column": 29 } } }, "range": [ 79, 91 ], "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 29 } } }, "property": { "type": "Identifier", "name": "apply", "range": [ 92, 97 ], "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 35 } } }, "range": [ 79, 97 ], "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 35 } } }, "arguments": [ { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "notPred", "range": [ 98, 105 ], "loc": { "start": { "line": 3, "column": 36 }, "end": { "line": 3, "column": 43 } } }, "property": { "type": "Identifier", "name": "thisArg", "range": [ 106, 113 ], "loc": { "start": { "line": 3, "column": 44 }, "end": { "line": 3, "column": 51 } } }, "range": [ 98, 113 ], "loc": { "start": { "line": 3, "column": 36 }, "end": { "line": 3, "column": 51 } } }, { "type": "Identifier", "name": "arguments", "range": [ 115, 124 ], "loc": { "start": { "line": 3, "column": 53 }, "end": { "line": 3, "column": 62 } } } ], "range": [ 79, 125 ], "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 63 } } }, "prefix": true, "range": [ 77, 126 ], "loc": { "start": { "line": 3, "column": 15 }, "end": { "line": 3, "column": 64 } } }, "range": [ 70, 127 ], "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 65 } } } ], "range": [ 60, 133 ], "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 4, "column": 5 } } }, "generator": false, "expression": false, "range": [ 41, 133 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 4, "column": 5 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "notPred", "range": [ 138, 145 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 11 } } }, "property": { "type": "Identifier", "name": "pred", "range": [ 146, 150 ], "loc": { "start": { "line": 5, "column": 12 }, "end": { "line": 5, "column": 16 } } }, "range": [ 138, 150 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 16 } } }, "right": { "type": "Identifier", "name": "pred", "range": [ 153, 157 ], "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 23 } } }, "range": [ 138, 157 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 23 } } }, "range": [ 138, 158 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 24 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "notPred", "range": [ 163, 170 ], "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 11 } } }, "property": { "type": "Identifier", "name": "thisArg", "range": [ 171, 178 ], "loc": { "start": { "line": 6, "column": 12 }, "end": { "line": 6, "column": 19 } } }, "range": [ 163, 178 ], "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 19 } } }, "right": { "type": "Identifier", "name": "thisArg", "range": [ 181, 188 ], "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 29 } } }, "range": [ 163, 188 ], "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 29 } } }, "range": [ 163, 189 ], "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 30 } } }, { "type": "ReturnStatement", "argument": { "type": "Identifier", "name": "notPred", "range": [ 201, 208 ], "loc": { "start": { "line": 7, "column": 11 }, "end": { "line": 7, "column": 18 } } }, "range": [ 194, 209 ], "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 19 } } } ], "range": [ 35, 211 ], "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 8, "column": 1 } } }, "generator": false, "expression": false, "range": [ 7, 211 ], "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 8, "column": 1 } }, "leadingComments": [], "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=not.js.map", "range": [ 212, 243 ], "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 31 } } } ] }, "specifiers": [], "source": null, "range": [ 0, 211 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 8, "column": 1 } }, "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=not.js.map", "range": [ 212, 243 ], "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 31 } } } ] } ], "sourceType": "module", "range": [ 0, 211 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 8, "column": 1 } }, "comments": [ { "type": "Line", "value": "# sourceMappingURL=not.js.map", "range": [ 212, 243 ], "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 31 } } } ] }