mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
66 lines
2.6 KiB
JSON
66 lines
2.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2}},
|
|
"name": "a"
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start":28,"end":32,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":32,"index":32}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":30,"end":31,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":31,"index":31}},
|
|
"name": "a"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXExpressionContainer",
|
|
"start":3,"end":28,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":28,"index":28}},
|
|
"expression": {
|
|
"type": "JSXEmptyExpression",
|
|
"start":4,"end":27,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":27,"index":27}},
|
|
"innerComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " this is a comment ",
|
|
"start":4,"end":27,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":27,"index":27}}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " this is a comment ",
|
|
"start":4,"end":27,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":27,"index":27}}
|
|
}
|
|
]
|
|
}
|