Files
Huáng JùnliàngandGitHub 2d557f5b3e Materialize explicitResourceManagement parser plugin (#17346)
* 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
2025-06-29 22:34:30 +02:00

47 lines
1.8 KiB
JSON

{
"type": "File",
"start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":26}},
"program": {
"type": "Program",
"start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":26}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "BlockStatement",
"start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":26}},
"body": [
{
"type": "VariableDeclaration",
"start":4,"end":24,"loc":{"start":{"line":2,"column":2,"index":4},"end":{"line":2,"column":22,"index":24}},
"declarations": [
{
"type": "VariableDeclarator",
"start":10,"end":23,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":21,"index":23}},
"id": {
"type": "Identifier",
"start":10,"end":12,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":10,"index":12},"identifierName":"of"},
"name": "of"
},
"init": {
"type": "CallExpression",
"start":15,"end":23,"loc":{"start":{"line":2,"column":13,"index":15},"end":{"line":2,"column":21,"index":23}},
"callee": {
"type": "Identifier",
"start":15,"end":21,"loc":{"start":{"line":2,"column":13,"index":15},"end":{"line":2,"column":19,"index":21},"identifierName":"reader"},
"name": "reader"
},
"arguments": []
}
}
],
"kind": "using"
}
],
"directives": []
}
],
"directives": []
}
}