Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type error =
| Lexical_error of string
| Syntax_error of string
| Typing_error of string
| Incremental_error of string
| Unknow_Type_error of string
| Missing_parameter_error of string
| Logic_declaration_error of string
| Sort_declaration_error of string
| Datatype_declaration_error of string
| Quantifier_error of string
| Fun_declaration_error of string
| Ambiguity_error of string
| No_match_error of string
| Type_clash_error of string * string
exception Error of error * (Lexing.position * Lexing.position) option
val report_loc :
Format.formatter ->
string ->
(Lexing.position * Lexing.position) ->
unit
val print :
Format.formatter ->
string ->
error ->
(Lexing.position * Lexing.position) ->
unit
val error : error -> (Lexing.position * Lexing.position) option -> 'a
val warning :
Format.formatter ->
error ->
(Lexing.position * Lexing.position) option ->
unit