]> 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 f40c7aa9f4b8e139eff592b5aa1ef41b77dcabe6..4d1ed53296ba70c7608d396ed93303a5eebe5ddd 100644 (file)
@@ -33,6 +33,9 @@ exception Choice_not_found of string Lazy.t
   (** register a new number choice *)
 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 *)
 
@@ -41,6 +44,9 @@ val lookup_num_choices: unit -> Cic.term codomain_item list
   (** @param dsc description (1st component of 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)
    *)
@@ -48,6 +54,7 @@ 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: 
@@ -57,6 +64,7 @@ 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 ->
     'term codomain_item