mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
332061f44d
swc: - make parser respect `jsc.target`.
140 lines
3.0 KiB
JSON
140 lines
3.0 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "JSXFragment",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningFragment",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 6,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\r\n ",
|
|
"raw": "\n\r\n "
|
|
},
|
|
{
|
|
"type": "JSXFragment",
|
|
"span": {
|
|
"start": 6,
|
|
"end": 50,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningFragment",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 8,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\r\n ",
|
|
"raw": "\n\r\n "
|
|
},
|
|
{
|
|
"type": "JSXFragment",
|
|
"span": {
|
|
"start": 14,
|
|
"end": 43,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningFragment",
|
|
"span": {
|
|
"start": 15,
|
|
"end": 16,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\r\n super deep\n\r\n ",
|
|
"raw": "\n\r\n super deep\n\r\n "
|
|
}
|
|
],
|
|
"closing": {
|
|
"type": "JSXClosingFragment",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 43,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 43,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\r\n ",
|
|
"raw": "\n\r\n "
|
|
}
|
|
],
|
|
"closing": {
|
|
"type": "JSXClosingFragment",
|
|
"span": {
|
|
"start": 49,
|
|
"end": 50,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 50,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\r\n",
|
|
"raw": "\n\r\n"
|
|
}
|
|
],
|
|
"closing": {
|
|
"type": "JSXClosingFragment",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|