Dunolint.Rule
type ('predicate, 'invariant) t = [
| `enforce of 'invariant
| `return
return
stops the evaluation of the rule without trying to enforce any invariant.
| `skip_subtree
This causes the linter to finish the linting of the current rule, however any remaining rule will be skipped, and the entire subtree will not be linted.
*)| `cond of ('predicate Blang.t * ('predicate, 'invariant) t) Base.list
]
val sexp_of_t :
('predicate -> Sexplib0.Sexp.t) ->
('invariant -> Sexplib0.Sexp.t) ->
('predicate, 'invariant) t ->
Sexplib0.Sexp.t
val t_of_sexp :
(Sexplib0.Sexp.t -> 'predicate) ->
(Sexplib0.Sexp.t -> 'invariant) ->
Sexplib0.Sexp.t ->
('predicate, 'invariant) t
val __t_of_sexp__ :
(Sexplib0.Sexp.t -> 'predicate) ->
(Sexplib0.Sexp.t -> 'invariant) ->
Sexplib0.Sexp.t ->
('predicate, 'invariant) t