mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
110 lines
2.4 KiB
JSON
110 lines
2.4 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningElement",
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 5,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"optional": false
|
|
},
|
|
"span": {
|
|
"start": 1,
|
|
"end": 6,
|
|
"ctxt": 0
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false,
|
|
"typeArguments": null
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXElement",
|
|
"span": {
|
|
"start": 6,
|
|
"end": 12,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningElement",
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 9,
|
|
"ctxt": 0
|
|
},
|
|
"value": "br",
|
|
"optional": false
|
|
},
|
|
"span": {
|
|
"start": 6,
|
|
"end": 12,
|
|
"ctxt": 0
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": true,
|
|
"typeArguments": null
|
|
},
|
|
"children": [],
|
|
"closing": null
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 12,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"value": "7x invalid-js-identifier",
|
|
"raw": "7x invalid-js-identifier"
|
|
}
|
|
],
|
|
"closing": {
|
|
"type": "JSXClosingElement",
|
|
"span": {
|
|
"start": 36,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 38,
|
|
"end": 41,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|