Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/partial-application/from-right/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":12,"index":22}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":12,"index":22}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
13 "expression": {
14 "type": "CallExpression",
15 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
16 "callee": {
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 "arguments": [
22 {
23 "type": "ArgumentPlaceholder",
24 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5}}
25 },
26 {
27 "type": "Identifier",
28 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
29 "name": "x"
30 }
31 ]
32 }
33 },
34 {
35 "type": "ExpressionStatement",
36 "start":10,"end":22,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":3,"column":12,"index":22}},
37 "expression": {
38 "type": "CallExpression",
39 "start":10,"end":22,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":3,"column":12,"index":22}},
40 "callee": {
41 "type": "MemberExpression",
42 "start":10,"end":17,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":3,"column":7,"index":17}},
43 "object": {
44 "type": "Identifier",
45 "start":10,"end":13,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":3,"column":3,"index":13},"identifierName":"bar"},
46 "name": "bar"
47 },
48 "computed": false,
49 "property": {
50 "type": "Identifier",
51 "start":14,"end":17,"loc":{"start":{"line":3,"column":4,"index":14},"end":{"line":3,"column":7,"index":17},"identifierName":"foo"},
52 "name": "foo"
53 }
54 },
55 "arguments": [
56 {
57 "type": "ArgumentPlaceholder",
58 "start":18,"end":19,"loc":{"start":{"line":3,"column":8,"index":18},"end":{"line":3,"column":9,"index":19}}
59 },
60 {
61 "type": "Identifier",
62 "start":20,"end":21,"loc":{"start":{"line":3,"column":10,"index":20},"end":{"line":3,"column":11,"index":21},"identifierName":"x"},
63 "name": "x"
64 }
65 ]
66 }
67 }
68 ],
69 "directives": []
70 }
71 }