mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
129 lines
5.2 KiB
JSON
129 lines
5.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":3,"index":50}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":3,"index":50}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":3,"index":50}},
|
|
"expression": {
|
|
"type": "JSXFragment",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":3,"index":50}},
|
|
"openingFragment": {
|
|
"type": "JSXOpeningFragment",
|
|
"start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}}
|
|
},
|
|
"closingFragment": {
|
|
"type": "JSXClosingFragment",
|
|
"start":47,"end":50,"loc":{"start":{"line":6,"column":0,"index":47},"end":{"line":6,"column":3,"index":50}}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"start":3,"end":6,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":2,"column":2,"index":6}},
|
|
"extra": {
|
|
"rawValue": "\n ",
|
|
"raw": "\n "
|
|
},
|
|
"value": "\n "
|
|
},
|
|
{
|
|
"type": "JSXElement",
|
|
"start":6,"end":29,"loc":{"start":{"line":2,"column":2,"index":6},"end":{"line":4,"column":9,"index":29}},
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start":6,"end":12,"loc":{"start":{"line":2,"column":2,"index":6},"end":{"line":2,"column":8,"index":12}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":7,"end":11,"loc":{"start":{"line":2,"column":3,"index":7},"end":{"line":2,"column":7,"index":11}},
|
|
"name": "span"
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start":22,"end":29,"loc":{"start":{"line":4,"column":2,"index":22},"end":{"line":4,"column":9,"index":29}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":24,"end":28,"loc":{"start":{"line":4,"column":4,"index":24},"end":{"line":4,"column":8,"index":28}},
|
|
"name": "span"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"start":12,"end":22,"loc":{"start":{"line":2,"column":8,"index":12},"end":{"line":4,"column":2,"index":22}},
|
|
"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,"index":29},"end":{"line":5,"column":2,"index":32}},
|
|
"extra": {
|
|
"rawValue": "\n ",
|
|
"raw": "\n "
|
|
},
|
|
"value": "\n "
|
|
},
|
|
{
|
|
"type": "JSXElement",
|
|
"start":32,"end":46,"loc":{"start":{"line":5,"column":2,"index":32},"end":{"line":5,"column":16,"index":46}},
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start":32,"end":37,"loc":{"start":{"line":5,"column":2,"index":32},"end":{"line":5,"column":7,"index":37}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":33,"end":36,"loc":{"start":{"line":5,"column":3,"index":33},"end":{"line":5,"column":6,"index":36}},
|
|
"name": "div"
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start":40,"end":46,"loc":{"start":{"line":5,"column":10,"index":40},"end":{"line":5,"column":16,"index":46}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":42,"end":45,"loc":{"start":{"line":5,"column":12,"index":42},"end":{"line":5,"column":15,"index":45}},
|
|
"name": "div"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"start":37,"end":40,"loc":{"start":{"line":5,"column":7,"index":37},"end":{"line":5,"column":10,"index":40}},
|
|
"extra": {
|
|
"rawValue": "bye",
|
|
"raw": "bye"
|
|
},
|
|
"value": "bye"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"start":46,"end":47,"loc":{"start":{"line":5,"column":16,"index":46},"end":{"line":6,"column":0,"index":47}},
|
|
"extra": {
|
|
"rawValue": "\n",
|
|
"raw": "\n"
|
|
},
|
|
"value": "\n"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|