mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
75 lines
3.2 KiB
JSON
75 lines
3.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":1,"end":4,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":4,"index":4}},
|
|
"name": "div"
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start":24,"end":30,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":30,"index":30}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":26,"end":29,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":29,"index":29}},
|
|
"name": "div"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXExpressionContainer",
|
|
"start":5,"end":24,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":24,"index":24}},
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"start":6,"end":23,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":23,"index":23}},
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start":6,"end":23,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":23,"index":23}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
|
|
"name": "div"
|
|
},
|
|
"attributes": [
|
|
{
|
|
"type": "JSXSpreadAttribute",
|
|
"start":11,"end":20,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":20,"index":20}},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start":15,"end":19,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":19,"index":19},"identifierName":"test"},
|
|
"name": "test"
|
|
}
|
|
}
|
|
],
|
|
"selfClosing": true
|
|
},
|
|
"closingElement": null,
|
|
"children": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|