Module CoqProject_file
type arg_source=|CmdLine|ProjectFiletype 'a sourced={thing : 'a;source : arg_source;}type meta_file=|Absent|Present of string|Generate of stringtype 'a project={project_file : string option;makefile : string option;native_compiler : native_compiler option;docroot : string option;files : string sourced list;cmd_line_files : string sourced list;meta_file : meta_file;ml_includes : path sourced list;r_includes : (path * logic_path) sourced list;q_includes : (path * logic_path) sourced list;extra_args : string sourced list;defs : (string * string) sourced list;extra_data : 'a;}and logic_path= stringand path={path : string;canonical_path : string;}and native_compiler=|NativeYes|NativeNo|NativeOndemand
val cmdline_args_to_project : warning_fn:(string -> unit) -> curdir:string -> parse_extra:(string -> string list -> 'a -> (string list * 'a) option) -> 'a -> string list -> 'a project
val read_project_file : warning_fn:(string -> unit) -> string -> unit projectread_project_file warning_fn fileparsesfileas a Coq project; usewarning_fnfor deprecate options; raiseParsing_erroron illegal options or arguments; raiseUnableToOpenProjectFile msgif the file could not be opened; fails on some illegal non-project-file options
val coqtop_args_from_project : _ project -> string listval find_project_file : from:string -> projfile_name:string -> string optionval all_files : _ project -> string sourced listval files_by_suffix : string sourced list -> string list -> string sourced listval map_sourced_list : ('a -> 'b) -> 'a sourced list -> 'b listval map_cmdline : ('a -> 'b) -> 'a sourced list -> 'b listOnly uses the elements with source=CmdLine
val forget_source : 'a sourced -> 'a