X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_disambiguation%2FdisambiguateChoices.mli;h=4d1ed53296ba70c7608d396ed93303a5eebe5ddd;hb=e9b09b14538f770b9e65083c24e3e9cf487df648;hp=f40c7aa9f4b8e139eff592b5aa1ef41b77dcabe6;hpb=430d6307ae5776ed000a78358a2881cb88936c37;p=helm.git diff --git a/helm/software/components/cic_disambiguation/disambiguateChoices.mli b/helm/software/components/cic_disambiguation/disambiguateChoices.mli index f40c7aa9f..4d1ed5329 100644 --- a/helm/software/components/cic_disambiguation/disambiguateChoices.mli +++ b/helm/software/components/cic_disambiguation/disambiguateChoices.mli @@ -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