mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
72 lines
2.7 KiB
JSON
72 lines
2.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":15,"index":47}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":15,"index":47}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":15,"index":47}},
|
|
"expression": {
|
|
"type": "FunctionExpression",
|
|
"start":1,"end":46,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":2,"column":14,"index":46}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":11,"end":46,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":2,"column":14,"index":46}},
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start":13,"end":19,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":19,"index":19}},
|
|
"argument": null,
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " Multiline\nComment ",
|
|
"start":19,"end":42,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":2,"column":10,"index":42}}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":42,"end":44,"loc":{"start":{"line":2,"column":10,"index":42},"end":{"line":2,"column":12,"index":44}},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"start":42,"end":43,"loc":{"start":{"line":2,"column":10,"index":42},"end":{"line":2,"column":11,"index":43},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " Multiline\nComment ",
|
|
"start":19,"end":42,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":2,"column":10,"index":42}}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " Multiline\nComment ",
|
|
"start":19,"end":42,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":2,"column":10,"index":42}}
|
|
}
|
|
]
|
|
}
|