Debian Codegraph @

packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-non-octal-decimal-int/output.json

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