mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
114 lines
2.8 KiB
JSON
114 lines
2.8 KiB
JSON
{
|
|
"type": "Document",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"mode": "quirks",
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "html",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "head",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "body",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 22,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "foo",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 6,
|
|
"end": 15,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "bar",
|
|
"rawName": "bar",
|
|
"value": "baz",
|
|
"rawValue": "\"baz\""
|
|
}
|
|
],
|
|
"children": [],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "potato",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "quack",
|
|
"rawName": "quack",
|
|
"value": "duck",
|
|
"rawValue": "\"duck\""
|
|
}
|
|
],
|
|
"children": [],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
}
|
|
]
|
|
}
|