package opam-format

  1. Overview
  2. Docs

OPAM format variable interpolation processor

val main : (string -> unit) -> (string -> unit) -> Lexing.lexbuf -> unit

main unquoted quoted lexbuf fully processes the given lexbuf. Strings are applied to unquoted until a " or """ sequence is encountered when the content within the single or triple-quoted string is applied to quoted (note that the quote marks themselves are passed to unquoted). Within either string type, backslash is the escape character.