Scfg.Query
Module providing functions to search inside a config.
val get_dirs : string -> Types.directive list -> Types.directive list
Returns a list of directives with the provided name from a list of directives.
val get_dir : string -> Types.directive list -> Types.directive option
Returns the first directive with the provided name from a list of directive.
val get_params : int -> Types.directive -> (string list, string) Stdlib.result
Extract a given number of parameters from a directive.
val get_param : int -> Types.directive -> (string, string) Stdlib.result
Extract a parameter at a given index from a directive.