Debian Codegraph @

packages/babel-parser/test/fixtures/core/regression/non-octal-float-strict-mode/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4}},
4 "errors": [
5 "SyntaxError: Legacy octal literals are not allowed in strict mode. (1:0)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4}},
16 "expression": {
17 "type": "NumericLiteral",
18 "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4}},
19 "extra": {
20 "rawValue": 9.5,
21 "raw": "09.5"
22 },
23 "value": 9.5
24 }
25 }
26 ],
27 "directives": []
28 }
29 }