mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
204 lines
4.9 KiB
JSON
204 lines
4.9 KiB
JSON
{
|
|
"type": "Document",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 166,
|
|
"ctxt": 0
|
|
},
|
|
"mode": "no-quirks",
|
|
"children": [
|
|
{
|
|
"type": "DocumentType",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 16,
|
|
"ctxt": 0
|
|
},
|
|
"name": "html",
|
|
"publicId": null,
|
|
"systemId": null,
|
|
"raw": "<!DOCTYPE html>"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 166,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "html",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 24,
|
|
"end": 78,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "head",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 35,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n ",
|
|
"raw": "\n "
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 35,
|
|
"end": 70,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "title",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n\n Test\n\n ",
|
|
"raw": "\n\n Test\n\n "
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 70,
|
|
"end": 71,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n",
|
|
"raw": "\n"
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 78,
|
|
"end": 79,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n",
|
|
"raw": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 79,
|
|
"end": 166,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "body",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 85,
|
|
"end": 87,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n\n",
|
|
"raw": "\n\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 87,
|
|
"end": 114,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "p",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 110,
|
|
"ctxt": 0
|
|
},
|
|
"data": "This is a paragraph.",
|
|
"raw": "This is a paragraph."
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 114,
|
|
"end": 115,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n",
|
|
"raw": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 115,
|
|
"end": 148,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "p",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 118,
|
|
"end": 144,
|
|
"ctxt": 0
|
|
},
|
|
"data": "This is another paragraph.",
|
|
"raw": "This is another paragraph."
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 148,
|
|
"end": 166,
|
|
"ctxt": 0
|
|
},
|
|
"data": "\n\n\n\n",
|
|
"raw": "\n\n\n\n"
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
}
|
|
]
|
|
}
|