Module Bcfg_validateSource

Sourceval error_msgf : ('a, Format.formatter, unit, ('b, [> `Msg of string ]) result) format4 -> 'a
Sourceval rchop : len:int -> string -> string
Sourceval rchop_if_lf : string -> string
Sourceval escape : string -> string
Sourceval read_all : in_channel -> string
Sourceval read_input : string option -> string
Sourceval has_newline : string -> bool
Sourceval max_line_number : (int * 'a) list -> int
Sourcetype cfg = {
  1. length_of_line_numbers : int;
}
Sourceval cfg : (int * 'a) list -> cfg
Sourceval pp_line_number : cfg:cfg -> Format.formatter -> int -> unit
Sourceval pp_error : Format.formatter -> string -> unit
Sourceval pp_newline : Format.formatter -> bool -> unit
Sourceval pp_line_with_ansi : cfg:cfg -> Format.formatter -> (int * Bcfg.Txtloc.line) -> unit
Sourceval pp_symbol : 'a. 'a Bcfg.Error.symbol -> 'a Fmt.t
Sourceval pp_error_message : Format.formatter -> (int * Bcfg.Error.t) -> unit
Sourceval pp_error_with_source : content:string -> Format.formatter -> [< `Lexer_error of Bcfg.Txtloc.t * [< `Invalid_character of char | `Message of string ] | `Parser_error of Bcfg.Txtloc.t * (int * Bcfg.Error.t) option | `Rejected ] -> unit
Sourceval run : bool -> string option -> (int, 'a) result
Sourceval input : string option Cmdliner.Term.t
Sourceval term : int Cmdliner.Term.t
Sourceval cmd : int Cmdliner.Cmd.t