/
githubmirror
/
babel
Обзор
Документация
Войти
/
githubmirror
/
babel
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/babel-parser/test/fixtures/flow/enum-declaration/string-implicit-defaulted/output.json
48 строк
2 KB
Francisco Ryan Tolmasky I
Expose `.index` on Position to internally track nodes location (#14174)
02 фев 2022, 16:30
Не верифицирован
02 фев 2022, 16:30
97a8bcb
Код
Авторство
О чём код?
{ "type": "File", "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":20}}, "program": { "type": "Program", "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":20}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "EnumDeclaration", "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":20}}, "id": { "type": "Identifier", "start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"E"}, "name": "E" }, "body": { "type": "EnumStringBody", "start":7,"end":20,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":4,"column":1,"index":20}}, "hasUnknownMembers": false, "explicitType": false, "members": [ { "type": "EnumDefaultedMember", "start":11,"end":12,"loc":{"start":{"line":2,"column":2,"index":11},"end":{"line":2,"column":3,"index":12}}, "id": { "type": "Identifier", "start":11,"end":12,"loc":{"start":{"line":2,"column":2,"index":11},"end":{"line":2,"column":3,"index":12},"identifierName":"A"}, "name": "A" } }, { "type": "EnumDefaultedMember", "start":16,"end":17,"loc":{"start":{"line":3,"column":2,"index":16},"end":{"line":3,"column":3,"index":17}}, "id": { "type": "Identifier", "start":16,"end":17,"loc":{"start":{"line":3,"column":2,"index":16},"end":{"line":3,"column":3,"index":17},"identifierName":"B"}, "name": "B" } } ] } } ], "directives": [] } }