Debian Codegraph @

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

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