Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / atoms / source-info.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 2003-2007 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 SOURCE_INFO_STRUCTS =
10 sig
11 end
12
13signature SOURCE_INFO =
14 sig
15 include SOURCE_INFO_STRUCTS
16
17 type t
18
19 val all: unit -> t list
20 val equals: t * t -> bool
21 val file: t -> File.t option
22 val gc: t
23 val gcArrayAllocate: t
24 val hash: t -> word
25 val fromC: string -> t
26 val function: {name: string list,
27 region: Region.t} -> t
28 val isC: t -> bool
29 val layout: t -> Layout.t
30 val main: t
31 val plist: t -> PropertyList.t
32 val polyEqual: t
33 val polyHash: t
34 val toString: t -> string
35 val toString': t * string -> string
36 val unknown: t
37 end