Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":5,"index":15}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":5,"index":15}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
13 "expression": {
14 "type": "MemberExpression",
15 "start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
16 "object": {
17 "type": "Identifier",
18 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3},"identifierName":"foo"},
19 "name": "foo"
20 },
21 "computed": false,
22 "property": {
23 "type": "Identifier",
24 "start":4,"end":6,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":6,"index":6},"identifierName":"in"},
25 "name": "in"
26 }
27 }
28 },
29 {
30 "type": "BlockStatement",
31 "start":7,"end":9,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":2,"index":9}},
32 "body": [],
33 "directives": []
34 },
35 {
36 "type": "ExpressionStatement",
37 "start":10,"end":15,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":3,"column":5,"index":15}},
38 "expression": {
39 "type": "RegExpLiteral",
40 "start":10,"end":15,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":3,"column":5,"index":15}},
41 "extra": {
42 "raw": "/foo/"
43 },
44 "pattern": "foo",
45 "flags": ""
46 }
47 }
48 ],
49 "directives": []
50 }
51 }