UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

1,228 lines (1,227 loc) 107 kB
{ "type": "Program", "body": [ { "type": "ExportNamedDeclaration", "declaration": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "FastMap", "range": [ 11, 18 ], "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 18 } } }, "init": { "type": "CallExpression", "callee": { "type": "FunctionExpression", "id": null, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "FastMap", "range": [ 49, 56 ], "loc": { "start": { "line": 2, "column": 13 }, "end": { "line": 2, "column": 20 } } }, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 69, 73 ], "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 12 } } }, "property": { "type": "Identifier", "name": "values", "range": [ 74, 80 ], "loc": { "start": { "line": 3, "column": 13 }, "end": { "line": 3, "column": 19 } } }, "range": [ 69, 80 ], "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 19 } } }, "right": { "type": "ObjectExpression", "properties": [], "range": [ 83, 85 ], "loc": { "start": { "line": 3, "column": 22 }, "end": { "line": 3, "column": 24 } } }, "range": [ 69, 85 ], "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 24 } } }, "range": [ 69, 86 ], "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 25 } } } ], "range": [ 59, 92 ], "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 4, "column": 5 } } }, "generator": false, "expression": false, "range": [ 40, 92 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 4, "column": 5 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "FastMap", "range": [ 97, 104 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 11 } } }, "property": { "type": "Identifier", "name": "prototype", "range": [ 105, 114 ], "loc": { "start": { "line": 5, "column": 12 }, "end": { "line": 5, "column": 21 } } }, "range": [ 97, 114 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 21 } } }, "property": { "type": "Identifier", "name": "delete", "range": [ 115, 121 ], "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 28 } } }, "range": [ 97, 121 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 28 } } }, "right": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "key", "range": [ 134, 137 ], "loc": { "start": { "line": 5, "column": 41 }, "end": { "line": 5, "column": 44 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 149, 153 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 12 } } }, "property": { "type": "Identifier", "name": "values", "range": [ 154, 160 ], "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 19 } } }, "range": [ 149, 160 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 19 } } }, "property": { "type": "Identifier", "name": "key", "range": [ 161, 164 ], "loc": { "start": { "line": 6, "column": 20 }, "end": { "line": 6, "column": 23 } } }, "range": [ 149, 165 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 24 } } }, "right": { "type": "Literal", "value": null, "raw": "null", "range": [ 168, 172 ], "loc": { "start": { "line": 6, "column": 27 }, "end": { "line": 6, "column": 31 } } }, "range": [ 149, 172 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 31 } } }, "range": [ 149, 173 ], "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 32 } } }, { "type": "ReturnStatement", "argument": { "type": "Literal", "value": true, "raw": "true", "range": [ 189, 193 ], "loc": { "start": { "line": 7, "column": 15 }, "end": { "line": 7, "column": 19 } } }, "range": [ 182, 194 ], "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 20 } } } ], "range": [ 139, 200 ], "loc": { "start": { "line": 5, "column": 46 }, "end": { "line": 8, "column": 5 } } }, "generator": false, "expression": false, "range": [ 124, 200 ], "loc": { "start": { "line": 5, "column": 31 }, "end": { "line": 8, "column": 5 } } }, "range": [ 97, 200 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 8, "column": 5 } } }, "range": [ 97, 201 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 8, "column": 6 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "FastMap", "range": [ 206, 213 ], "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 11 } } }, "property": { "type": "Identifier", "name": "prototype", "range": [ 214, 223 ], "loc": { "start": { "line": 9, "column": 12 }, "end": { "line": 9, "column": 21 } } }, "range": [ 206, 223 ], "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 21 } } }, "property": { "type": "Identifier", "name": "set", "range": [ 224, 227 ], "loc": { "start": { "line": 9, "column": 22 }, "end": { "line": 9, "column": 25 } } }, "range": [ 206, 227 ], "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 25 } } }, "right": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "key", "range": [ 240, 243 ], "loc": { "start": { "line": 9, "column": 38 }, "end": { "line": 9, "column": 41 } } }, { "type": "Identifier", "name": "value", "range": [ 245, 250 ], "loc": { "start": { "line": 9, "column": 43 }, "end": { "line": 9, "column": 48 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 262, 266 ], "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 12 } } }, "property": { "type": "Identifier", "name": "values", "range": [ 267, 273 ], "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 19 } } }, "range": [ 262, 273 ], "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 19 } } }, "property": { "type": "Identifier", "name": "key", "range": [ 274, 277 ], "loc": { "start": { "line": 10, "column": 20 }, "end": { "line": 10, "column": 23 } } }, "range": [ 262, 278 ], "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 24 } } }, "right": { "type": "Identifier", "name": "value", "range": [ 281, 286 ], "loc": { "start": { "line": 10, "column": 27 }, "end": { "line": 10, "column": 32 } } }, "range": [ 262, 286 ], "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 32 } } }, "range": [ 262, 287 ], "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 33 } } }, { "type": "ReturnStatement", "argument": { "type": "ThisExpression", "range": [ 303, 307 ], "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 19 } } }, "range": [ 296, 308 ], "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 20 } } } ], "range": [ 252, 314 ], "loc": { "start": { "line": 9, "column": 50 }, "end": { "line": 12, "column": 5 } } }, "generator": false, "expression": false, "range": [ 230, 314 ], "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 12, "column": 5 } } }, "range": [ 206, 314 ], "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 12, "column": 5 } } }, "range": [ 206, 315 ], "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 12, "column": 6 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "FastMap", "range": [ 320, 327 ], "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 11 } } }, "property": { "type": "Identifier", "name": "prototype", "range": [ 328, 337 ], "loc": { "start": { "line": 13, "column": 12 }, "end": { "line": 13, "column": 21 } } }, "range": [ 320, 337 ], "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 21 } } }, "property": { "type": "Identifier", "name": "get", "range": [ 338, 341 ], "loc": { "start": { "line": 13, "column": 22 }, "end": { "line": 13, "column": 25 } } }, "range": [ 320, 341 ], "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 25 } } }, "right": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "key", "range": [ 354, 357 ], "loc": { "start": { "line": 13, "column": 38 }, "end": { "line": 13, "column": 41 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 376, 380 ], "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 19 } } }, "property": { "type": "Identifier", "name": "values", "range": [ 381, 387 ], "loc": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "column": 26 } } }, "range": [ 376, 387 ], "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 26 } } }, "property": { "type": "Identifier", "name": "key", "range": [ 388, 391 ], "loc": { "start": { "line": 14, "column": 27 }, "end": { "line": 14, "column": 30 } } }, "range": [ 376, 392 ], "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 31 } } }, "range": [ 369, 393 ], "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 32 } } } ], "range": [ 359, 399 ], "loc": { "start": { "line": 13, "column": 43 }, "end": { "line": 15, "column": 5 } } }, "generator": false, "expression": false, "range": [ 344, 399 ], "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 15, "column": 5 } } }, "range": [ 320, 399 ], "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 15, "column": 5 } } }, "range": [ 320, 400 ], "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 15,