mirror of
https://github.com/swc-project/swc.git
synced 2025-01-03 02:54:43 +03:00
69 lines
1.3 KiB
JSON
69 lines
1.3 KiB
JSON
{
|
|
"type": "Document",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 39,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 39,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "root",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 12,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n ",
|
|
"raw": "\n "
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 12,
|
|
"end": 31,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "foo",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "bar",
|
|
"rawName": "bar",
|
|
"value": "&",
|
|
"rawValue": "\"&\""
|
|
}
|
|
],
|
|
"children": []
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 31,
|
|
"end": 32,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n",
|
|
"raw": "\n"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|