Debian Codegraph @

packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-75/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:2)",
6 "SyntaxError: A numeric separator is only allowed between two digits. (1:6)"
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": "SequenceExpression",
19 "start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
20 "expressions": [
21 {
22 "type": "NumericLiteral",
23 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
24 "extra": {
25 "rawValue": 9,
26 "raw": "0o_1_1_"
27 },
28 "value": 9
29 },
30 {
31 "type": "NumericLiteral",
32 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
33 "extra": {
34 "rawValue": 0,
35 "raw": "0"
36 },
37 "value": 0
38 }
39 ]
40 }
41 }
42 ],
43 "directives": []
44 }
45 }