Debian Codegraph @

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

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