]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/ng_disambiguation/nCicDisambiguate.mli
huge commit regarding the grafite_status:
[helm.git] / helm / software / components / ng_disambiguation / nCicDisambiguate.mli
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.      
9      \ /   This software is distributed as is, NO WARRANTY.     
10       V_______________________________________________________________ *)
11
12 (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *)
13
14 val disambiguate_term :
15   context:NCic.context ->
16   metasenv:NCic.metasenv -> 
17   subst:NCic.substitution ->
18   expty:NCic.term option ->
19   mk_implicit: (bool -> 'alias) ->
20   description_of_alias:('alias -> string) ->
21   mk_choice:('alias -> NCic.term DisambiguateTypes.codomain_item) ->
22   aliases:'alias DisambiguateTypes.Environment.t ->
23   universe:'alias list DisambiguateTypes.Environment.t option ->
24   rdb:NRstatus.refiner_status ->
25   lookup_in_library:(
26     DisambiguateTypes.interactive_user_uri_choice_type ->
27     DisambiguateTypes.input_or_locate_uri_type ->
28     DisambiguateTypes.Environment.key ->
29     'alias list) ->
30   CicNotationPt.term Disambiguate.disambiguator_input ->
31   ((DisambiguateTypes.domain_item * 'alias) list *
32    NCic.metasenv *                  
33    NCic.substitution *
34    NCic.term) list * 
35   bool
36   
37 val disambiguate_obj :
38     mk_implicit:(bool -> 'a) ->
39     description_of_alias:('a -> string) ->
40     mk_choice:('a -> NCic.term DisambiguateTypes.codomain_item) ->
41     aliases:'a DisambiguateTypes.Environment.t ->
42     universe:'a list DisambiguateTypes.Environment.t option ->
43     rdb:NRstatus.refiner_status ->
44     lookup_in_library:(DisambiguateTypes.interactive_user_uri_choice_type ->
45                        DisambiguateTypes.input_or_locate_uri_type ->
46                        DisambiguateTypes.Environment.key -> 'a list) ->
47     uri:NUri.uri ->
48     string * int * CicNotationPt.term CicNotationPt.obj ->
49     ((DisambiguateTypes.Environment.key * 'a) list * NCic.metasenv *
50      NCic.substitution * NCic.obj)
51     list * bool
52
53 val disambiguate_path: CicNotationPt.term -> NCic.term
54