@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
814 lines • 20.6 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportSpecifier",
"local": {
"type": "Identifier",
"name": "Subject",
"range": [
9,
16
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
}
}
},
"imported": {
"type": "Identifier",
"name": "Subject",
"range": [
9,
16
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
}
}
},
"range": [
9,
16
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
}
}
}
],
"source": {
"type": "Literal",
"value": "../Subject",
"raw": "'../Subject'",
"range": [
24,
36
],
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 36
}
}
},
"range": [
0,
37
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 37
}
}
},
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportSpecifier",
"local": {
"type": "Identifier",
"name": "multicast",
"range": [
47,
56
],
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
}
}
},
"imported": {
"type": "Identifier",
"name": "multicast",
"range": [
47,
56
],
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
}
}
},
"range": [
47,
56
],
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
}
}
}
],
"source": {
"type": "Literal",
"value": "./multicast",
"raw": "'./multicast'",
"range": [
64,
77
],
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 39
}
}
},
"range": [
38,
78
],
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 40
}
},
"trailingComments": [
{
"type": "Block",
"value": " tslint:disable:max-line-length ",
"range": [
79,
115
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 36
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "publish",
"range": [
132,
139
],
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 23
}
}
},
"params": [
{
"type": "Identifier",
"name": "selector",
"range": [
140,
148
],
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 32
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "ConditionalExpression",
"test": {
"type": "Identifier",
"name": "selector",
"range": [
163,
171
],
"loc": {
"start": {
"line": 5,
"column": 11
},
"end": {
"line": 5,
"column": 19
}
}
},
"consequent": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "multicast",
"range": [
174,
183
],
"loc": {
"start": {
"line": 5,
"column": 22
},
"end": {
"line": 5,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"name": "call",
"range": [
184,
188
],
"loc": {
"start": {
"line": 5,
"column": 32
},
"end": {
"line": 5,
"column": 36
}
}
},
"range": [
174,
188
],
"loc": {
"start": {
"line": 5,
"column": 22
},
"end": {
"line": 5,
"column": 36
}
}
},
"arguments": [
{
"type": "ThisExpression",
"range": [
189,
193
],
"loc": {
"start": {
"line": 5,
"column": 37
},
"end": {
"line": 5,
"column": 41
}
}
},
{
"type": "FunctionExpression",
"id": null,
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "NewExpression",
"callee": {
"type": "Identifier",
"name": "Subject",
"range": [
220,
227
],
"loc": {
"start": {
"line": 5,
"column": 68
},
"end": {
"line": 5,
"column": 75
}
}
},
"arguments": [],
"range": [
216,
229
],
"loc": {
"start": {
"line": 5,
"column": 64
},
"end": {
"line": 5,
"column": 77
}
}
},
"range": [
209,
230
],
"loc": {
"start": {
"line": 5,
"column": 57
},
"end": {
"line": 5,
"column": 78
}
}
}
],
"range": [
207,
232
],
"loc": {
"start": {
"line": 5,
"column": 55
},
"end": {
"line": 5,
"column": 80
}
}
},
"generator": false,
"expression": false,
"range": [
195,
232
],
"loc": {
"start": {
"line": 5,
"column": 43
},
"end": {
"line": 5,
"column": 80
}
}
},
{
"type": "Identifier",
"name": "selector",
"range": [
234,
242
],
"loc": {
"start": {
"line": 5,
"column": 82
},
"end": {
"line": 5,
"column": 90
}
}
}
],
"range": [
174,
243
],
"loc": {
"start": {
"line": 5,
"column": 22
},
"end": {
"line": 5,
"column": 91
}
}
},
"alternate": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "multicast",
"range": [
254,
263
],
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 17
}
}
},
"property": {
"type": "Identifier",
"name": "call",
"range": [
264,
268
],
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 22
}
}
},
"range": [
254,
268
],
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 22
}
}
},
"arguments": [
{
"type": "ThisExpression",
"range": [
269,
273
],
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": "NewExpression",
"callee": {
"type": "Identifier",
"name": "Subject",
"range": [
279,
286
],
"loc": {
"start": {
"line": 6,
"column": 33
},
"end": {
"line": 6,
"column": 40
}
}
},
"arguments": [],
"range": [
275,
288
],
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 6,
"column": 42
}
}
}
],
"range": [
254,
289
],
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 43
}
}
},
"range": [
163,
289
],
"loc": {
"start": {
"line": 5,
"column": 11
},
"end": {
"line": 6,
"column": 43
}
}
},
"range": [
156,
290
],
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 6,
"column": 44
}
}
}
],
"range": [
150,
292
],
"loc": {
"start": {
"line": 4,
"column": 34
},
"end": {
"line": 7,
"column": 1
}
}
},
"generator": false,
"expression": false,
"range": [
123,
292
],
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 7,
"column": 1
}
},
"leadingComments": [
{
"type": "Block",
"value": " tslint:disable:max-line-length ",
"range": [
79,
115
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 36
}
}
}
],
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=publish.js.map",
"range": [
293,
328
],
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 35
}
}
}
]
},
"specifiers": [],
"source": null,
"range": [
116,
292
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 7,
"column": 1
}
},
"leadingComments": [
{
"type": "Block",
"value": " tslint:disable:max-line-length ",
"range": [
79,
115
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 36
}
}
}
],
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=publish.js.map",
"range": [
293,
328
],
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 35
}
}
}
]
}
],
"sourceType": "module",
"range": [
0,
292
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 7,
"column": 1
}
},
"comments": [
{
"type": "Block",
"value": " tslint:disable:max-line-length ",
"range": [
79,
115
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 36
}
}
},
{
"type": "Line",
"value": "# sourceMappingURL=publish.js.map",
"range": [
293,
328
],
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 35
}
}
}
]
}