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
69 lines
2.9 KiB
JSON
69 lines
2.9 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":62}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":62}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":62}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"f"},
|
|
"name": "f"
|
|
},
|
|
"generator": false,
|
|
"async": true,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":19,"end":62,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":3,"column":1,"index":62}},
|
|
"body": [
|
|
{
|
|
"type": "ForStatement",
|
|
"start":23,"end":60,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":39,"index":60}},
|
|
"init": {
|
|
"type": "VariableDeclaration",
|
|
"start":28,"end":56,"loc":{"start":{"line":2,"column":7,"index":28},"end":{"line":2,"column":35,"index":56}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":40,"end":56,"loc":{"start":{"line":2,"column":19,"index":40},"end":{"line":2,"column":35,"index":56}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":40,"end":45,"loc":{"start":{"line":2,"column":19,"index":40},"end":{"line":2,"column":24,"index":45},"identifierName":"basic"},
|
|
"name": "basic"
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"start":48,"end":56,"loc":{"start":{"line":2,"column":27,"index":48},"end":{"line":2,"column":35,"index":56}},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start":48,"end":54,"loc":{"start":{"line":2,"column":27,"index":48},"end":{"line":2,"column":33,"index":54},"identifierName":"reader"},
|
|
"name": "reader"
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
],
|
|
"kind": "await using"
|
|
},
|
|
"test": null,
|
|
"update": null,
|
|
"body": {
|
|
"type": "EmptyStatement",
|
|
"start":59,"end":60,"loc":{"start":{"line":2,"column":38,"index":59},"end":{"line":2,"column":39,"index":60}}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|