Debian Codegraph @

packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-hex/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: Numeric separators are not allowed inside unicode escape sequences or hex escape sequences. (1:4)"
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 "directives": [
14 {
15 "type": "Directive",
16 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
17 "value": {
18 "type": "DirectiveLiteral",
19 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
20 "extra": {
21 "rawValue": "\\x1_0",
22 "raw": "\"\\x1_0\"",
23 "expressionValue": "\u00010"
24 },
25 "value": "\\x1_0"
26 }
27 }
28 ]
29 }
30 }