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

50 lines
1.9 KiB
JSON

{
"type": "File",
"start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":22}},
"errors": [
"SyntaxError: 'let' is disallowed as a lexically bound name. (2:8)"
],
"program": {
"type": "Program",
"start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":22}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "BlockStatement",
"start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":22}},
"body": [
{
"type": "VariableDeclaration",
"start":4,"end":20,"loc":{"start":{"line":2,"column":2,"index":4},"end":{"line":2,"column":18,"index":20}},
"declarations": [
{
"type": "VariableDeclarator",
"start":10,"end":19,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":17,"index":19}},
"id": {
"type": "Identifier",
"start":10,"end":13,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":11,"index":13},"identifierName":"let"},
"name": "let"
},
"init": {
"type": "CallExpression",
"start":16,"end":19,"loc":{"start":{"line":2,"column":14,"index":16},"end":{"line":2,"column":17,"index":19}},
"callee": {
"type": "Identifier",
"start":16,"end":17,"loc":{"start":{"line":2,"column":14,"index":16},"end":{"line":2,"column":15,"index":17},"identifierName":"h"},
"name": "h"
},
"arguments": []
}
}
],
"kind": "using"
}
],
"directives": []
}
],
"directives": []
}
}