X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/095de39e1be653dcb6438d19c719bd7797e0772a..2e96b9d42f6d2619f961c753ac3bbc9ba57c5147:/src/order.sig diff --git a/src/order.sig b/src/order.sig index 10621dd..a94d17a 100644 --- a/src/order.sig +++ b/src/order.sig @@ -20,6 +20,14 @@ signature ORDER = sig - val order : string list -> string list + type providers + (* Information on which files define which symbols *) + val providesContext : providers * string -> string option + val providesType : providers * string -> string option + val providesValue : providers * string -> string option + (* Look up which file defines a symbol *) + + val order : Env.env option -> string list -> providers * string list + (* The first argument gives an environment of known symbols *) end