Commit | Line | Data |
---|---|---|
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 | ||
9 | signature AST_CONST_STRUCTS = | |
10 | sig | |
11 | end | |
12 | ||
13 | signature AST_CONST = | |
14 | sig | |
15 | include AST_CONST_STRUCTS | |
16 | ||
17 | type t | |
18 | datatype node = | |
19 | Bool of bool | |
20 | | Char of IntInf.t | |
21 | | Int of IntInf.t | |
22 | | Real of string | |
23 | | String of IntInf.t vector | |
24 | | Word of IntInf.t | |
25 | include WRAPPED sharing type node' = node | |
26 | sharing type obj = t | |
27 | ||
28 | val layout: t -> Layout.t | |
29 | val ordToString: IntInf.t -> string | |
30 | end |