aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/errormsg.sig
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-01-26 12:35:32 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-01-26 12:35:32 -0500
commit28605345c88491627b7a34cea6e50c9e5b9b8b01 (patch)
tree3ff8deb5599074bb5f67cd1ccda2ad1bb74d5b5b /src/errormsg.sig
parent9c27c9d90a3f3593de07658a14581b66d08c8b75 (diff)
Initial parsing and pretty-printing
Diffstat (limited to 'src/errormsg.sig')
-rw-r--r--src/errormsg.sig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/errormsg.sig b/src/errormsg.sig
index 0716a3df..24bc8205 100644
--- a/src/errormsg.sig
+++ b/src/errormsg.sig
@@ -36,4 +36,18 @@ signature ERROR_MSG = sig
type 'a located = 'a * span
+ val posToString : pos -> string
+ val spanToString : span -> string
+
+ val resetPositioning : string -> unit
+ val newline : int -> unit
+ val lastLineStart : unit -> int
+ val posOf : int -> pos
+ val spanOf : int * int -> span
+
+ val resetErrors : unit -> unit
+ val anyErrors : unit -> bool
+ val error : string -> unit
+ val errorAt : span -> string -> unit
+ val errorAt' : int * int -> string -> unit
end