.constant(f.getKind())
.element(f.getNameIdentifier())
.childrenOptionally(f.getAttributeList())
.children(f.getParameterList())
.optionally(f.getReturnTypeElement())
<BUG>.optionallyInPattern(f.getBody())

.role(f.getNameIdentifier(), ChildRole.FUNCTION_NAME);</BUG>
}
else if (element instanceof JSBlockStatement) {

.constant(f.getKind())
.element(f.getNameIdentifier())
.childrenOptionally(f.getAttributeList())
.children(f.getParameterList())
.optionally(f.getReturnTypeElement())
.optionallyInPattern(f.getBody());
}
else if (element instanceof JSBlockStatement) {
