diff options
| author | Alasdair Armstrong | 2019-11-11 14:41:33 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2019-11-11 14:41:33 +0000 |
| commit | 20df613aee16ab0a1610bd9507c55d4fe48a43f3 (patch) | |
| tree | f3985a1c1287c174337ed9929835f1c8afb88651 /src/process_file.mli | |
| parent | 2e1074244d86c7442ae8f7ceab31061bfd853242 (diff) | |
Update libsail slightly with recent changes
Also don't include the toplevel files in the library, and move
load_files and descatter into process_file where they can be called
Diffstat (limited to 'src/process_file.mli')
| -rw-r--r-- | src/process_file.mli | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/process_file.mli b/src/process_file.mli index fa0aeb31..d1fa2cb8 100644 --- a/src/process_file.mli +++ b/src/process_file.mli @@ -61,9 +61,8 @@ val rewrite_ast_initial : Type_check.Env.t -> Type_check.tannot Ast.defs -> Type val rewrite_ast_target : string -> Type_check.Env.t -> Type_check.tannot Ast.defs -> Type_check.tannot Ast.defs * Type_check.Env.t val rewrite_ast_check : Type_check.Env.t -> Type_check.tannot Ast.defs -> Type_check.tannot Ast.defs * Type_check.Env.t -val load_file_no_check : (Arg.key * Arg.spec * Arg.doc) list -> Ast.order -> string -> unit Ast.defs -val load_file : (Arg.key * Arg.spec * Arg.doc) list -> Ast.order -> Type_check.Env.t -> string -> Type_check.tannot Ast.defs * Type_check.Env.t - +val opt_file_out : string option ref +val opt_memo_z3 : bool ref val opt_just_check : bool ref val opt_ddump_tc_ast : bool ref val opt_ddump_rewrite_ast : ((string * int) option) ref @@ -90,3 +89,7 @@ val output : files existed before. If it is set to [false] and an output file already exists, the output file is only updated, if its content really changes. *) val always_replace_files : bool ref + +val load_files : ?check:bool -> (Arg.key * Arg.spec * Arg.doc) list -> Type_check.Env.t -> string list -> (string * Type_check.tannot Ast.defs * Type_check.Env.t) + +val descatter : Type_check.Env.t -> Type_check.tannot Ast.defs -> Type_check.tannot Ast.defs * Type_check.Env.t |
