{ "Script": { "statements": [ { "FuncDeclaration": { "modifiers": 0, "field_mod": null, "is_destructor": false, "is_constructor": false, "returns_reference": false, "return_type": { "Type": { "is_const": false, "scope": null, "datatype": { "DataTypePrimType": { "prim_type": "Int32" } }, "modifiers": [] } }, "name": "add", "param_list": { "ParamList": { "parameters": [ { "parameter_type": { "Type": { "is_const": false, "scope": null, "datatype": { "DataTypePrimType": { "prim_type": "Int32" } }, "modifiers": [] } }, "type_mod": null, "identifier": "a", "default": null }, { "parameter_type": { "Type": { "is_const": false, "scope": null, "datatype": { "DataTypePrimType": { "prim_type": "Int32" } }, "modifiers": [] } }, "type_mod": null, "identifier": "b", "default": null } ] } }, "is_const": false, "func_attr": 0, "block": { "StatBlock": { "statements": [ { "ReturnStatement": { "expression": { "BinaryExpr": { "left": { "VarAccess": { "scope": null, "identifier": "a" } }, "operator": "Addition", "right": { "VarAccess": { "scope": null, "identifier": "b" } } } } } } ] } } } } ] } }