mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
75 lines
1.4 KiB
JSON
75 lines
1.4 KiB
JSON
{
|
|
"type": "Document",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 77,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ProcessingInstruction",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 38,
|
|
"ctxt": 0
|
|
},
|
|
"target": "xml",
|
|
"data": "version='1.0'encoding='UTF-8'"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 77,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "root",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 45,
|
|
"end": 50,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n ",
|
|
"raw": "\n "
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 50,
|
|
"end": 69,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "foo",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "ProcessingInstruction",
|
|
"span": {
|
|
"start": 55,
|
|
"end": 63,
|
|
"ctxt": 0
|
|
},
|
|
"target": "",
|
|
"data": "foo"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 69,
|
|
"end": 70,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n",
|
|
"raw": "\n"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|