Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/meta-properties/nested-arrow-function/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
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":40,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":40,"index":40}},
24 "body": [
25 {
26 "type": "ReturnStatement",
27 "start":15,"end":38,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":38,"index":38}},
28 "argument": {
29 "type": "ArrowFunctionExpression",
30 "start":22,"end":38,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":38,"index":38}},
31 "id": null,
32 "generator": false,
33 "async": false,
34 "params": [],
35 "body": {
36 "type": "MetaProperty",
37 "start":28,"end":38,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":38,"index":38}},
38 "meta": {
39 "type": "Identifier",
40 "start":28,"end":31,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":31,"index":31},"identifierName":"new"},
41 "name": "new"
42 },
43 "property": {
44 "type": "Identifier",
45 "start":32,"end":38,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":38,"index":38},"identifierName":"target"},
46 "name": "target"
47 }
48 }
49 }
50 }
51 ],
52 "directives": []
53 }
54 }
55 ],
56 "directives": []
57 }
58 }