package odoc
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=d7b9567ec9f2f99c4557999d78e268c97bcb5cab8770b5e74d694f5abd6dffae
sha512=444aedb4bbf132c45a198f73dbd282048a1e76cd4df739f530334f4c575575784e5db49392c798b997db9ae5d429a40a3618de7ffe71e5a60fbb29c67d5a7da2
doc/odoc.model/Odoc_model/Location_/index.html
Module Odoc_model.Location_Source
include module type of struct include Odoc_parser.Loc end
This module concerns locations in source files, both points indicating a specific character and spans between two points.
Basic types
A specific character
A range of characters between start and end_ in a particular file
span spans takes a list of spans and returns a single span starting at the start of the first span and ending at the end of the final span
This adjusts only the column number, implicitly assuming that the offset does not move the location across a newline character.
This adjusts only the column number, implicitly assuming that the offset does not move the location across a newline character.
Located values
Describes values located at a particular span
Constructor for with_location
Returns the location of a located value
Returns the value of a located value
Map over a located value without changing its location
same x y retuns the value y wrapped in a with_location whose location is that of x
spans_multiple_lines x checks to see whether x is located on a single line or whether it covers more than one.