- method_type_t *type = method->type;
-
- fprintf(out, "func ");
- print_type(out, type->result_type);
- fprintf(out, " %s", method->symbol->string);
-
- print_method_parameters(out, method->parameters, type);
-
- if(method->statement != NULL) {
- fprintf(out, ":\n");
- print_statement(out, 0, method->statement);
- } else {
- fprintf(out, "\n");
- }
+ /* TODO */
+ print_type(out, declaration->type);
+ fprintf(out, " %s", declaration->symbol->string);