acgtkLib.utilsLib
ErrorMg.Make
acgtkLib.acgData
acgtkLib.datalogLib
acgtkLib.logic
module E : E
type bracket =
| Round
| Square
| Curly
type lex_error =
| Unstarted_comment
| Unstarted_bracket
| Mismatch_parentheses of bracket
| Unclosed_comment
| Expect of string
| Bad_token
type synt_error = E.t
type error =
| SyntError of synt_error
| LexError of lex_error
| SysError of string
exception Error of error * location
The exception that should be raised when an error occur
val error_msg : ?filename:string -> (error * location) -> string
error_msg e ~filename returns a string describing the error e while the file filename is being processed
error_msg e ~filename
e
filename
val empty_bracket_stack : (bracket * location) list
val push_bracket : bracket -> location -> (bracket * location) list -> (bracket * location) list
val pop_bracket : bracket -> location -> (bracket * location) list -> (bracket * location) list
val check_brackets : (bracket * location) list -> unit