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":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":5,"index":36}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":5,"index":36}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":5,"index":36}},
|
|
"expression": {
|
|
"type": "FunctionExpression",
|
|
"start":1,"end":35,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":2,"column":4,"index":35}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":11,"end":35,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":2,"column":4,"index":35}},
|
|
"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": "CommentLine",
|
|
"value": " Comment",
|
|
"start":20,"end":30,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":30,"index":30}}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":31,"end":33,"loc":{"start":{"line":2,"column":0,"index":31},"end":{"line":2,"column":2,"index":33}},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"start":31,"end":32,"loc":{"start":{"line":2,"column":0,"index":31},"end":{"line":2,"column":1,"index":32},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Comment",
|
|
"start":20,"end":30,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":30,"index":30}}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Comment",
|
|
"start":20,"end":30,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":30,"index":30}}
|
|
}
|
|
]
|
|
}
|