sig
  val build_user_defined_fn_code :
    Code_selection_context.code_selection_context ->
    Algebra_type.algop_expr ->
    (Xquery_common_ast.cfname * int) *
    Xquery_algebra_ast.asequencetype option array *
    Xquery_algebra_ast.asequencetype ->
    Algebra_type.alg_eval_code_dep *
    Code_selection_context.code_selection_context
end