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

57 lines
2.3 KiB
JSON

{
"type": "File",
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":34}},
"program": {
"type": "Program",
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":34}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "BlockStatement",
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":34}},
"body": [
{
"type": "ForStatement",
"start":4,"end":32,"loc":{"start":{"line":2,"column":2,"index":4},"end":{"line":2,"column":30,"index":32}},
"init": {
"type": "VariableDeclaration",
"start":9,"end":28,"loc":{"start":{"line":2,"column":7,"index":9},"end":{"line":2,"column":26,"index":28}},
"declarations": [
{
"type": "VariableDeclarator",
"start":15,"end":28,"loc":{"start":{"line":2,"column":13,"index":15},"end":{"line":2,"column":26,"index":28}},
"id": {
"type": "Identifier",
"start":15,"end":17,"loc":{"start":{"line":2,"column":13,"index":15},"end":{"line":2,"column":15,"index":17},"identifierName":"of"},
"name": "of"
},
"init": {
"type": "CallExpression",
"start":20,"end":28,"loc":{"start":{"line":2,"column":18,"index":20},"end":{"line":2,"column":26,"index":28}},
"callee": {
"type": "Identifier",
"start":20,"end":26,"loc":{"start":{"line":2,"column":18,"index":20},"end":{"line":2,"column":24,"index":26},"identifierName":"reader"},
"name": "reader"
},
"arguments": []
}
}
],
"kind": "using"
},
"test": null,
"update": null,
"body": {
"type": "EmptyStatement",
"start":31,"end":32,"loc":{"start":{"line":2,"column":29,"index":31},"end":{"line":2,"column":30,"index":32}}
}
}
],
"directives": []
}
],
"directives": []
}
}