mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
58 lines
2.0 KiB
JSON
58 lines
2.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":28}},
|
|
"errors": [
|
|
"SyntaxError: Invalid identifier @@iterator. (2:12)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":28}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":28}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"T"},
|
|
"name": "T"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":8,"end":28,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":1,"index":28}},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":12,"end":26,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":16,"index":26}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":12,"end":22,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":12,"index":22},"identifierName":"@@iterator"},
|
|
"name": "@@iterator"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":24,"end":26,"loc":{"start":{"line":2,"column":14,"index":24},"end":{"line":2,"column":16,"index":26}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": false
|
|
}
|
|
}
|
|
}
|