swc/crates/swc_ecma_parser/tests/jsx/basic/fragment-4/input.js.json

148 lines
3.4 KiB
JSON

{
"type": "Module",
"span": {
"start": 1,
"end": 50,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 50,
"ctxt": 0
},
"expression": {
"type": "JSXFragment",
"span": {
"start": 1,
"end": 50,
"ctxt": 0
},
"opening": {
"type": "JSXOpeningFragment",
"span": {
"start": 1,
"end": 3,
"ctxt": 0
}
},
"children": [
{
"type": "JSXText",
"span": {
"start": 3,
"end": 6,
"ctxt": 0
},
"value": "\n\n ",
"raw": "\n\n "
},
{
"type": "JSXFragment",
"span": {
"start": 6,
"end": 46,
"ctxt": 0
},
"opening": {
"type": "JSXOpeningFragment",
"span": {
"start": 6,
"end": 8,
"ctxt": 0
}
},
"children": [
{
"type": "JSXText",
"span": {
"start": 8,
"end": 13,
"ctxt": 0
},
"value": "\n\n ",
"raw": "\n\n "
},
{
"type": "JSXFragment",
"span": {
"start": 13,
"end": 40,
"ctxt": 0
},
"opening": {
"type": "JSXOpeningFragment",
"span": {
"start": 13,
"end": 15,
"ctxt": 0
}
},
"children": [
{
"type": "JSXText",
"span": {
"start": 15,
"end": 37,
"ctxt": 0
},
"value": "\n\n super deep\n\n ",
"raw": "\n\n super deep\n\n "
}
],
"closing": {
"type": "JSXClosingFragment",
"span": {
"start": 37,
"end": 40,
"ctxt": 0
}
}
},
{
"type": "JSXText",
"span": {
"start": 40,
"end": 43,
"ctxt": 0
},
"value": "\n\n ",
"raw": "\n\n "
}
],
"closing": {
"type": "JSXClosingFragment",
"span": {
"start": 43,
"end": 46,
"ctxt": 0
}
}
},
{
"type": "JSXText",
"span": {
"start": 46,
"end": 47,
"ctxt": 0
},
"value": "\n\n",
"raw": "\n\n"
}
],
"closing": {
"type": "JSXClosingFragment",
"span": {
"start": 47,
"end": 50,
"ctxt": 0
}
}
}
}
],
"interpreter": null
}