mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
190 lines
4.1 KiB
JSON
190 lines
4.1 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 50,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "JSXFragment",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 50,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningFragment",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 3,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 3,
|
|
"end": 6,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\n ",
|
|
"raw": "\n\n "
|
|
},
|
|
{
|
|
"type": "JSXElement",
|
|
"span": {
|
|
"start": 6,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningElement",
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 11,
|
|
"ctxt": 0
|
|
},
|
|
"value": "span",
|
|
"typeAnnotation": null,
|
|
"optional": false
|
|
},
|
|
"span": {
|
|
"start": 7,
|
|
"end": 12,
|
|
"ctxt": 0
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false,
|
|
"typeArguments": null
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 12,
|
|
"end": 22,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\n hi\n\n ",
|
|
"raw": "\n\n hi\n\n "
|
|
}
|
|
],
|
|
"closing": {
|
|
"type": "JSXClosingElement",
|
|
"span": {
|
|
"start": 24,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24,
|
|
"end": 28,
|
|
"ctxt": 0
|
|
},
|
|
"value": "span",
|
|
"typeAnnotation": null,
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 29,
|
|
"end": 32,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\n ",
|
|
"raw": "\n\n "
|
|
},
|
|
{
|
|
"type": "JSXElement",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 46,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningElement",
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"typeAnnotation": null,
|
|
"optional": false
|
|
},
|
|
"span": {
|
|
"start": 33,
|
|
"end": 37,
|
|
"ctxt": 0
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false,
|
|
"typeArguments": null
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 37,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"value": "bye",
|
|
"raw": "bye"
|
|
}
|
|
],
|
|
"closing": {
|
|
"type": "JSXClosingElement",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 46,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 45,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"typeAnnotation": null,
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 46,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\n",
|
|
"raw": "\n\n"
|
|
}
|
|
],
|
|
"closing": {
|
|
"type": "JSXClosingFragment",
|
|
"span": {
|
|
"start": 49,
|
|
"end": 50,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|