swc/ecmascript/parser/tests/jsx/basic/fragment-4/input.js.json
강동윤 332061f44d
Parser: respect jsc.target (#507)
swc:
 - make parser respect `jsc.target`.
2019-12-14 18:51:08 +09:00

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
}