Debian Codegraph @

packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-66/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:4)",
7 "SyntaxError: A numeric separator is only allowed between two digits. (1:5)"
8 ],
9 "program": {
10 "type": "Program",
11 "start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
12 "sourceType": "script",
13 "interpreter": null,
14 "body": [
15 {
16 "type": "ExpressionStatement",
17 "start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
18 "expression": {
19 "type": "SequenceExpression",
20 "start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
21 "expressions": [
22 {
23 "type": "NumericLiteral",
24 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
25 "extra": {
26 "rawValue": 17,
27 "raw": "0x_1__1"
28 },
29 "value": 17
30 },
31 {
32 "type": "NumericLiteral",
33 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
34 "extra": {
35 "rawValue": 0,
36 "raw": "0"
37 },
38 "value": 0
39 }
40 ]
41 }
42 }
43 ],
44 "directives": []
45 }
46 }