Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/explicit-resource-management/valid-using-binding-basic/output.json

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