mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
59 lines
2.4 KiB
JSON
59 lines
2.4 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":49}},
|
|
"errors": [
|
|
"SyntaxError: The only valid meta property for import is import.meta. (2:16)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":49}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":49}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":9,"end":19,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":19,"index":19},"identifierName":"failsParse"},
|
|
"name": "failsParse"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":22,"end":49,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":3,"column":1,"index":49}},
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start":26,"end":47,"loc":{"start":{"line":2,"column":2,"index":26},"end":{"line":2,"column":23,"index":47}},
|
|
"argument": {
|
|
"type": "CallExpression",
|
|
"start":33,"end":46,"loc":{"start":{"line":2,"column":9,"index":33},"end":{"line":2,"column":22,"index":46}},
|
|
"callee": {
|
|
"type": "MetaProperty",
|
|
"start":33,"end":44,"loc":{"start":{"line":2,"column":9,"index":33},"end":{"line":2,"column":20,"index":44}},
|
|
"meta": {
|
|
"type": "Identifier",
|
|
"start":33,"end":39,"loc":{"start":{"line":2,"column":9,"index":33},"end":{"line":2,"column":15,"index":39},"identifierName":"import"},
|
|
"name": "import"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":40,"end":44,"loc":{"start":{"line":2,"column":16,"index":40},"end":{"line":2,"column":20,"index":44},"identifierName":"then"},
|
|
"name": "then"
|
|
}
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|