Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
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:7)"
7 ],
8 "program": {
9 "type": "Program",
10 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
11 "sourceType": "script",
12 "interpreter": null,
13 "body": [
14 {
15 "type": "ExpressionStatement",
16 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
17 "expression": {
18 "type": "SequenceExpression",
19 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
20 "expressions": [
21 {
22 "type": "NumericLiteral",
23 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
24 "extra": {
25 "rawValue": 9,
26 "raw": "0o_01_1_"
27 },
28 "value": 9
29 },
30 {
31 "type": "NumericLiteral",
32 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11}},
33 "extra": {
34 "rawValue": 0,
35 "raw": "0"
36 },
37 "value": 0
38 }
39 ]
40 }
41 }
42 ],
43 "directives": []
44 }
45 }