X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/492c1cff68a2da969a559627725369c211470c92..24b2afcb2f3745654bd3a7e4fa8c4a8f42a9b1b8:/src/tycheck.sig diff --git a/src/tycheck.sig b/src/tycheck.sig index 50a816f..52630b8 100644 --- a/src/tycheck.sig +++ b/src/tycheck.sig @@ -1,5 +1,6 @@ (* HCoop Domtool (http://hcoop.sourceforge.net/) * Copyright (c) 2006, Adam Chlipala + * Copyright (c) 2014 Clinton Ebadi * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -14,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*) + *) (* Domtool configuration language type checking *) @@ -28,9 +29,14 @@ signature TYCHECK = sig val checkDecl : Env.env -> Ast.decl -> Env.env - val checkFile : Env.env -> Ast.typ -> Ast.file -> Env.env + val checkFile : Env.env -> Ast.file -> Env.env val resetUnif : unit -> unit val newUnif : unit -> Ast.typ' + val preface : string * Print.PD.pp_desc -> unit + + val allowExterns : unit -> unit + val disallowExterns : unit -> unit + end