package crs

  1. Overview
  2. Docs

Module Cr_comment.HeaderSource

Sourcetype t
include Ppx_compare_lib.Equal.S with type t := t
Sourceval equal : t -> t -> bool
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval reported_by : t -> Volgo.Vcs.User_handle.t

reported_by is user in CR user....

for_ is user2 in CR user1 for user2: .... Assigning CRs to particular users is optional. This returns None if that part is left out, such as in CR user1: Comment.

Sourceval kind : t -> Kind.t
Sourceval due : t -> Due.t

This returns the syntactic due class if present CR-soon or CR-someday. If there is no due specifier, this returns Now.

Sourcemodule With_loc : sig ... end

These getters allows you to access the position of each elements of the CR header. This is meant for tools processing CRs automatically, such as CRs rewriters.

OCaml

Innovation. Community. Security.