protected final Function closurePart(ExprData data, String id, int access, String rtnType, Position line,boolean closure) throws TemplateException {
Body body=new FunctionBody();
Function func=closure?
new Closure(data.page,id,access,rtnType,body,line,null)
:new FunctionImpl(data.page,id,access,rtnType,body,line,null);
comments(data);
if(!data.cfml.forwardIfCurrent('('))
throw new TemplateException(data.cfml,"invalid syntax in function head, missing begin [(]");