mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
179 lines
4.6 KiB
JSON
179 lines
4.6 KiB
JSON
{
|
|
"type": "Document",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 48,
|
|
"ctxt": 0
|
|
},
|
|
"mode": "quirks",
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 48,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "html",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 6,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "head",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 48,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "body",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 10,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "div",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 6,
|
|
"end": 10,
|
|
"ctxt": 0
|
|
},
|
|
"value": "test"
|
|
}
|
|
],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 48,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "a",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "a",
|
|
"value": null
|
|
}
|
|
],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 23,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 24,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "div",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 29,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"value": "test"
|
|
}
|
|
],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 40,
|
|
"end": 48,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "z",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 43,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "=",
|
|
"value": "=="
|
|
}
|
|
],
|
|
"children": [],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
]
|
|
}
|