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.9 KiB
JSON

{
"type": "File",
"start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":20,"index":26}},
"program": {
"type": "Program",
"start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":20,"index":26}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
"expression": {
"type": "Identifier",
"start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"using"},
"name": "using"
}
},
{
"type": "ExpressionStatement",
"start":6,"end":26,"loc":{"start":{"line":2,"column":0,"index":6},"end":{"line":2,"column":20,"index":26}},
"expression": {
"type": "AssignmentExpression",
"start":6,"end":26,"loc":{"start":{"line":2,"column":0,"index":6},"end":{"line":2,"column":20,"index":26}},
"operator": "=",
"left": {
"type": "Identifier",
"start":6,"end":12,"loc":{"start":{"line":2,"column":0,"index":6},"end":{"line":2,"column":6,"index":12},"identifierName":"reader"},
"name": "reader"
},
"right": {
"type": "CallExpression",
"start":15,"end":26,"loc":{"start":{"line":2,"column":9,"index":15},"end":{"line":2,"column":20,"index":26}},
"callee": {
"type": "Identifier",
"start":15,"end":24,"loc":{"start":{"line":2,"column":9,"index":15},"end":{"line":2,"column":18,"index":24},"identifierName":"getReader"},
"name": "getReader"
},
"arguments": []
}
}
}
],
"directives": []
}
}