mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* 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
74 lines
3.2 KiB
JSON
74 lines
3.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":51}},
|
|
"errors": [
|
|
"SyntaxError: Invalid left-hand side in assignment expression. (2:2)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":51}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":51}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"f"},
|
|
"name": "f"
|
|
},
|
|
"generator": false,
|
|
"async": true,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":19,"end":51,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":3,"column":1,"index":51}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":23,"end":49,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":28,"index":49}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":23,"end":48,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":27,"index":48}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "AwaitExpression",
|
|
"start":23,"end":42,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":21,"index":42}},
|
|
"argument": {
|
|
"type": "MemberExpression",
|
|
"start":29,"end":42,"loc":{"start":{"line":2,"column":8,"index":29},"end":{"line":2,"column":21,"index":42}},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start":29,"end":34,"loc":{"start":{"line":2,"column":8,"index":29},"end":{"line":2,"column":13,"index":34},"identifierName":"using"},
|
|
"name": "using"
|
|
},
|
|
"computed": true,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":37,"end":40,"loc":{"start":{"line":2,"column":16,"index":37},"end":{"line":2,"column":19,"index":40},"identifierName":"foo"},
|
|
"name": "foo"
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start":45,"end":48,"loc":{"start":{"line":2,"column":24,"index":45},"end":{"line":2,"column":27,"index":48}},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start":45,"end":46,"loc":{"start":{"line":2,"column":24,"index":45},"end":{"line":2,"column":25,"index":46},"identifierName":"f"},
|
|
"name": "f"
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|