Debian Codegraph @

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

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