Debian Codegraph @

packages/babel-parser/test/fixtures/flow/iterator/08/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
4 "errors": [
5 "SyntaxError: Invalid identifier @@asyncIterator. (1:20)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "TypeAlias",
15 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
16 "id": {
17 "type": "Identifier",
18 "start":5,"end":20,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":20,"index":20},"identifierName":"@@asyncIterator"},
19 "name": "@@asyncIterator"
20 },
21 "typeParameters": null,
22 "right": {
23 "type": "NumberTypeAnnotation",
24 "start":23,"end":29,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":29,"index":29}}
25 }
26 }
27 ],
28 "directives": []
29 }
30 }