package crs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=e9f9f5ec5aea9658ed640aaa06f887985bb6870adcf7555ebf6d48bb741e4793
sha512=901ac1caae6c4103a320b4a3a177ca3aa0583ad533c54e7740aba6652ccdbd6311d07ab4b73e3ba750beed24f85479b5e1b0e94504ecfd0c59bd49cdabebc369
doc/crs.cr-comment/Cr_comment/Header/With_loc/index.html
Module Header.With_loc
Source
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.
The location includes the entire reporter username, without the surrounding spaces.
The location includes the entire recipient username, if it is present, without the surrounding spaces. In particular, the location does not include the "for"
keyword itself.
The location includes the entire keyword "CR"
or "XCR"
depending on the case. It stops right before the following char, that being a space or a '-'
(and thus does not include it).
When the CR is qualified as Soon
or Someday
, the location returned starts right after the dash separator (but does not include it), and contains the entire qualifier keyword. For example, the location will include "soon"
for a CR-soon
. When the CR has no qualifier, there is no keyword to attach a location to : conventionally, we return instead the location of the CR status
in this case.
Deprecated
The following is deprecated and will be soon annotated as such with ocaml alerts. Please migrate, and do not use in new code.
This was renamed reporter
. Hint: Run ocamlmig migrate
.
This was renamed recipient
. Hint: Run ocamlmig migrate
.
This was renamed qualifier
. Hint: Run ocamlmig migrate
.