186 lines
3.9 KiB
JSON
186 lines
3.9 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start": 0,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Placeholder",
|
|
"start": 9,
|
|
"end": 15,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 15
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start": 11,
|
|
"end": 13,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 13
|
|
},
|
|
"identifierName": "ID"
|
|
},
|
|
"name": "ID"
|
|
},
|
|
"expectedNode": "Identifier"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Placeholder",
|
|
"start": 16,
|
|
"end": 25,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 25
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start": 18,
|
|
"end": 23,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 23
|
|
},
|
|
"identifierName": "PARAM"
|
|
},
|
|
"name": "PARAM"
|
|
},
|
|
"expectedNode": "Pattern"
|
|
},
|
|
{
|
|
"type": "Placeholder",
|
|
"start": 27,
|
|
"end": 36,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 36
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start": 29,
|
|
"end": 34,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 34
|
|
},
|
|
"identifierName": "PARAM"
|
|
},
|
|
"name": "PARAM"
|
|
},
|
|
"expectedNode": "Pattern"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "Placeholder",
|
|
"start": 38,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start": 40,
|
|
"end": 44,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 44
|
|
},
|
|
"identifierName": "BODY"
|
|
},
|
|
"name": "BODY"
|
|
},
|
|
"expectedNode": "BlockStatement"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |