@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
528 lines • 10.7 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportSpecifier",
"local": {
"type": "Identifier",
"name": "Observable",
"range": [
9,
19
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
}
}
},
"imported": {
"type": "Identifier",
"name": "Observable",
"range": [
9,
19
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
}
}
},
"range": [
9,
19
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
}
}
}
],
"source": {
"type": "Literal",
"value": "../../Observable",
"raw": "'../../Observable'",
"range": [
27,
45
],
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 45
}
}
},
"range": [
0,
46
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 46
}
}
},
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportSpecifier",
"local": {
"type": "Identifier",
"name": "_switch",
"range": [
56,
63
],
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 16
}
}
},
"imported": {
"type": "Identifier",
"name": "_switch",
"range": [
56,
63
],
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 16
}
}
},
"range": [
56,
63
],
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 16
}
}
}
],
"source": {
"type": "Literal",
"value": "../../operator/switch",
"raw": "'../../operator/switch'",
"range": [
71,
94
],
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 47
}
}
},
"range": [
47,
95
],
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 48
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Observable",
"range": [
96,
106
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 10
}
}
},
"property": {
"type": "Identifier",
"name": "prototype",
"range": [
107,
116
],
"loc": {
"start": {
"line": 3,
"column": 11
},
"end": {
"line": 3,
"column": 20
}
}
},
"range": [
96,
116
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"name": "switch",
"range": [
117,
123
],
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"column": 27
}
}
},
"range": [
96,
123
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 27
}
}
},
"right": {
"type": "Identifier",
"name": "_switch",
"range": [
126,
133
],
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 37
}
}
},
"range": [
96,
133
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 37
}
}
},
"range": [
96,
134
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 38
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Observable",
"range": [
135,
145
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 10
}
}
},
"property": {
"type": "Identifier",
"name": "prototype",
"range": [
146,
155
],
"loc": {
"start": {
"line": 4,
"column": 11
},
"end": {
"line": 4,
"column": 20
}
}
},
"range": [
135,
155
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"name": "_switch",
"range": [
156,
163
],
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 28
}
}
},
"range": [
135,
163
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 28
}
}
},
"right": {
"type": "Identifier",
"name": "_switch",
"range": [
166,
173
],
"loc": {
"start": {
"line": 4,
"column": 31
},
"end": {
"line": 4,
"column": 38
}
}
},
"range": [
135,
173
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 38
}
}
},
"range": [
135,
174
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 39
}
},
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=switch.js.map",
"range": [
175,
209
],
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 34
}
}
}
]
}
],
"sourceType": "module",
"range": [
0,
174
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 4,
"column": 39
}
},
"comments": [
{
"type": "Line",
"value": "# sourceMappingURL=switch.js.map",
"range": [
175,
209
],
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 34
}
}
}
]
}