]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic_disambiguation/disambiguateChoices.mli
parameter sintax added to axiom statement
[helm.git] / helm / software / components / cic_disambiguation / disambiguateChoices.mli
index 0ad498106456a50d50ed4962a530e597b7d1a08f..4d1ed53296ba70c7608d396ed93303a5eebe5ddd 100644 (file)
@@ -31,23 +31,41 @@ open DisambiguateTypes
 exception Choice_not_found of string Lazy.t
 
   (** register a new number choice *)
-val add_num_choice: codomain_item -> unit
+val add_num_choice: Cic.term codomain_item -> unit
+
+  (** register a new number choice *)
+val nadd_num_choice: NCic.term codomain_item -> unit
 
 (** {2 Choices lookup}
  * for user defined aliases *)
 
-val lookup_num_choices: unit -> codomain_item list
+val lookup_num_choices: unit -> Cic.term codomain_item list
 
   (** @param dsc description (1st component of codomain_item) *)
-val lookup_num_by_dsc: string -> codomain_item
+val lookup_num_by_dsc: string -> Cic.term codomain_item
+
+  (** @param dsc description (1st component of codomain_item) *)
+val nlookup_num_by_dsc: string -> NCic.term codomain_item
 
   (** @param symbol symbol as per AST
    * @param dsc description (1st component of codomain_item)
    *)
-val lookup_symbol_by_dsc: string -> string -> codomain_item
+val lookup_symbol_by_dsc: 
+  mk_appl: ('term list -> 'term) ->
+  mk_implicit: (bool -> 'term) ->
+  term_of_uri: (UriManager.uri -> 'term) ->
+  term_of_nref: (NReference.reference -> 'term) ->
+  string -> string -> 'term codomain_item
+
+val cic_lookup_symbol_by_dsc: 
+  string -> string -> Cic.term codomain_item
 
 val mk_choice:
+  mk_appl: ('term list -> 'term) ->
+  mk_implicit: (bool -> 'term) ->
+  term_of_uri: (UriManager.uri -> 'term) ->
+  term_of_nref: (NReference.reference -> 'term) ->
   string * CicNotationPt.argument_pattern list *
   CicNotationPt.cic_appl_pattern ->
-    codomain_item
+    'term codomain_item