Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/explicit-resource-management/valid-using-as-identifier-computed-member-no-plugin/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":22,"index":37}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":22,"index":37}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
16 "operator": "=",
17 "left": {
18 "type": "MemberExpression",
19 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
20 "object": {
21 "type": "Identifier",
22 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"using"},
23 "name": "using"
24 },
25 "computed": true,
26 "property": {
27 "type": "Identifier",
28 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"x"},
29 "name": "x"
30 }
31 },
32 "right": {
33 "type": "NumericLiteral",
34 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}},
35 "extra": {
36 "rawValue": 0,
37 "raw": "0"
38 },
39 "value": 0
40 }
41 }
42 },
43 {
44 "type": "ForOfStatement",
45 "start":15,"end":37,"loc":{"start":{"line":2,"column":0,"index":15},"end":{"line":2,"column":22,"index":37}},
46 "await": false,
47 "left": {
48 "type": "MemberExpression",
49 "start":20,"end":29,"loc":{"start":{"line":2,"column":5,"index":20},"end":{"line":2,"column":14,"index":29}},
50 "object": {
51 "type": "Identifier",
52 "start":20,"end":25,"loc":{"start":{"line":2,"column":5,"index":20},"end":{"line":2,"column":10,"index":25},"identifierName":"using"},
53 "name": "using"
54 },
55 "computed": true,
56 "property": {
57 "type": "Identifier",
58 "start":27,"end":28,"loc":{"start":{"line":2,"column":12,"index":27},"end":{"line":2,"column":13,"index":28},"identifierName":"x"},
59 "name": "x"
60 }
61 },
62 "right": {
63 "type": "ArrayExpression",
64 "start":33,"end":35,"loc":{"start":{"line":2,"column":18,"index":33},"end":{"line":2,"column":20,"index":35}},
65 "elements": []
66 },
67 "body": {
68 "type": "EmptyStatement",
69 "start":36,"end":37,"loc":{"start":{"line":2,"column":21,"index":36},"end":{"line":2,"column":22,"index":37}}
70 }
71 }
72 ],
73 "directives": []
74 }
75 }