/[svn]/types/sequence.mli
ViewVC logotype

Contents of /types/sequence.mli

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1630 - (show annotations)
Tue Jul 10 19:09:40 2007 UTC (5 years, 10 months ago) by abate
File size: 1353 byte(s)
[r2005-04-18 15:56:16 by afrisch] Empty log message

Original author: afrisch
Date: 2005-04-18 15:56:16+00:00
1 val nil_type: Types.t
2 val nil_node: Types.Node.t
3 val nil_atom: Atoms.V.t
4 val nil_cst: Types.Const.t
5 val any: Types.t
6 val seqseq: Types.t
7 val string: Types.t
8 val string_latin1: Types.t
9 val char_latin1: Types.t
10 val any_xtransformable: Types.t
11
12 val concat: Types.t -> Types.t -> Types.t
13 val flatten: Types.t -> Types.t
14 val map: (Types.t -> Types.t) -> Types.t -> Types.t
15
16
17 val map_tree:
18 (Types.t -> Types.t * Types.t) -> Types.t -> Types.t
19 (* input type -> (result, residual) *) (* sequence type *)
20
21 val map_mono: Types.t -> Types.t list * (Types.t list -> Types.t)
22 val map_tree_mono: Types.t -> Types.t -> Types.t * Types.t list * (Types.t list -> Types.t)
23
24 val star: Types.t -> Types.t
25 (* For a type t, returns [t*] *)
26 val plus: Types.t -> Types.t
27 val option: Types.Node.t -> Types.t
28 (* returns [t?] *)
29
30 val repet: int -> int option -> Types.t -> Types.t
31 (* min, max *)
32
33 val approx: Types.t -> Types.t
34 (* For a type t <= [Any*], returns the least type s such that:
35 t <= [s*]
36
37 In general, for an arbitrary type, returns the least type s such that:
38 t <= (X where X = (s, X) | Any \ (Any,Any))
39 *)
40
41 (* Added this interface needed in cdo2cmo -- Julien *)
42 val star_node : Types.Node.t -> Types.Node.t
43
44 (** given a list of descrs create the sequence type from them *)
45 val seq_of_list: Types.t list -> Types.t
46

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5