swc/crates/swc_ecma_parser/tests/jsx/basic/fragment-2/input.js.json
2021-11-10 19:00:54 +09:00

56 lines
1.0 KiB
JSON

{
"type": "Module",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"expression": {
"type": "JSXFragment",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"opening": {
"type": "JSXOpeningFragment",
"span": {
"start": 0,
"end": 2,
"ctxt": 0
}
},
"children": [
{
"type": "JSXText",
"span": {
"start": 2,
"end": 19,
"ctxt": 0
},
"value": "Hi, I'm a string!",
"raw": "Hi, I'm a string!"
}
],
"closing": {
"type": "JSXClosingFragment",
"span": {
"start": 19,
"end": 22,
"ctxt": 0
}
}
}
}
],
"interpreter": null
}