Debian Codegraph @

packages/babel-parser/test/fixtures/core/categorized/identifier-name-loc/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
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": "Identifier",
24 "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7},"identifierName":"bar"},
25 "name": "bar"
26 }
27 ]
28 }
29 }
30 ],
31 "directives": []
32 }
33 }