mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
152 lines
3.3 KiB
JSON
152 lines
3.3 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningElement",
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 5,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"optional": false
|
|
},
|
|
"span": {
|
|
"start": 1,
|
|
"end": 13,
|
|
"ctxt": 0
|
|
},
|
|
"attributes": [
|
|
{
|
|
"type": "SpreadElement",
|
|
"spread": {
|
|
"start": 7,
|
|
"end": 10,
|
|
"ctxt": 0
|
|
},
|
|
"arguments": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10,
|
|
"end": 11,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"selfClosing": false,
|
|
"typeArguments": null
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 13,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"value": " ",
|
|
"raw": " "
|
|
},
|
|
{
|
|
"type": "JSXSpreadChild",
|
|
"span": {
|
|
"start": 14,
|
|
"end": 27,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 26,
|
|
"ctxt": 0
|
|
},
|
|
"value": "children",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"type": "JSXExpressionContainer",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 30,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 28,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"type": "JSXSpreadChild",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 34,
|
|
"end": 35,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"closing": {
|
|
"type": "JSXClosingElement",
|
|
"span": {
|
|
"start": 36,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 38,
|
|
"end": 41,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|