mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* feat: materialize explicitResourceManagement plugin * remove explicitResourceManagement from parser option schema * remove no plugin tests * move parser tests to es2026 * remove explicitResourceManagement parser option usage * add missing options.json * remove explicitResourceManagement from prettier Babel parser config * fix rebase error * add failed typescript test
72 lines
3.1 KiB
JSON
72 lines
3.1 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":47}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":47}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":47}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":6,"end":47,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":3,"column":1,"index":47}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"m"},
|
|
"name": "m"
|
|
},
|
|
"init": {
|
|
"type": "ModuleExpression",
|
|
"start":10,"end":47,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":3,"column":1,"index":47}},
|
|
"body": {
|
|
"type": "Program",
|
|
"start":18,"end":46,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":3,"column":0,"index":46}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":21,"end":45,"loc":{"start":{"line":2,"column":2,"index":21},"end":{"line":2,"column":26,"index":45}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":33,"end":44,"loc":{"start":{"line":2,"column":14,"index":33},"end":{"line":2,"column":25,"index":44}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":33,"end":36,"loc":{"start":{"line":2,"column":14,"index":33},"end":{"line":2,"column":17,"index":36},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"start":39,"end":44,"loc":{"start":{"line":2,"column":20,"index":39},"end":{"line":2,"column":25,"index":44}},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start":39,"end":42,"loc":{"start":{"line":2,"column":20,"index":39},"end":{"line":2,"column":23,"index":42},"identifierName":"bar"},
|
|
"name": "bar"
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
],
|
|
"kind": "await using"
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|