package ppx_expect

  1. Overview
  2. Docs

Module Ppx_expectSource

Sourceval compact_loc_of_ppxlib_location : Ppxlib.location -> Ppx_expect_runtime.Compact_loc.t
Sourceval maybe_string_payload : Base.unit -> (Ppxlib.payload, located_payload: (Ppx_expect_runtime.Payload.t * Ppx_expect_runtime.Compact_loc.t) Base.option -> 'a, 'a) Ppxlib.Ast_pattern.t

Matches an extension point payload that is either empty or a single string literal. The extracted information is the Payload.t and its Compact_loc.t representing the string literal from the payload if present, or {||} and None if not.

Sourceval is_a_ppx_expect_ext_node : Ppxlib.expression -> Base.bool
OCaml

Innovation. Community. Security.