Debian Codegraph @

packages/babel-parser/test/fixtures/es2020/nullish-coalescing-operator/multiline/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":7,"index":17}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":7,"index":17}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":7,"index":17}},
13 "expression": {
14 "type": "LogicalExpression",
15 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":6,"index":16}},
16 "left": {
17 "type": "LogicalExpression",
18 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":9}},
19 "left": {
20 "type": "Identifier",
21 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"a"},
22 "name": "a"
23 },
24 "operator": "??",
25 "right": {
26 "type": "Identifier",
27 "start":8,"end":9,"loc":{"start":{"line":2,"column":5,"index":8},"end":{"line":2,"column":6,"index":9},"identifierName":"b"},
28 "name": "b"
29 }
30 },
31 "operator": "??",
32 "right": {
33 "type": "Identifier",
34 "start":15,"end":16,"loc":{"start":{"line":3,"column":5,"index":15},"end":{"line":3,"column":6,"index":16},"identifierName":"c"},
35 "name": "c"
36 }
37 }
38 }
39 ],
40 "directives": []
41 }
42 }