Debian Codegraph @

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

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