2007-02-07 00:59:16 -08:00
|
|
|
(***********************************************************************)
|
2012-08-01 07:47:00 -07:00
|
|
|
(* *)
|
2007-02-07 00:59:16 -08:00
|
|
|
(* ocamlbuild *)
|
|
|
|
(* *)
|
|
|
|
(* Nicolas Pouillard, Berke Durak, projet Gallium, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 2007 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
2009-03-03 08:54:58 -08:00
|
|
|
|
2007-02-07 00:59:16 -08:00
|
|
|
(* Original author: Berke Durak *)
|
|
|
|
open Glob_ast
|
|
|
|
|
|
|
|
type token =
|
|
|
|
| ATOM of pattern atom
|
|
|
|
| AND
|
|
|
|
| OR
|
|
|
|
| NOT
|
|
|
|
| LPAR
|
|
|
|
| RPAR
|
|
|
|
| TRUE
|
|
|
|
| FALSE
|
|
|
|
| EOF
|
|
|
|
|
|
|
|
val token : Lexing.lexbuf -> token
|