Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-binding-element/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":22,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":22,"index":22}},
17 "id": {
18 "type": "ObjectPattern",
19 "start":4,"end":16,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":16,"index":16}},
20 "properties": [
21 {
22 "type": "ObjectProperty",
23 "start":6,"end":14,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":14,"index":14}},
24 "key": {
25 "type": "Identifier",
26 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
27 "name": "x"
28 },
29 "computed": false,
30 "method": false,
31 "shorthand": false,
32 "value": {
33 "type": "Identifier",
34 "start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14},"identifierName":"yield"},
35 "name": "yield"
36 }
37 }
38 ]
39 },
40 "init": {
41 "type": "Identifier",
42 "start":19,"end":22,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":22,"index":22},"identifierName":"foo"},
43 "name": "foo"
44 }
45 }
46 ],
47 "kind": "var"
48 }
49 ],
50 "directives": []
51 }
52 }