@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
300 lines • 6.16 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportSpecifier",
"local": {
"type": "Identifier",
"name": "WebSocketSubject",
"range": [
9,
25
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 25
}
}
},
"imported": {
"type": "Identifier",
"name": "WebSocketSubject",
"range": [
9,
25
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 25
}
}
},
"range": [
9,
25
],
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 25
}
}
}
],
"source": {
"type": "Literal",
"value": "./WebSocketSubject",
"raw": "'./WebSocketSubject'",
"range": [
33,
53
],
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 53
}
}
},
"range": [
0,
54
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 54
}
}
},
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "webSocket",
"range": [
66,
75
],
"loc": {
"start": {
"line": 2,
"column": 11
},
"end": {
"line": 2,
"column": 20
}
}
},
"init": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "WebSocketSubject",
"range": [
78,
94
],
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"name": "create",
"range": [
95,
101
],
"loc": {
"start": {
"line": 2,
"column": 40
},
"end": {
"line": 2,
"column": 46
}
}
},
"range": [
78,
101
],
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 46
}
}
},
"range": [
66,
101
],
"loc": {
"start": {
"line": 2,
"column": 11
},
"end": {
"line": 2,
"column": 46
}
}
}
],
"kind": "var",
"range": [
62,
102
],
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 47
}
},
"leadingComments": [],
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=webSocket.js.map",
"range": [
103,
140
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 37
}
}
}
]
},
"specifiers": [],
"source": null,
"range": [
55,
102
],
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 47
}
},
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=webSocket.js.map",
"range": [
103,
140
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 37
}
}
}
]
}
],
"sourceType": "module",
"range": [
0,
102
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 2,
"column": 47
}
},
"comments": [
{
"type": "Line",
"value": "# sourceMappingURL=webSocket.js.map",
"range": [
103,
140
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 37
}
}
}
]
}