mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
56 lines
2.3 KiB
JSON
56 lines
2.3 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":38}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":38}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":38}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":10,"end":13,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":13,"index":13},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"generator": true,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":16,"end":38,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":3,"column":1,"index":38}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":20,"end":36,"loc":{"start":{"line":2,"column":2,"index":20},"end":{"line":2,"column":18,"index":36}},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start":20,"end":35,"loc":{"start":{"line":2,"column":2,"index":20},"end":{"line":2,"column":17,"index":35}},
|
|
"callee": {
|
|
"type": "MetaProperty",
|
|
"start":20,"end":33,"loc":{"start":{"line":2,"column":2,"index":20},"end":{"line":2,"column":15,"index":33}},
|
|
"meta": {
|
|
"type": "Identifier",
|
|
"start":20,"end":28,"loc":{"start":{"line":2,"column":2,"index":20},"end":{"line":2,"column":10,"index":28},"identifierName":"function"},
|
|
"name": "function"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":29,"end":33,"loc":{"start":{"line":2,"column":11,"index":29},"end":{"line":2,"column":15,"index":33},"identifierName":"sent"},
|
|
"name": "sent"
|
|
}
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|