Debian Codegraph @

packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-78/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
4 "errors": [
5 "SyntaxError: A numeric separator is only allowed between two digits. (1:4)",
6 "SyntaxError: A numeric separator is only allowed between two digits. (1:5)"
7 ],
8 "program": {
9 "type": "Program",
10 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
11 "sourceType": "script",
12 "interpreter": null,
13 "body": [
14 {
15 "type": "ExpressionStatement",
16 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
17 "expression": {
18 "type": "ArrayExpression",
19 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
20 "elements": [
21 {
22 "type": "NumericLiteral",
23 "start":1,"end":6,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":6,"index":6}},
24 "extra": {
25 "rawValue": 11,
26 "raw": "1_1__"
27 },
28 "value": 11
29 }
30 ]
31 }
32 }
33 ],
34 "directives": []
35 }
36 }