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
73 lines
3.0 KiB
JSON
73 lines
3.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":50}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":50}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "BlockStatement",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":50}},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":4,"end":21,"loc":{"start":{"line":2,"column":2,"index":4},"end":{"line":2,"column":19,"index":21}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":10,"end":20,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":18,"index":20}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":10,"end":15,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":13,"index":15},"identifierName":"using"},
|
|
"name": "using"
|
|
},
|
|
"init": {
|
|
"type": "Identifier",
|
|
"start":18,"end":20,"loc":{"start":{"line":2,"column":16,"index":18},"end":{"line":2,"column":18,"index":20},"identifierName":"of"},
|
|
"name": "of"
|
|
}
|
|
}
|
|
],
|
|
"kind": "using"
|
|
},
|
|
{
|
|
"type": "ForOfStatement",
|
|
"start":24,"end":48,"loc":{"start":{"line":3,"column":2,"index":24},"end":{"line":3,"column":26,"index":48}},
|
|
"await": false,
|
|
"left": {
|
|
"type": "VariableDeclaration",
|
|
"start":29,"end":40,"loc":{"start":{"line":3,"column":7,"index":29},"end":{"line":3,"column":18,"index":40}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":35,"end":40,"loc":{"start":{"line":3,"column":13,"index":35},"end":{"line":3,"column":18,"index":40}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":35,"end":40,"loc":{"start":{"line":3,"column":13,"index":35},"end":{"line":3,"column":18,"index":40},"identifierName":"using"},
|
|
"name": "using"
|
|
},
|
|
"init": null
|
|
}
|
|
],
|
|
"kind": "using"
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":44,"end":46,"loc":{"start":{"line":3,"column":22,"index":44},"end":{"line":3,"column":24,"index":46},"identifierName":"of"},
|
|
"name": "of"
|
|
},
|
|
"body": {
|
|
"type": "EmptyStatement",
|
|
"start":47,"end":48,"loc":{"start":{"line":3,"column":25,"index":47},"end":{"line":3,"column":26,"index":48}}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|