Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-array-pattern/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":1,"end":12,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":12,"index":12}},
16 "operator": "=",
17 "left": {
18 "type": "ArrayPattern",
19 "start":1,"end":8,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":8,"index":8}},
20 "elements": [
21 {
22 "type": "Identifier",
23 "start":2,"end":7,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":7,"index":7},"identifierName":"yield"},
24 "name": "yield"
25 }
26 ]
27 },
28 "right": {
29 "type": "Identifier",
30 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"x"},
31 "name": "x"
32 },
33 "extra": {
34 "parenthesized": true,
35 "parenStart": 0
36 }
37 }
38 }
39 ],
40 "directives": []
41 }
42 }