mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
58 lines
2.2 KiB
JSON
58 lines
2.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":14,"index":29}},
|
|
"errors": [
|
|
"SyntaxError: Unexpected reserved word 'interface'. (2:0)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":14,"index":29}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":4,"end":13,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":13,"index":13},"identifierName":"interface"},
|
|
"name": "interface"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":15,"end":29,"loc":{"start":{"line":2,"column":0,"index":15},"end":{"line":2,"column":14,"index":29}},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"start":15,"end":28,"loc":{"start":{"line":2,"column":0,"index":15},"end":{"line":2,"column":13,"index":28}},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start":15,"end":24,"loc":{"start":{"line":2,"column":0,"index":15},"end":{"line":2,"column":9,"index":24},"identifierName":"interface"},
|
|
"name": "interface"
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":25,"end":28,"loc":{"start":{"line":2,"column":10,"index":25},"end":{"line":2,"column":13,"index":28},"identifierName":"foo"},
|
|
"name": "foo"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": false
|
|
}
|
|
}
|
|
}
|