mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
54 lines
2.1 KiB
JSON
54 lines
2.1 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
|
|
"errors": [
|
|
"SyntaxError: Escape sequence in keyword new. (1:15)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"f"},
|
|
"name": "f"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":13,"end":33,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":33,"index":33}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":15,"end":31,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":31,"index":31}},
|
|
"expression": {
|
|
"type": "MetaProperty",
|
|
"start":15,"end":30,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":30,"index":30}},
|
|
"meta": {
|
|
"type": "Identifier",
|
|
"start":15,"end":23,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":23,"index":23},"identifierName":"new"},
|
|
"name": "new"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":24,"end":30,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":30,"index":30},"identifierName":"target"},
|
|
"name": "target"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|