@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
1,389 lines • 46.8 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "applyMixins",
"range": [
16,
27
],
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 27
}
}
},
"params": [
{
"type": "Identifier",
"name": "derivedCtor",
"range": [
28,
39
],
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 1,
"column": 39
}
}
},
{
"type": "Identifier",
"name": "baseCtors",
"range": [
41,
50
],
"loc": {
"start": {
"line": 1,
"column": 41
},
"end": {
"line": 1,
"column": 50
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ForStatement",
"init": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "i",
"range": [
67,
68
],
"loc": {
"start": {
"line": 2,
"column": 13
},
"end": {
"line": 2,
"column": 14
}
}
},
"init": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
71,
72
],
"loc": {
"start": {
"line": 2,
"column": 17
},
"end": {
"line": 2,
"column": 18
}
}
},
"range": [
67,
72
],
"loc": {
"start": {
"line": 2,
"column": 13
},
"end": {
"line": 2,
"column": 18
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "len",
"range": [
74,
77
],
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 23
}
}
},
"init": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "baseCtors",
"range": [
80,
89
],
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"name": "length",
"range": [
90,
96
],
"loc": {
"start": {
"line": 2,
"column": 36
},
"end": {
"line": 2,
"column": 42
}
}
},
"range": [
80,
96
],
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 42
}
}
},
"range": [
74,
96
],
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 42
}
}
}
],
"kind": "var",
"range": [
63,
96
],
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 42
}
}
},
"test": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "Identifier",
"name": "i",
"range": [
98,
99
],
"loc": {
"start": {
"line": 2,
"column": 44
},
"end": {
"line": 2,
"column": 45
}
}
},
"right": {
"type": "Identifier",
"name": "len",
"range": [
102,
105
],
"loc": {
"start": {
"line": 2,
"column": 48
},
"end": {
"line": 2,
"column": 51
}
}
},
"range": [
98,
105
],
"loc": {
"start": {
"line": 2,
"column": 44
},
"end": {
"line": 2,
"column": 51
}
}
},
"update": {
"type": "UpdateExpression",
"operator": "++",
"argument": {
"type": "Identifier",
"name": "i",
"range": [
107,
108
],
"loc": {
"start": {
"line": 2,
"column": 53
},
"end": {
"line": 2,
"column": 54
}
}
},
"prefix": false,
"range": [
107,
110
],
"loc": {
"start": {
"line": 2,
"column": 53
},
"end": {
"line": 2,
"column": 56
}
}
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "baseCtor",
"range": [
126,
134
],
"loc": {
"start": {
"line": 3,
"column": 12
},
"end": {
"line": 3,
"column": 20
}
}
},
"init": {
"type": "MemberExpression",
"computed": true,
"object": {
"type": "Identifier",
"name": "baseCtors",
"range": [
137,
146
],
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"name": "i",
"range": [
147,
148
],
"loc": {
"start": {
"line": 3,
"column": 33
},
"end": {
"line": 3,
"column": 34
}
}
},
"range": [
137,
149
],
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 35
}
}
},
"range": [
126,
149
],
"loc": {
"start": {
"line": 3,
"column": 12
},
"end": {
"line": 3,
"column": 35
}
}
}
],
"kind": "var",
"range": [
122,
150
],
"loc": {
"start": {
"line": 3,
"column": 8
},
"end": {
"line": 3,
"column": 36
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "propertyKeys",
"range": [
163,
175
],
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 24
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Object",
"range": [
178,
184
],
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"name": "getOwnPropertyNames",
"range": [
185,
204
],
"loc": {
"start": {
"line": 4,
"column": 34
},
"end": {
"line": 4,
"column": 53
}
}
},
"range": [
178,
204
],
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"column": 53
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "baseCtor",
"range": [
205,
213
],
"loc": {
"start": {
"line": 4,
"column": 54
},
"end": {
"line": 4,
"column": 62
}
}
},
"property": {
"type": "Identifier",
"name": "prototype",
"range": [
214,
223
],
"loc": {
"start": {
"line": 4,
"column": 63
},
"end": {
"line": 4,
"column": 72
}
}
},
"range": [
205,
223
],
"loc": {
"start": {
"line": 4,
"column": 54
},
"end": {
"line": 4,
"column": 72
}
}
}
],
"range": [
178,
224
],
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"column": 73
}
}
},
"range": [
163,
224
],
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 73
}
}
}
],
"kind": "var",
"range": [
159,
225
],
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 74
}
}
},
{
"type": "ForStatement",
"init": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "j",
"range": [
243,
244
],
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 18
}
}
},
"init": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
247,
248
],
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 22
}
}
},
"range": [
243,
248
],
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 22
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "len2",
"range": [
250,
254
],
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 28
}
}
},
"init": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "propertyKeys",
"range": [
257,
269
],
"loc": {
"start": {
"line": 5,
"column": 31
},
"end": {
"line": 5,
"column": 43
}
}
},
"property": {
"type": "Identifier",
"name": "length",
"range": [
270,
276
],
"loc": {
"start": {
"line": 5,
"column": 44
},
"end": {
"line": 5,
"column": 50
}
}
},
"range": [
257,
276
],
"loc": {
"start": {
"line": 5,
"column": 31
},
"end": {
"line": 5,
"column": 50
}
}
},
"range": [
250,
276
],
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 50
}
}
}
],
"kind": "var",
"range": [
239,
276
],
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 50
}
}
},
"test": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "Identifier",
"name": "j",
"range": [
278,
279
],
"loc": {
"start": {
"line": 5,
"column": 52
},
"end": {
"line": 5,
"column": 53
}
}
},
"right": {
"type": "Identifier",
"name": "len2",
"range": [
282,
286
],
"loc": {
"start": {
"line": 5,
"column": 56
},
"end": {
"line": 5,
"column": 60
}
}
},
"range": [
278,
286
],
"loc": {
"start": {
"line": 5,
"column": 52
},
"end": {
"line": 5,
"column": 60
}
}
},
"update": {
"type": "UpdateExpression",
"operator": "++",
"argument": {
"type": "Identifier",
"name": "j",
"range": [
288,
289
],
"loc": {
"start": {
"line": 5,
"column": 62
},
"end": {
"line": 5,
"column": 63
}
}
},
"prefix": false,
"range": [
288,
291
],
"loc": {
"start": {
"line": 5,
"column": 62
},
"end": {
"line": 5,
"column": 65
}
}
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "name_1",
"range": [
311,
317
],
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 22
}
}
},
"init": {
"type": "MemberExpression",
"computed": true,
"object": {
"type": "Identifier",
"name": "propertyKeys",
"range": [
320,
332
],
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"name": "j",
"range": [
333,
334
],
"loc": {
"start": {
"line": 6,
"column": 38
},
"end": {
"line": 6,
"column": 39
}
}
},
"range": [
320,
335
],
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 40
}
}
},
"range": [
311,
335
],
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 40
}
}
}
],
"kind": "var",
"range": [
307,
336
],
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 41
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": true,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "derivedCtor",
"range": [
349,
360
],
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"name": "prototype",
"range": [
361,
370
],
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 33
}
}
},
"range": [
349,
370
],
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"name": "name_1",
"range": [
371,
377
],
"loc": {
"start": {
"line": 7,
"column": 34
},
"end": {
"line": 7,
"column": 40
}
}
},
"range": [
349,
378
],
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 41
}
}
},
"right": {
"type": "MemberExpression",
"computed": true,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "baseCtor",
"range": [
381,
389
],
"loc": {
"start": {
"line": 7,
"column": 44
},
"end": {
"line": 7,
"column": 52
}
}
},
"property": {
"type": "Identifier",
"name": "prototype",
"range": [
390,
399
],
"loc": {
"start": {
"line": 7,
"column": 53
},
"end": {
"line": 7,
"column": 62
}
}
},
"range": [
381,
399
],
"loc": {
"start": {
"line": 7,
"column": 44
},
"end": {
"line": 7,
"column": 62
}
}
},
"property": {
"type": "Identifier",
"name": "name_1",
"range": [
400,
406
],
"loc": {
"start": {
"line": 7,
"column": 63
},
"end": {
"line": 7,
"column": 69
}
}
},
"range": [
381,
407
],
"loc": {
"start": {
"line": 7,
"column": 44
},
"end": {
"line": 7,
"column": 70
}
}
},
"range": [
349,
407
],
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 70
}
}
},
"range": [
349,
408
],
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 71
}
}
}
],
"range": [
293,
418
],
"loc": {
"start": {
"line": 5,
"column": 67
},
"end": {
"line": 8,
"column": 9
}
}
},
"range": [
234,
418
],
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 8,
"column": 9
}
}
}
],
"range": [
112,
424
],
"loc": {
"start": {
"line": 2,
"column": 58
},
"end": {
"line": 9,
"column": 5
}
}
},
"range": [
58,
424
],
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 9,
"column": 5
}
}
}
],
"range": [
52,
426
],
"loc": {
"start": {
"line": 1,
"column": 52
},
"end": {
"line": 10,
"column": 1
}
}
},
"generator": false,
"expression": false,
"range": [
7,
426
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 10,
"column": 1
}
},
"leadingComments": [],
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=applyMixins.js.map",
"range": [
427,
466
],
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 39
}
}
}
]
},
"specifiers": [],
"source": null,
"range": [
0,
426
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 10,
"column": 1
}
},
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=applyMixins.js.map",
"range": [
427,
466
],
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 39
}
}
}
]
}
],
"sourceType": "module",
"range": [
0,
426
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 10,
"column": 1
}
},
"comments": [
{
"type": "Line",
"value": "# sourceMappingURL=applyMixins.js.map",
"range": [
427,
466
],
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 39
}
}
}
]
}