mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
|
|
"errors": [
|
|
"SyntaxError: Unexpected keyword 'default'. (1:6)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":6,"end":17,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":17,"index":17}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":13,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":13,"index":13},"identifierName":"default"},
|
|
"name": "default"
|
|
},
|
|
"init": {
|
|
"type": "NumericLiteral",
|
|
"start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17}},
|
|
"extra": {
|
|
"rawValue": 2,
|
|
"raw": "2"
|
|
},
|
|
"value": 2
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|