in lib/generator.js [2461:2479]
InterfaceEachFunction(ast, level) {
let wrapName = _upperFirst(_name(ast.functionName));
this.visitAnnotation(ast.annotation, level);
let comments = DSL.comment.getFrontComments(this.comments, ast.tokenRange[0]);
this.visitComments(comments, level);
this.emit('', level);
let env = {};
env.returnType = ast.returnType;
this.visitReturnType(ast, 0, env);
this.emit(`${wrapName}`);
if (this.isExec && wrapName === 'Main') {
this.emit('(string[] args)');
} else {
this.visitParams(ast.params, level, env);
}
this.emit(';\n');
}