Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0138/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
4 "errors": [
5 "SyntaxError: Missing initializer in const declaration. (1:15)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "VariableDeclaration",
15 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
16 "declarations": [
17 {
18 "type": "VariableDeclarator",
19 "start":6,"end":12,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":12,"index":12}},
20 "id": {
21 "type": "Identifier",
22 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
23 "name": "x"
24 },
25 "init": {
26 "type": "NumericLiteral",
27 "start":10,"end":12,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":12,"index":12}},
28 "extra": {
29 "rawValue": 12,
30 "raw": "12"
31 },
32 "value": 12
33 }
34 },
35 {
36 "type": "VariableDeclarator",
37 "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15}},
38 "id": {
39 "type": "Identifier",
40 "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"y"},
41 "name": "y"
42 },
43 "init": null
44 }
45 ],
46 "kind": "const"
47 }
48 ],
49 "directives": []
50 }
51 }