-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.mli
75 lines (64 loc) · 1.8 KB
/
setup.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
module type Ordered =
sig
type t
val compare : Vparser.token -> Vparser.token -> int
end
module OrdTok :
sig
type t = Vparser.token
val compare : Vparser.token -> Vparser.token -> int
end
type tset = Set.Make(OrdTok).t
type tsigattr = Sigundef |
Sigarray of tset array |
Sigparam of Vparser.token |
Sigtask of Vparser.token |
Sigfunc of Vparser.token |
Signamed of Vparser.token
and symtab = {
symattr : tset;
width : Vparser.token;
path : string;
sigattr : tsigattr;
localsyms : shash;
}
and sentries = (string, symtab) Hashtbl.t
and symrec = { nxt : shash; syms: sentries; }
and shash = EndShash | Shash of symrec
type fmt = (out_channel*Format.formatter)
type logt = Closed | Open of fmt;;
module TokSet :
sig
type elt = OrdTok.t
type t = tset
val empty : t
val is_empty : t -> bool
val mem : elt -> t -> bool
val add : elt -> t -> t
val singleton : elt -> t
val remove : elt -> t -> t
val union : t -> t -> t
val inter : t -> t -> t
val diff : t -> t -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val subset : t -> t -> bool
val iter : (elt -> unit) -> t -> unit
val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a
val for_all : (elt -> bool) -> t -> bool
val exists : (elt -> bool) -> t -> bool
val filter : (elt -> bool) -> t -> t
val partition : (elt -> bool) -> t -> t * t
val cardinal : t -> int
val elements : t -> elt list
val min_elt : t -> elt
val max_elt : t -> elt
val choose : t -> elt
val split : elt -> t -> t * bool * t
end
val hsiz : int
val histcnt : int ref
type hist = { tok : Vparser.token; strt : int; stop : int; key : bool; }
val history : hist ref array
val psuccess : bool ref
val str_token : Vparser.token -> string