swc/crates/swc_xml_parser/tests/recovery/pi/bad-pi-5/output.json
2022-11-16 04:10:02 +00:00

53 lines
918 B
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 28,
"ctxt": 0
},
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 28,
"ctxt": 0
},
"tagName": "root",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 7,
"end": 12,
"ctxt": 0
},
"data": "\n ",
"raw": "\n "
},
{
"type": "ProcessingInstruction",
"span": {
"start": 12,
"end": 20,
"ctxt": 0
},
"target": "fo",
"data": "?o"
},
{
"type": "Text",
"span": {
"start": 20,
"end": 21,
"ctxt": 0
},
"data": "\n",
"raw": "\n"
}
]
}
]
}