package ocamlformat-lib
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=da006e427f15b9ec612fb808d446599bd9b7c3ee25abeb3d555747a70d74c6d7
    
    
  sha512=b7413f8dc47ba3a2372e89d59cae54f9a602ab81e31cd14ed986a831111080b79a5a3cc45dac04d8ffae5054c35bf29fe9559f145c76c87a30e191ed5400942a
    
    
  doc/ocamlformat-lib.odoc_parser/Odoc_parser/Loc/index.html
Module Odoc_parser.LocSource
Locations in files.
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.
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