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

48 lines
1.9 KiB
JSON

{
"type": "File",
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":25,"index":40}},
"program": {
"type": "Program",
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":25,"index":40}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ForStatement",
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":25,"index":40}},
"init": {
"type": "Identifier",
"start":8,"end":13,"loc":{"start":{"line":2,"column":2,"index":8},"end":{"line":2,"column":7,"index":13},"identifierName":"using"},
"name": "using"
},
"test": {
"type": "AssignmentExpression",
"start":17,"end":37,"loc":{"start":{"line":3,"column":2,"index":17},"end":{"line":3,"column":22,"index":37}},
"operator": "=",
"left": {
"type": "Identifier",
"start":17,"end":23,"loc":{"start":{"line":3,"column":2,"index":17},"end":{"line":3,"column":8,"index":23},"identifierName":"reader"},
"name": "reader"
},
"right": {
"type": "CallExpression",
"start":26,"end":37,"loc":{"start":{"line":3,"column":11,"index":26},"end":{"line":3,"column":22,"index":37}},
"callee": {
"type": "Identifier",
"start":26,"end":35,"loc":{"start":{"line":3,"column":11,"index":26},"end":{"line":3,"column":20,"index":35},"identifierName":"getReader"},
"name": "getReader"
},
"arguments": []
}
},
"update": null,
"body": {
"type": "EmptyStatement",
"start":39,"end":40,"loc":{"start":{"line":3,"column":24,"index":39},"end":{"line":3,"column":25,"index":40}}
}
}
],
"directives": []
}
}