Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/for-of/brackets-const/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ForOfStatement",
12 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
13 "await": false,
14 "left": {
15 "type": "VariableDeclaration",
16 "start":5,"end":14,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":14,"index":14}},
17 "declarations": [
18 {
19 "type": "VariableDeclarator",
20 "start":11,"end":14,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":14,"index":14}},
21 "id": {
22 "type": "ObjectPattern",
23 "start":11,"end":14,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":14,"index":14}},
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":"a"},
31 "name": "a"
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":"a"},
39 "name": "a"
40 },
41 "extra": {
42 "shorthand": true
43 }
44 }
45 ]
46 },
47 "init": null
48 }
49 ],
50 "kind": "const"
51 },
52 "right": {
53 "type": "RegExpLiteral",
54 "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21}},
55 "extra": {
56 "raw": "/b/"
57 },
58 "pattern": "b",
59 "flags": ""
60 },
61 "body": {
62 "type": "BlockStatement",
63 "start":23,"end":25,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":25,"index":25}},
64 "body": [],
65 "directives": []
66 }
67 }
68 ],
69 "directives": []
70 }
71 }