swc/crates/swc_ecma_parser/tests/tsc/jsxJsxsCjsTransformSubstitutesNames.json
2022-02-04 17:08:38 +09:00

104 lines
2.3 KiB
JSON

{
"type": "Module",
"span": {
"start": 114,
"end": 147,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 114,
"end": 135,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 120,
"end": 135,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 120,
"end": 121,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "JSXElement",
"span": {
"start": 124,
"end": 135,
"ctxt": 0
},
"opening": {
"type": "JSXOpeningElement",
"name": {
"type": "Identifier",
"span": {
"start": 125,
"end": 128,
"ctxt": 0
},
"value": "div",
"optional": false
},
"span": {
"start": 124,
"end": 129,
"ctxt": 0
},
"attributes": [],
"selfClosing": false,
"typeArguments": null
},
"children": [],
"closing": {
"type": "JSXClosingElement",
"span": {
"start": 129,
"end": 135,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 131,
"end": 134,
"ctxt": 0
},
"value": "div",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "ExportNamedDeclaration",
"span": {
"start": 137,
"end": 147,
"ctxt": 0
},
"specifiers": [],
"source": null,
"typeOnly": false,
"asserts": null
}
],
"interpreter": null
}