package ppx_expect

  1. Overview
  2. Docs
val transl_loc : Ppxlib.Location.t -> Expect_test_common.Std.File.Location.t

Translate a compile time location to a runtime location

type data = Ppxlib.Location.t * string * string option
type kind =
  1. | Normal
  2. | Exact
  3. | Unreachable
  4. | Output
val make : kind:kind -> data option -> extension_id_loc:Ppxlib.Location.t -> Expect_test_common.Std.Expectation.Raw.t
val pattern : unit -> (Ppxlib.Parsetree.payload, data option -> 'a, 'a) Ppxlib.Ast_pattern.t
OCaml

Innovation. Community. Security.