Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/meta-properties/statement/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":30}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":30}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":30}},
13 "id": {
14 "type": "Identifier",
15 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"A"},
16 "name": "A"
17 },
18 "generator": false,
19 "async": false,
20 "params": [],
21 "body": {
22 "type": "BlockStatement",
23 "start":13,"end":30,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":3,"column":1,"index":30}},
24 "body": [
25 {
26 "type": "ExpressionStatement",
27 "start":17,"end":28,"loc":{"start":{"line":2,"column":2,"index":17},"end":{"line":2,"column":13,"index":28}},
28 "expression": {
29 "type": "MetaProperty",
30 "start":17,"end":27,"loc":{"start":{"line":2,"column":2,"index":17},"end":{"line":2,"column":12,"index":27}},
31 "meta": {
32 "type": "Identifier",
33 "start":17,"end":20,"loc":{"start":{"line":2,"column":2,"index":17},"end":{"line":2,"column":5,"index":20},"identifierName":"new"},
34 "name": "new"
35 },
36 "property": {
37 "type": "Identifier",
38 "start":21,"end":27,"loc":{"start":{"line":2,"column":6,"index":21},"end":{"line":2,"column":12,"index":27},"identifierName":"target"},
39 "name": "target"
40 }
41 }
42 }
43 ],
44 "directives": []
45 }
46 }
47 ],
48 "directives": []
49 }
50 }