mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
116 lines
5.4 KiB
JSON
116 lines
5.4 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":69,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":69,"index":69}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":69,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":69,"index":69}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":69,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":69,"index":69}},
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"start":0,"end":69,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":69,"index":69}},
|
|
"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":63,"end":69,"loc":{"start":{"line":1,"column":63,"index":63},"end":{"line":1,"column":69,"index":69}},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start":65,"end":68,"loc":{"start":{"line":1,"column":65,"index":65},"end":{"line":1,"column":68,"index":68}},
|
|
"name": "div"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXExpressionContainer",
|
|
"start":5,"end":63,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":63,"index":63}},
|
|
"expression": {
|
|
"type": "SequenceExpression",
|
|
"start":7,"end":61,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":61,"index":61}},
|
|
"expressions": [
|
|
{
|
|
"type": "OptionalMemberExpression",
|
|
"start":7,"end":18,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":18,"index":18}},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start":7,"end":11,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":11,"index":11}}
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":13,"end":18,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":18,"index":18},"identifierName":"class"},
|
|
"name": "class"
|
|
},
|
|
"optional": true
|
|
},
|
|
{
|
|
"type": "MemberExpression",
|
|
"start":20,"end":30,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":30,"index":30}},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start":20,"end":24,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":24,"index":24}}
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":25,"end":30,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":30,"index":30},"identifierName":"class"},
|
|
"name": "class"
|
|
}
|
|
},
|
|
{
|
|
"type": "OptionalMemberExpression",
|
|
"start":32,"end":46,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":46,"index":46}},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start":32,"end":36,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":36,"index":36}}
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":38,"end":46,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":46,"index":46},"identifierName":"function"},
|
|
"name": "function"
|
|
},
|
|
"optional": true
|
|
},
|
|
{
|
|
"type": "MemberExpression",
|
|
"start":48,"end":61,"loc":{"start":{"line":1,"column":48,"index":48},"end":{"line":1,"column":61,"index":61}},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start":48,"end":52,"loc":{"start":{"line":1,"column":48,"index":48},"end":{"line":1,"column":52,"index":52}}
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":53,"end":61,"loc":{"start":{"line":1,"column":53,"index":53},"end":{"line":1,"column":61,"index":61},"identifierName":"function"},
|
|
"name": "function"
|
|
}
|
|
}
|
|
],
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 6
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|