Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/324/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "IfStatement",
12 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
13 "test": {
14 "type": "NumericLiteral",
15 "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4}},
16 "extra": {
17 "rawValue": 1,
18 "raw": "1"
19 },
20 "value": 1
21 },
22 "consequent": {
23 "type": "ExpressionStatement",
24 "start":5,"end":12,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":12,"index":12}},
25 "expression": {
26 "type": "RegExpLiteral",
27 "start":5,"end":12,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":12,"index":12}},
28 "extra": {
29 "raw": "/ foo/"
30 },
31 "pattern": " foo",
32 "flags": ""
33 }
34 },
35 "alternate": null
36 }
37 ],
38 "directives": []
39 }
40 }