Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-for-of/for-of-object-pattern-const/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ForOfStatement",
12 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
13 "await": false,
14 "left": {
15 "type": "VariableDeclaration",
16 "start":5,"end":17,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":17,"index":17}},
17 "declarations": [
18 {
19 "type": "VariableDeclarator",
20 "start":11,"end":17,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":17,"index":17}},
21 "id": {
22 "type": "ObjectPattern",
23 "start":11,"end":17,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":17,"index":17}},
24 "properties": [
25 {
26 "type": "ObjectProperty",
27 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}},
28 "key": {
29 "type": "Identifier",
30 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"x"},
31 "name": "x"
32 },
33 "computed": false,
34 "method": false,
35 "shorthand": true,
36 "value": {
37 "type": "Identifier",
38 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"x"},
39 "name": "x"
40 },
41 "extra": {
42 "shorthand": true
43 }
44 },
45 {
46 "type": "ObjectProperty",
47 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16}},
48 "key": {
49 "type": "Identifier",
50 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"y"},
51 "name": "y"
52 },
53 "computed": false,
54 "method": false,
55 "shorthand": true,
56 "value": {
57 "type": "Identifier",
58 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"y"},
59 "name": "y"
60 },
61 "extra": {
62 "shorthand": true
63 }
64 }
65 ]
66 },
67 "init": null
68 }
69 ],
70 "kind": "const"
71 },
72 "right": {
73 "type": "Identifier",
74 "start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22},"identifierName":"z"},
75 "name": "z"
76 },
77 "body": {
78 "type": "EmptyStatement",
79 "start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24}}
80 }
81 }
82 ],
83 "directives": []
84 }
85 }