sig
  val build_tuple_tree_pattern_code :
    Code_selection_context.code_selection_context ->
    Algebra_type.algop_expr ->
    Xquery_common_ast.crname * Xquery_algebra_ast.twig_pattern ->
    Algebra_type.alg_eval_code_dep *
    Code_selection_context.code_selection_context
  val select_physical_op :
    Code_selection_context.code_selection_context ->
    Algebra_type.algop_expr ->
    Xquery_common_ast.crname * Xquery_algebra_ast.twig_pattern ->
    Xquery_physical_algebra_ast.physop_expr_name
end