module Benl_types:sig
..end
Ben-specific basic datatypes.
typefield =
string
A field name
typeregexp =
string * Re.Pcre.regexp
A pair of a PCRE regexp and its string representation (as parsed from configuration, used for pretty-printing).
type
comparison =
| |
Le |
| |
Lt |
| |
Eq |
| |
Gt |
| |
Ge |
type
expr =
| |
Etrue |
|||
| |
Efalse |
|||
| |
EMatch of |
|||
| |
ENot of |
|||
| |
EAnd of |
|||
| |
EOr of |
|||
| |
ESource |
|||
| |
EList of |
|||
| |
EString of |
|||
| |
ERegexp of |
|||
| |
EVersion of |
|||
| |
EDep of |
(* | The abstract syntax tree of configuration items. | *) |
typeconfig =
expr Benl_core.StringMap.t
The type of parsed configuration files. Configuration files are
key-value pairs, where values have type expr
.
type
source =
| |
File of |
| |
Stdin |
| |
NoSource |