]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/ng_disambiguation/nGrafiteDisambiguator.mli
Re-added exception, just for now (debugging).
[helm.git] / helm / software / components / ng_disambiguation / nGrafiteDisambiguator.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$ *)
13
14 exception DisambiguationError of
15  int *
16  ((Stdpp.location list * string * string) list *
17   (DisambiguateTypes.domain_item * string) list *
18   (Stdpp.location * string) Lazy.t * bool) list list
19
20 val disambiguate_term :
21   context:NCic.context ->
22   metasenv:NCic.metasenv -> 
23   subst:NCic.substitution ->
24   ?goal:int ->
25   aliases:NCic.term DisambiguateTypes.environment ->
26   universe:NCic.term DisambiguateTypes.multiple_environment option ->
27   CicNotationPt.term Disambiguate.disambiguator_input ->
28   ((DisambiguateTypes.domain_item * 
29     NCic.term DisambiguateTypes.codomain_item) list *
30    NCic.metasenv *                  (* new metasenv *)
31    NCic.substitution *
32    NCic.term) list *  (* disambiguated term *)
33   bool