Debian Codegraph @

packages/babel-parser/test/fixtures/core/regression/octal-float-fail/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: Missing semicolon. (1:2)"
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": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":2,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":2,"index":2}},
16 "expression": {
17 "type": "NumericLiteral",
18 "start":0,"end":2,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":2,"index":2}},
19 "extra": {
20 "rawValue": 7,
21 "raw": "07"
22 },
23 "value": 7
24 }
25 },
26 {
27 "type": "ExpressionStatement",
28 "start":2,"end":4,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":4,"index":4}},
29 "expression": {
30 "type": "NumericLiteral",
31 "start":2,"end":4,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":4,"index":4}},
32 "extra": {
33 "rawValue": 0.5,
34 "raw": ".5"
35 },
36 "value": 0.5
37 }
38 }
39 ],
40 "directives": []
41 }
42 }