mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
103 lines
2.5 KiB
JSON
103 lines
2.5 KiB
JSON
{
|
|
"type": "DocumentFragment",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 68,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 68,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "template",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [],
|
|
"content": {
|
|
"type": "DocumentFragment",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 68,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "form",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "input",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 24,
|
|
"end": 32,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "name",
|
|
"rawName": "name",
|
|
"value": "q",
|
|
"rawValue": "\"q\""
|
|
}
|
|
],
|
|
"children": [],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 40,
|
|
"end": 57,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "div",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 45,
|
|
"end": 51,
|
|
"ctxt": 0
|
|
},
|
|
"data": "second",
|
|
"raw": "second"
|
|
}
|
|
],
|
|
"content": null,
|
|
"isSelfClosing": false
|
|
}
|
|
]
|
|
},
|
|
"isSelfClosing": false
|
|
}
|
|
]
|
|
}
|