diff options
Diffstat (limited to 'ocaml-binary-annot/ocamlbuild/lexers.mli')
| -rw-r--r-- | ocaml-binary-annot/ocamlbuild/lexers.mli | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ocaml-binary-annot/ocamlbuild/lexers.mli b/ocaml-binary-annot/ocamlbuild/lexers.mli new file mode 100644 index 0000000000..2f37edca64 --- /dev/null +++ b/ocaml-binary-annot/ocamlbuild/lexers.mli @@ -0,0 +1,45 @@ +(***********************************************************************) +(* 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. *) +(* *) +(***********************************************************************) + + +(* Original author: Nicolas Pouillard *) +exception Error of string + +type conf_values = + { plus_tags : string list; + minus_tags : string list } + +type conf = (Glob.globber * conf_values) list + +val ocamldep_output : Lexing.lexbuf -> (string * string list) list +val space_sep_strings : Lexing.lexbuf -> string list +val blank_sep_strings : Lexing.lexbuf -> string list +val comma_sep_strings : Lexing.lexbuf -> string list +val comma_or_blank_sep_strings : Lexing.lexbuf -> string list +val trim_blanks : Lexing.lexbuf -> string + +(* Parse an environment path (i.e. $PATH). + This is a colon separated string. + Note: successive colons means an empty string. + Example: + ":aaa:bbb:::ccc:" -> [""; "aaa"; "bbb"; ""; ""; "ccc"; ""] *) +val parse_environment_path : Lexing.lexbuf -> string list + +val conf_lines : string option -> int -> string -> Lexing.lexbuf -> conf +val path_scheme : bool -> Lexing.lexbuf -> + [ `Word of string + | `Var of (string * Glob.globber) + ] list + +val ocamlfind_query : Lexing.lexbuf -> + string * string * string * string * string * string + +val tag_gen : Lexing.lexbuf -> string * string option |
