Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":91,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":24,"index":91}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":91,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":24,"index":91}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ForOfStatement",
12 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
13 "await": false,
14 "left": {
15 "type": "Identifier",
16 "start":5,"end":10,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":10,"index":10},"identifierName":"using"},
17 "name": "using"
18 },
19 "right": {
20 "type": "Identifier",
21 "start":14,"end":16,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":16,"index":16},"identifierName":"of"},
22 "name": "of"
23 },
24 "body": {
25 "type": "EmptyStatement",
26 "start":17,"end":18,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":18,"index":18}}
27 }
28 },
29 {
30 "type": "ForOfStatement",
31 "start":19,"end":41,"loc":{"start":{"line":2,"column":0,"index":19},"end":{"line":2,"column":22,"index":41}},
32 "await": false,
33 "left": {
34 "type": "MemberExpression",
35 "start":24,"end":33,"loc":{"start":{"line":2,"column":5,"index":24},"end":{"line":2,"column":14,"index":33}},
36 "object": {
37 "type": "Identifier",
38 "start":24,"end":29,"loc":{"start":{"line":2,"column":5,"index":24},"end":{"line":2,"column":10,"index":29},"identifierName":"using"},
39 "name": "using"
40 },
41 "computed": false,
42 "property": {
43 "type": "Identifier",
44 "start":30,"end":33,"loc":{"start":{"line":2,"column":11,"index":30},"end":{"line":2,"column":14,"index":33},"identifierName":"foo"},
45 "name": "foo"
46 }
47 },
48 "right": {
49 "type": "Identifier",
50 "start":37,"end":39,"loc":{"start":{"line":2,"column":18,"index":37},"end":{"line":2,"column":20,"index":39},"identifierName":"of"},
51 "name": "of"
52 },
53 "body": {
54 "type": "EmptyStatement",
55 "start":40,"end":41,"loc":{"start":{"line":2,"column":21,"index":40},"end":{"line":2,"column":22,"index":41}}
56 }
57 },
58 {
59 "type": "ForOfStatement",
60 "start":42,"end":66,"loc":{"start":{"line":3,"column":0,"index":42},"end":{"line":3,"column":24,"index":66}},
61 "await": false,
62 "left": {
63 "type": "MemberExpression",
64 "start":47,"end":58,"loc":{"start":{"line":3,"column":5,"index":47},"end":{"line":3,"column":16,"index":58}},
65 "object": {
66 "type": "CallExpression",
67 "start":47,"end":54,"loc":{"start":{"line":3,"column":5,"index":47},"end":{"line":3,"column":12,"index":54}},
68 "callee": {
69 "type": "Identifier",
70 "start":47,"end":52,"loc":{"start":{"line":3,"column":5,"index":47},"end":{"line":3,"column":10,"index":52},"identifierName":"using"},
71 "name": "using"
72 },
73 "arguments": []
74 },
75 "computed": false,
76 "property": {
77 "type": "Identifier",
78 "start":55,"end":58,"loc":{"start":{"line":3,"column":13,"index":55},"end":{"line":3,"column":16,"index":58},"identifierName":"foo"},
79 "name": "foo"
80 }
81 },
82 "right": {
83 "type": "Identifier",
84 "start":62,"end":64,"loc":{"start":{"line":3,"column":20,"index":62},"end":{"line":3,"column":22,"index":64},"identifierName":"of"},
85 "name": "of"
86 },
87 "body": {
88 "type": "EmptyStatement",
89 "start":65,"end":66,"loc":{"start":{"line":3,"column":23,"index":65},"end":{"line":3,"column":24,"index":66}}
90 }
91 },
92 {
93 "type": "ForOfStatement",
94 "start":67,"end":91,"loc":{"start":{"line":4,"column":0,"index":67},"end":{"line":4,"column":24,"index":91}},
95 "await": false,
96 "left": {
97 "type": "MemberExpression",
98 "start":72,"end":83,"loc":{"start":{"line":4,"column":5,"index":72},"end":{"line":4,"column":16,"index":83}},
99 "object": {
100 "type": "TaggedTemplateExpression",
101 "start":72,"end":79,"loc":{"start":{"line":4,"column":5,"index":72},"end":{"line":4,"column":12,"index":79}},
102 "tag": {
103 "type": "Identifier",
104 "start":72,"end":77,"loc":{"start":{"line":4,"column":5,"index":72},"end":{"line":4,"column":10,"index":77},"identifierName":"using"},
105 "name": "using"
106 },
107 "quasi": {
108 "type": "TemplateLiteral",
109 "start":77,"end":79,"loc":{"start":{"line":4,"column":10,"index":77},"end":{"line":4,"column":12,"index":79}},
110 "expressions": [],
111 "quasis": [
112 {
113 "type": "TemplateElement",
114 "start":78,"end":78,"loc":{"start":{"line":4,"column":11,"index":78},"end":{"line":4,"column":11,"index":78}},
115 "value": {
116 "raw": "",
117 "cooked": ""
118 },
119 "tail": true
120 }
121 ]
122 }
123 },
124 "computed": false,
125 "property": {
126 "type": "Identifier",
127 "start":80,"end":83,"loc":{"start":{"line":4,"column":13,"index":80},"end":{"line":4,"column":16,"index":83},"identifierName":"foo"},
128 "name": "foo"
129 }
130 },
131 "right": {
132 "type": "Identifier",
133 "start":87,"end":89,"loc":{"start":{"line":4,"column":20,"index":87},"end":{"line":4,"column":22,"index":89},"identifierName":"of"},
134 "name": "of"
135 },
136 "body": {
137 "type": "EmptyStatement",
138 "start":90,"end":91,"loc":{"start":{"line":4,"column":23,"index":90},"end":{"line":4,"column":24,"index":91}}
139 }
140 }
141 ],
142 "directives": []
143 }
144 }