]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/contrib/ocamlbuild/glob_ast.mli
Inital import
[l4.git] / l4 / pkg / ocaml / contrib / ocamlbuild / glob_ast.mli
1 (***********************************************************************)
2 (*                             ocamlbuild                              *)
3 (*                                                                     *)
4 (*  Nicolas Pouillard, Berke Durak, projet Gallium, INRIA Rocquencourt *)
5 (*                                                                     *)
6 (*  Copyright 2007 Institut National de Recherche en Informatique et   *)
7 (*  en Automatique.  All rights reserved.  This file is distributed    *)
8 (*  under the terms of the Q Public License version 1.0.               *)
9 (*                                                                     *)
10 (***********************************************************************)
11
12
13 (* Original author: Berke Durak *)
14 (* Glob_ast *)
15
16 exception Parse_error of string
17 type pattern =
18 | Epsilon
19 | Star of pattern
20 | Class of character_class
21 | Concat of pattern * pattern
22 | Union of pattern list
23 | Word of string
24 and character_class = (char * char) Bool.boolean
25 type 'pattern atom = Constant of string | Pattern of 'pattern