(***********************************************************************)
(*                                                                     *)
(*                                 GALAX                               *)
(*                              XQuery Engine                          *)
(*                                                                     *)
(*  Copyright 2001-2003, Lucent Technologies.                          *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

(* $Id: function_analysis.mli,v 1.1 2003/05/21 15:03:49 simeon Exp $ *)

(* Module: Function_analysis
   Description:
     This module implements the path analysis for built-in functions.
*)


(* Type for the kind of function *)

type function_kind =
  | UsedOnly           (* NOTE: This needs to be documented!! - Jerome *)
  | UsedReturnSimple
  | UsedReturnSubtree
  | ReturnsPaths
  | ReturnsDefault

(* Returns the kind of function *)

val get_fun_analysis_type : Xquery_ast.rfname -> function_kind

