Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/function-sent/enabled-call-statement/output.json

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