mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
184 lines
4.2 KiB
JSON
184 lines
4.2 KiB
JSON
{
|
|
"type": "Document",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 148,
|
|
"ctxt": 0
|
|
},
|
|
"mode": "no-quirks",
|
|
"children": [
|
|
{
|
|
"type": "DocumentType",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 15,
|
|
"ctxt": 0
|
|
},
|
|
"name": "html",
|
|
"publicId": null,
|
|
"systemId": null
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 141,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "html",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "lang",
|
|
"value": "en"
|
|
}
|
|
],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 68,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "head",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 44,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n "
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 44,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "title",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Document"
|
|
}
|
|
],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 67,
|
|
"end": 68,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n"
|
|
}
|
|
],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 75,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 76,
|
|
"end": 141,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "body",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 82,
|
|
"end": 83,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 83,
|
|
"end": 123,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "iframe",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "src",
|
|
"value": "test.html"
|
|
},
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "frameborder",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"children": [],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 141,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\n"
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
]
|
|
}
|