78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 0,
|
|
"end": 30,
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"start": 0,
|
|
"end": 30,
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start": 0,
|
|
"end": 5,
|
|
"attributes": [],
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 1,
|
|
"end": 4,
|
|
"name": "div"
|
|
},
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start": 24,
|
|
"end": 30,
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 26,
|
|
"end": 29,
|
|
"name": "div"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXExpressionContainer",
|
|
"start": 5,
|
|
"end": 24,
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"start": 6,
|
|
"end": 23,
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start": 6,
|
|
"end": 23,
|
|
"attributes": [
|
|
{
|
|
"type": "JSXSpreadAttribute",
|
|
"start": 11,
|
|
"end": 20,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start": 15,
|
|
"end": 19,
|
|
"name": "test"
|
|
}
|
|
}
|
|
],
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 7,
|
|
"end": 10,
|
|
"name": "div"
|
|
},
|
|
"selfClosing": true
|
|
},
|
|
"closingElement": null,
|
|
"children": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |