Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / mlton / basic / mark.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9signature MARK =
10 sig
11 include ORDER
12
13 val bol: t -> t
14 val forwardChar: t -> t
15 val forwardChars: t * int -> t
16 val fromFile: File.t -> t
17 val fromString: string -> t
18 val int: t -> t * int
19 val nextLine: t -> t
20 val nextLines: t * int -> t
21 val previousLine: t -> t
22 val previousLines: t * int -> t
23 val real: t -> t * real
24 val search: t * string -> t (* right after end of string *)
25 val searchBackward: t * string -> t
26 val skipSpaces: t -> t
27 end