60 lines
2.1 KiB
JSON
60 lines
2.1 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":27,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
|
|
"errors": [
|
|
"SyntaxError: Invalid identifier @@random (2:10)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":27,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":0,"end":27,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":4,"end":27,"loc":{"start":{"line":1,"column":4},"end":{"line":3,"column":1}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":4,"end":5,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"start":8,"end":27,"loc":{"start":{"line":1,"column":8},"end":{"line":3,"column":1}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectMethod",
|
|
"start":12,"end":25,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":15}},
|
|
"method": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":12,"end":20,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":10},"identifierName":"@@random"},
|
|
"name": "@@random"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":23,"end":25,"loc":{"start":{"line":2,"column":13},"end":{"line":2,"column":15}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |