dune/src/meta.ml

21 lines
271 B
OCaml
Raw Normal View History

2016-11-12 11:48:24 +00:00
(** META file representation *)
type t =
{ name : string
; sub : t list
; defs : def list
}
and kind = Set | Add
and def =
{ kind : kind
; var : string
; predicates : predicate list
}
and predicate =
| Pos of string
| Neg of string