Test_node.CreateFunctions for creating ts corresponding to each of the test nodes that can be parsed out of extension points in a let%expect_test.
Each of these creators accepts the location of the entire AST node associated with the e.g. [%expect] test.
type expect_creator :=
formatting_flexibility:
Ppx_expect_runtime_types.Expect_node_formatting.Flexibility.t ->
node_loc:Ppx_expect_runtime_types.Compact_loc.t ->
located_payload:
(Ppx_expect_runtime_types.Payload.t
* Ppx_expect_runtime_types.Compact_loc.t)
Base.option ->
Test_node.tval expect : expect_creator[%expect _]
val expect_exact : expect_creator[%expect_exact _]
val expect_if_reached : expect_creator[%expect.if_reached _]
val expectation : expect_creator[%expectation _]
val expect_unreachable :
node_loc:Ppx_expect_runtime_types.Compact_loc.t ->
Test_node.t[%expect.unreachable]
val expectation_never_committed :
node_loc:Ppx_expect_runtime_types.Compact_loc.t ->
Test_node.t[%expectation.never_committed]