swc/crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-binding-non-bmp/input.js.json

81 lines
1.7 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 24,
"ctxt": 0
},
"body": [
{
"type": "BlockStatement",
"span": {
"start": 1,
"end": 24,
"ctxt": 0
},
"stmts": [
{
"type": "UsingDeclaration",
"span": {
"start": 3,
"end": 21,
"ctxt": 0
},
"isAwait": false,
"decls": [
{
"type": "VariableDeclarator",
"span": {
"start": 9,
"end": 21,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 9,
"end": 13,
"ctxt": 0
},
"value": "𠮷",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 16,
"end": 21,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 16,
"end": 19,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "EmptyStatement",
"span": {
"start": 21,
"end": 22,
"ctxt": 0
}
}
]
}
],
"interpreter": null
}