48 lines
1.6 KiB
JSON
48 lines
1.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":14,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}},
|
|
"errors": [
|
|
"SyntaxError: Missing semicolon. (1:8)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":14,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":8,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"start":0,"end":8,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8},"identifierName":"let"},
|
|
"name": "let"
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":9,"end":14,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":9,"end":14,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":9,"end":10,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start":13,"end":14,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}},
|
|
"extra": {
|
|
"rawValue": 5,
|
|
"raw": "5"
|
|
},
|
|
"value": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |