Debian Codegraph @

packages/babel-parser/test/fixtures/flow/tuples/1/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":15,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":15,"index":15}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":10,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":10,"index":10},"identifierName":"a"},
20 "name": "a",
21 "typeAnnotation": {
22 "type": "TypeAnnotation",
23 "start":6,"end":10,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":10,"index":10}},
24 "typeAnnotation": {
25 "type": "TupleTypeAnnotation",
26 "start":8,"end":10,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":10,"index":10}},
27 "types": []
28 }
29 }
30 },
31 "init": {
32 "type": "ArrayExpression",
33 "start":13,"end":15,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":15,"index":15}},
34 "elements": []
35 }
36 }
37 ],
38 "kind": "var"
39 }
40 ],
41 "directives": []
42 }
43 }