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

63 lines
2.6 KiB
JSON

{
"type": "File",
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":34}},
"program": {
"type": "Program",
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"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":5,"column":1,"index":34}},
"body": [
{
"type": "ExpressionStatement",
"start":4,"end":9,"loc":{"start":{"line":2,"column":2,"index":4},"end":{"line":2,"column":7,"index":9}},
"expression": {
"type": "Identifier",
"start":4,"end":9,"loc":{"start":{"line":2,"column":2,"index":4},"end":{"line":2,"column":7,"index":9},"identifierName":"await"},
"name": "await"
}
},
{
"type": "ExpressionStatement",
"start":12,"end":17,"loc":{"start":{"line":3,"column":2,"index":12},"end":{"line":3,"column":7,"index":17}},
"expression": {
"type": "Identifier",
"start":12,"end":17,"loc":{"start":{"line":3,"column":2,"index":12},"end":{"line":3,"column":7,"index":17},"identifierName":"using"},
"name": "using"
}
},
{
"type": "ExpressionStatement",
"start":20,"end":32,"loc":{"start":{"line":4,"column":2,"index":20},"end":{"line":4,"column":14,"index":32}},
"expression": {
"type": "AssignmentExpression",
"start":20,"end":31,"loc":{"start":{"line":4,"column":2,"index":20},"end":{"line":4,"column":13,"index":31}},
"operator": "=",
"left": {
"type": "Identifier",
"start":20,"end":25,"loc":{"start":{"line":4,"column":2,"index":20},"end":{"line":4,"column":7,"index":25},"identifierName":"using"},
"name": "using"
},
"right": {
"type": "CallExpression",
"start":28,"end":31,"loc":{"start":{"line":4,"column":10,"index":28},"end":{"line":4,"column":13,"index":31}},
"callee": {
"type": "Identifier",
"start":28,"end":29,"loc":{"start":{"line":4,"column":10,"index":28},"end":{"line":4,"column":11,"index":29},"identifierName":"h"},
"name": "h"
},
"arguments": []
}
}
}
],
"directives": []
}
],
"directives": []
}
}