package crs

  1. Overview
  2. Docs
On This Page
  1. Getters
A tool for managing inline review comments embedded in source code

Install

dune-project
 Dependency

Authors

Maintainers

Sources

crs-0.0.20260307.tbz
sha256=77f77c61e908a6716fa876f5648f662ffaf7e24be4a7889fd6b53121592311bb
sha512=5fc6252650571c4127ebb1e61fecf78c5d4ce35e2832dff47125cda1448e07ea6d4da5e3a9a28643e3491d3594b0ee8857214241f98bd0296ada2c35ea8daa4b

doc/crs.crs-parser/Crs_parser/Private/Std/Invalid_cr_parser/Invalid_cr/index.html

Module Invalid_cr_parser.Invalid_crSource

Sourcetype t

A type to hold information extracted from an invalid CR. If the CR is "so" invalid that we don't even want to consider it as such, such t is never built (and the "not-a-CR" should simply be ignored then).

Getters

Note that because we are more permissive in what invalid headers are allowed to parse, most getters return untyped values (string). Not being able to validate a particular username for example (due to it containing an invalid character or something) could be a reason why the CR is invalid.

Sourceval qualifier : t -> string Loc.Txt.t option
Sourceval reporter : t -> string Loc.Txt.t option
Sourceval for_or_to : t -> string Loc.Txt.t option
Sourceval recipient : t -> string Loc.Txt.t option
Sourceval contents : t -> string Loc.Txt.t