128 lines
4.8 KiB
JSON
128 lines
4.8 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":3}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":3}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":3}},
|
|
"expression": {
|
|
"type": "JSXFragment",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":3}},
|
|
"openingFragment": {
|
|
"type": "JSXOpeningFragment",
|
|
"start":0,"end":3,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}
|
|
},
|
|
"closingFragment": {
|
|
"type": "JSXClosingFragment",
|
|
"start":47,"end":50,"loc":{"start":{"line":6,"column":0},"end":{"line":6,"column":3}}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"start":3,"end":6,"loc":{"start":{"line":1,"column":3},"end":{"line":2,"column":2}},
|
|
"extra": {
|
|
"rawValue": "\n ",
|
|
"raw": "\n "
|
|
},
|
|
"value": "\n "
|
|
},
|
|
{
|
|
"type": "JSXElement",
|
|
"start":6,"end":29,"loc":{"start":{"line":2,"column":2},"end":{"line":4,"column":9}},
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start":6,"end":12,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":8}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":7,"end":11,"loc":{"start":{"line":2,"column":3},"end":{"line":2,"column":7}},
|
|
"name": "span"
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start":22,"end":29,"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":9}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":24,"end":28,"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":8}},
|
|
"name": "span"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"start":12,"end":22,"loc":{"start":{"line":2,"column":8},"end":{"line":4,"column":2}},
|
|
"extra": {
|
|
"rawValue": "\n hi\n ",
|
|
"raw": "\n hi\n "
|
|
},
|
|
"value": "\n hi\n "
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"start":29,"end":32,"loc":{"start":{"line":4,"column":9},"end":{"line":5,"column":2}},
|
|
"extra": {
|
|
"rawValue": "\n ",
|
|
"raw": "\n "
|
|
},
|
|
"value": "\n "
|
|
},
|
|
{
|
|
"type": "JSXElement",
|
|
"start":32,"end":46,"loc":{"start":{"line":5,"column":2},"end":{"line":5,"column":16}},
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start":32,"end":37,"loc":{"start":{"line":5,"column":2},"end":{"line":5,"column":7}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":33,"end":36,"loc":{"start":{"line":5,"column":3},"end":{"line":5,"column":6}},
|
|
"name": "div"
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start":40,"end":46,"loc":{"start":{"line":5,"column":10},"end":{"line":5,"column":16}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":42,"end":45,"loc":{"start":{"line":5,"column":12},"end":{"line":5,"column":15}},
|
|
"name": "div"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"start":37,"end":40,"loc":{"start":{"line":5,"column":7},"end":{"line":5,"column":10}},
|
|
"extra": {
|
|
"rawValue": "bye",
|
|
"raw": "bye"
|
|
},
|
|
"value": "bye"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"start":46,"end":47,"loc":{"start":{"line":5,"column":16},"end":{"line":6,"column":0}},
|
|
"extra": {
|
|
"rawValue": "\n",
|
|
"raw": "\n"
|
|
},
|
|
"value": "\n"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |