71 lines
2.3 KiB
JSON
71 lines
2.3 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":63,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":63,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":63,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":9,"end":10,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":13,"end":63,"loc":{"start":{"line":1,"column":13},"end":{"line":5,"column":1}},
|
|
"body": [
|
|
{
|
|
"type": "ThrowStatement",
|
|
"start":36,"end":45,"loc":{"start":{"line":3,"column":4},"end":{"line":3,"column":13}},
|
|
"argument": {
|
|
"type": "NumericLiteral",
|
|
"start":42,"end":44,"loc":{"start":{"line":3,"column":10},"end":{"line":3,"column":12}},
|
|
"extra": {
|
|
"rawValue": 55,
|
|
"raw": "55"
|
|
},
|
|
"value": 55
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " before ",
|
|
"start":19,"end":31,"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":16}}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " after ",
|
|
"start":50,"end":61,"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":15}}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " before ",
|
|
"start":19,"end":31,"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":16}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " after ",
|
|
"start":50,"end":61,"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":15}}
|
|
}
|
|
]
|
|
} |