Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
4 "errors": [
5 "SyntaxError: Numeric separator can not be used after leading 0. (1:1)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
16 "expression": {
17 "type": "NumericLiteral",
18 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
19 "extra": {
20 "rawValue": 8,
21 "raw": "0_8"
22 },
23 "value": 8
24 }
25 }
26 ],
27 "directives": []
28 }
29 }