mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
176 lines
6.7 KiB
JSON
176 lines
6.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":98,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":98,"index":98}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":98,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":98,"index":98}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":98,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":98,"index":98}},
|
|
"expression": {
|
|
"type": "ObjectExpression",
|
|
"start":9,"end":87,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":87,"index":87}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectMethod",
|
|
"start":19,"end":77,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":77,"index":77}},
|
|
"method": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20},"identifierName":"f"},
|
|
"name": "f",
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 3 ",
|
|
"start":21,"end":28,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":28,"index":28}}
|
|
}
|
|
]
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":38,"end":39,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":39,"index":39},"identifierName":"a"},
|
|
"name": "a",
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 5 ",
|
|
"start":40,"end":47,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":47,"index":47}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 6 ",
|
|
"start":49,"end":56,"loc":{"start":{"line":1,"column":49,"index":49},"end":{"line":1,"column":56,"index":56}}
|
|
}
|
|
],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 4 ",
|
|
"start":30,"end":37,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":37,"index":37}}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":66,"end":77,"loc":{"start":{"line":1,"column":66,"index":66},"end":{"line":1,"column":77,"index":77}},
|
|
"body": [],
|
|
"directives": [],
|
|
"innerComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 8 ",
|
|
"start":68,"end":75,"loc":{"start":{"line":1,"column":68,"index":68},"end":{"line":1,"column":75,"index":75}}
|
|
}
|
|
],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 7 ",
|
|
"start":58,"end":65,"loc":{"start":{"line":1,"column":58,"index":58},"end":{"line":1,"column":65,"index":65}}
|
|
}
|
|
]
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 9 ",
|
|
"start":78,"end":85,"loc":{"start":{"line":1,"column":78,"index":78},"end":{"line":1,"column":85,"index":85}}
|
|
}
|
|
],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 2 ",
|
|
"start":11,"end":18,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":18,"index":18}}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 0
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 10 ",
|
|
"start":88,"end":96,"loc":{"start":{"line":1,"column":88,"index":88},"end":{"line":1,"column":96,"index":96}}
|
|
}
|
|
],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 1 ",
|
|
"start":1,"end":8,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":8,"index":8}}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 1 ",
|
|
"start":1,"end":8,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":8,"index":8}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 2 ",
|
|
"start":11,"end":18,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":18,"index":18}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 3 ",
|
|
"start":21,"end":28,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":28,"index":28}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 4 ",
|
|
"start":30,"end":37,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":37,"index":37}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 5 ",
|
|
"start":40,"end":47,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":47,"index":47}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 6 ",
|
|
"start":49,"end":56,"loc":{"start":{"line":1,"column":49,"index":49},"end":{"line":1,"column":56,"index":56}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 7 ",
|
|
"start":58,"end":65,"loc":{"start":{"line":1,"column":58,"index":58},"end":{"line":1,"column":65,"index":65}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 8 ",
|
|
"start":68,"end":75,"loc":{"start":{"line":1,"column":68,"index":68},"end":{"line":1,"column":75,"index":75}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 9 ",
|
|
"start":78,"end":85,"loc":{"start":{"line":1,"column":78,"index":78},"end":{"line":1,"column":85,"index":85}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 10 ",
|
|
"start":88,"end":96,"loc":{"start":{"line":1,"column":88,"index":88},"end":{"line":1,"column":96,"index":96}}
|
|
}
|
|
]
|
|
}
|