package embedded_ocaml_templates

  1. Overview
  2. Docs
type error_or_template =
  1. | Error of Sedlexing.lexbuf
  2. | Template of Template.t
val handle_syntax_error : Sedlexing.lexbuf -> unit
val of_lexing_buffer : Sedlexing.lexbuf -> error_or_template
val of_ustring : ?filename:string -> Uchar.t array -> error_or_template
val of_string : ?filename:string -> string -> error_or_template
val of_filename : Base.string -> error_or_template