scfg/src/types.ml
zapashcanon c0f78eddb2
fix doc
2022-01-24 11:58:38 +01:00

13 lines
315 B
OCaml

(** Module defining types used to represent a config. *)
(** A directive has a name, a list of parameters and children (a list of
directive). *)
type directive =
{ name : string
; params : string list
; children : directive list
}
(** A config is a list of directives. *)
type config = directive list