mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
69 lines
2.5 KiB
JSON
69 lines
2.5 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":1,"index":55}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":1,"index":55}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":1,"index":55}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "ArrayPattern",
|
|
"start":13,"end":50,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":50,"index":50}},
|
|
"elements": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"foo"},
|
|
"name": "foo",
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " not used ",
|
|
"start":19,"end":33,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":33,"index":33}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " not used ",
|
|
"start":35,"end":49,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":49,"index":49}}
|
|
}
|
|
]
|
|
},
|
|
null
|
|
]
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":52,"end":55,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":2,"column":1,"index":55}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " not used ",
|
|
"start":19,"end":33,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":33,"index":33}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " not used ",
|
|
"start":35,"end":49,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":49,"index":49}}
|
|
}
|
|
]
|
|
}
|