mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +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
88 lines
3.7 KiB
JSON
88 lines
3.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":59,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":59}},
|
|
"errors": [
|
|
"SyntaxError: Missing semicolon. (2:15)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":59,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":59}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":59,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":59}},
|
|
"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":59,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":3,"column":1,"index":59}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":23,"end":36,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":15,"index":36}},
|
|
"expression": {
|
|
"type": "SequenceExpression",
|
|
"start":23,"end":36,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":15,"index":36}},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"start":23,"end":24,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":3,"index":24}},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "0"
|
|
},
|
|
"value": 0
|
|
},
|
|
{
|
|
"type": "AwaitExpression",
|
|
"start":25,"end":36,"loc":{"start":{"line":2,"column":4,"index":25},"end":{"line":2,"column":15,"index":36}},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start":31,"end":36,"loc":{"start":{"line":2,"column":10,"index":31},"end":{"line":2,"column":15,"index":36},"identifierName":"using"},
|
|
"name": "using"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":37,"end":57,"loc":{"start":{"line":2,"column":16,"index":37},"end":{"line":2,"column":36,"index":57}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":37,"end":56,"loc":{"start":{"line":2,"column":16,"index":37},"end":{"line":2,"column":35,"index":56}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":37,"end":42,"loc":{"start":{"line":2,"column":16,"index":37},"end":{"line":2,"column":21,"index":42},"identifierName":"basic"},
|
|
"name": "basic"
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"start":45,"end":56,"loc":{"start":{"line":2,"column":24,"index":45},"end":{"line":2,"column":35,"index":56}},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start":45,"end":54,"loc":{"start":{"line":2,"column":24,"index":45},"end":{"line":2,"column":33,"index":54},"identifierName":"getReader"},
|
|
"name": "getReader"
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|