Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / ast / ast-programs.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 1999-2007 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 * Copyright (C) 1997-2000 NEC Research Institute.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9signature AST_PROGRAMS_STRUCTS =
10 sig
11 include AST_ATOMS_STRUCTS
12 end
13
14signature AST_PROGRAMS =
15 sig
16 include AST_MODULES
17
18 structure Program:
19 sig
20 datatype t = T of Topdec.t list list
21
22 val checkSyntax: t -> unit
23 val coalesce: t -> t
24 val empty: t
25 val size: t -> int
26 val layout: t -> Layout.t
27 end
28 end