55 lines
1.8 KiB
JSON
55 lines
1.8 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":29,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":29,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":29,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":9,"end":15,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":15},"identifierName":"normal"},
|
|
"name": "normal"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":16,"end":17,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"start":19,"end":25,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":25}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":19,"end":20,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20},"identifierName":"y"},
|
|
"name": "y"
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start":23,"end":25,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":25}},
|
|
"extra": {
|
|
"rawValue": 10,
|
|
"raw": "10"
|
|
},
|
|
"value": 10
|
|
}
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":27,"end":29,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":29}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |