firescript
Version:
Firescript transpiler
48 lines (47 loc) • 1.38 kB
JSON
{
"type": "Program",
"body": [
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "foo"
},
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "Literal",
"value": "foo",
"raw": "'foo'"
},
"leadingComments": [
{
"type": "Line",
"value": " Returns foo"
},
{
"type": "Line",
"value": " End of comment"
}
]
}
]
},
"generator": false,
"expression": false,
"async": false,
"fsParamTypings": [],
"leadingComments": [
{
"type": "Line",
"value": " A function"
}
]
}
],
"sourceType": "module"
}