Debian Codegraph @

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

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