Module Ppx_expectSource
Source
val compact_loc_of_ppxlib_location :
Ppxlib.location ->
Ppx_expect_runtime_types.Compact_loc.tSource
val maybe_string_payload :
Base.unit ->
(Ppxlib.payload,
located_payload:
(Ppx_expect_runtime_types.Payload.t
* Ppx_expect_runtime_types.Compact_loc.t)
Base.option ->
'a,
'a)
Ppxlib.Ast_pattern.tMatches 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.