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":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":32}},
"program": {
"type": "Program",
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":32}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "BlockStatement",
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":32}},
"body": [
{
"type": "VariableDeclaration",
"start":4,"end":30,"loc":{"start":{"line":2,"column":2,"index":4},"end":{"line":2,"column":28,"index":30}},
"declarations": [
{
"type": "VariableDeclarator",
"start":10,"end":29,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":27,"index":29}},
"id": {
"type": "Identifier",
"start":10,"end":15,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":13,"index":15},"identifierName":"basic"},
"name": "basic"
},
"init": {
"type": "CallExpression",
"start":18,"end":29,"loc":{"start":{"line":2,"column":16,"index":18},"end":{"line":2,"column":27,"index":29}},
"callee": {
"type": "Identifier",
"start":18,"end":27,"loc":{"start":{"line":2,"column":16,"index":18},"end":{"line":2,"column":25,"index":27},"identifierName":"getReader"},
"name": "getReader"
},
"arguments": []
}
}
],
"kind": "using"
}
],
"directives": []
}
],
"directives": []
}
}