Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/explicit-resource-management/valid-using-as-identifier-expression-statement/output.json

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