mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
115 lines
2.6 KiB
JSON
115 lines
2.6 KiB
JSON
{
|
|
"type": "Document",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 54
|
|
},
|
|
"mode": "no-quirks",
|
|
"children": [
|
|
{
|
|
"type": "DocumentType",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 16
|
|
},
|
|
"name": "html",
|
|
"publicId": null,
|
|
"systemId": null,
|
|
"raw": "<!DOCTYPE html>"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0
|
|
},
|
|
"tagName": "html",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0
|
|
},
|
|
"tagName": "head",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 54
|
|
},
|
|
"tagName": "body",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 26
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "t1",
|
|
"rawName": "t1",
|
|
"value": "1",
|
|
"rawValue": "1"
|
|
},
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 37
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "t2",
|
|
"rawName": "t2",
|
|
"value": "2",
|
|
"rawValue": "2"
|
|
},
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 44,
|
|
"end": 48
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "t3",
|
|
"rawName": "t3",
|
|
"value": "3",
|
|
"rawValue": "3"
|
|
},
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 49,
|
|
"end": 53
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "t4",
|
|
"rawName": "t4",
|
|
"value": "4",
|
|
"rawValue": "4"
|
|
}
|
|
],
|
|
"children": [],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
}
|
|
]
|
|
}
|