mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
67 lines
2.6 KiB
JSON
67 lines
2.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":42}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":42}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "EnumDeclaration",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":42}},
|
|
"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":42,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":4,"column":1,"index":42}},
|
|
"hasUnknownMembers": false,
|
|
"explicitType": true,
|
|
"members": [
|
|
{
|
|
"type": "EnumStringMember",
|
|
"start":21,"end":28,"loc":{"start":{"line":2,"column":2,"index":21},"end":{"line":2,"column":9,"index":28}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":21,"end":22,"loc":{"start":{"line":2,"column":2,"index":21},"end":{"line":2,"column":3,"index":22},"identifierName":"A"},
|
|
"name": "A"
|
|
},
|
|
"init": {
|
|
"type": "StringLiteral",
|
|
"start":25,"end":28,"loc":{"start":{"line":2,"column":6,"index":25},"end":{"line":2,"column":9,"index":28}},
|
|
"extra": {
|
|
"rawValue": "a",
|
|
"raw": "\"a\""
|
|
},
|
|
"value": "a"
|
|
}
|
|
},
|
|
{
|
|
"type": "EnumStringMember",
|
|
"start":32,"end":39,"loc":{"start":{"line":3,"column":2,"index":32},"end":{"line":3,"column":9,"index":39}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":32,"end":33,"loc":{"start":{"line":3,"column":2,"index":32},"end":{"line":3,"column":3,"index":33},"identifierName":"B"},
|
|
"name": "B"
|
|
},
|
|
"init": {
|
|
"type": "StringLiteral",
|
|
"start":36,"end":39,"loc":{"start":{"line":3,"column":6,"index":36},"end":{"line":3,"column":9,"index":39}},
|
|
"extra": {
|
|
"rawValue": "b",
|
|
"raw": "\"b\""
|
|
},
|
|
"value": "b"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|