@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
1,117 lines • 41 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "ObjectUnsubscribedError",
"range": [
205,
228
],
"loc": {
"start": {
"line": 10,
"column": 11
},
"end": {
"line": 10,
"column": 34
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "_super",
"range": [
242,
248
],
"loc": {
"start": {
"line": 10,
"column": 48
},
"end": {
"line": 10,
"column": 54
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "__extends",
"range": [
256,
265
],
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "ObjectUnsubscribedError",
"range": [
266,
289
],
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 37
}
}
},
{
"type": "Identifier",
"name": "_super",
"range": [
291,
297
],
"loc": {
"start": {
"line": 11,
"column": 39
},
"end": {
"line": 11,
"column": 45
}
}
}
],
"range": [
256,
298
],
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 46
}
}
},
"range": [
256,
299
],
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 47
}
}
},
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "ObjectUnsubscribedError",
"range": [
313,
336
],
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 36
}
}
},
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "err",
"range": [
353,
356
],
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 15
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "_super",
"range": [
359,
365
],
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"name": "call",
"range": [
366,
370
],
"loc": {
"start": {
"line": 13,
"column": 25
},
"end": {
"line": 13,
"column": 29
}
}
},
"range": [
359,
370
],
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 29
}
}
},
"arguments": [
{
"type": "ThisExpression",
"range": [
371,
375
],
"loc": {
"start": {
"line": 13,
"column": 30
},
"end": {
"line": 13,
"column": 34
}
}
},
{
"type": "Literal",
"value": "object unsubscribed",
"raw": "'object unsubscribed'",
"range": [
377,
398
],
"loc": {
"start": {
"line": 13,
"column": 36
},
"end": {
"line": 13,
"column": 57
}
}
}
],
"range": [
359,
399
],
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 58
}
}
},
"range": [
353,
399
],
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 58
}
}
}
],
"kind": "var",
"range": [
349,
400
],
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 59
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
409,
413
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "name",
"range": [
414,
418
],
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 17
}
}
},
"range": [
409,
418
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 17
}
}
},
"right": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "err",
"range": [
421,
424
],
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"name": "name",
"range": [
425,
429
],
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 28
}
}
},
"range": [
421,
429
],
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 28
}
}
},
"right": {
"type": "Literal",
"value": "ObjectUnsubscribedError",
"raw": "'ObjectUnsubscribedError'",
"range": [
432,
457
],
"loc": {
"start": {
"line": 14,
"column": 31
},
"end": {
"line": 14,
"column": 56
}
}
},
"range": [
421,
457
],
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 56
}
}
},
"range": [
409,
457
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 56
}
}
},
"range": [
409,
458
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 57
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
467,
471
],
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "stack",
"range": [
472,
477
],
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 18
}
}
},
"range": [
467,
477
],
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 18
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "err",
"range": [
480,
483
],
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"name": "stack",
"range": [
484,
489
],
"loc": {
"start": {
"line": 15,
"column": 25
},
"end": {
"line": 15,
"column": 30
}
}
},
"range": [
480,
489
],
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 30
}
}
},
"range": [
467,
489
],
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 30
}
}
},
"range": [
467,
490
],
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 31
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
499,
503
],
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "message",
"range": [
504,
511
],
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 20
}
}
},
"range": [
499,
511
],
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 20
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "err",
"range": [
514,
517
],
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"name": "message",
"range": [
518,
525
],
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 16,
"column": 34
}
}
},
"range": [
514,
525
],
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 34
}
}
},
"range": [
499,
525
],
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 34
}
}
},
"range": [
499,
526
],
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 35
}
}
}
],
"range": [
339,
532
],
"loc": {
"start": {
"line": 12,
"column": 39
},
"end": {
"line": 17,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
304,
532
],
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 17,
"column": 5
}
}
},
{
"type": "ReturnStatement",
"argument": {
"type": "Identifier",
"name": "ObjectUnsubscribedError",
"range": [
544,
567
],
"loc": {
"start": {
"line": 18,
"column": 11
},
"end": {
"line": 18,
"column": 34
}
}
},
"range": [
537,
568
],
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 35
}
}
}
],
"range": [
250,
570
],
"loc": {
"start": {
"line": 10,
"column": 56
},
"end": {
"line": 19,
"column": 1
}
}
},
"generator": false,
"expression": false,
"range": [
232,
570
],
"loc": {
"start": {
"line": 10,
"column": 38
},
"end": {
"line": 19,
"column": 1
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "Error",
"range": [
571,
576
],
"loc": {
"start": {
"line": 19,
"column": 2
},
"end": {
"line": 19,
"column": 7
}
}
}
],
"range": [
232,
577
],
"loc": {
"start": {
"line": 10,
"column": 38
},
"end": {
"line": 19,
"column": 8
}
}
},
"range": [
205,
578
],
"loc": {
"start": {
"line": 10,
"column": 11
},
"end": {
"line": 19,
"column": 9
}
}
}
],
"kind": "var",
"range": [
201,
579
],
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 19,
"column": 10
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\n * An error thrown when an action is invalid because the object has been\n * unsubscribed.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n *\n * @class ObjectUnsubscribedError\n ",
"range": [
0,
193
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 9,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=ObjectUnsubscribedError.js.map",
"range": [
580,
631
],
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 51
}
}
}
]
},
"specifiers": [],
"source": null,
"range": [
194,
579
],
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 19,
"column": 10
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\n * An error thrown when an action is invalid because the object has been\n * unsubscribed.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n *\n * @class ObjectUnsubscribedError\n ",
"range": [
0,
193
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 9,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=ObjectUnsubscribedError.js.map",
"range": [
580,
631
],
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 51
}
}
}
]
}
],
"sourceType": "module",
"range": [
194,
579
],
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 19,
"column": 10
}
},
"comments": [
{
"type": "Block",
"value": "*\n * An error thrown when an action is invalid because the object has been\n * unsubscribed.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n *\n * @class ObjectUnsubscribedError\n ",
"range": [
0,
193
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 9,
"column": 3
}
}
},
{
"type": "Line",
"value": "# sourceMappingURL=ObjectUnsubscribedError.js.map",
"range": [
580,
631
],
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 51
}
}
}
]
}