package dolmen
A parser library
Install
Dune Dependency
Authors
Maintainers
Sources
dolmen-0.4.1.tar.gz
md5=55a97ff61dd8398e38570272ae7e3964
sha512=83f71037eb568d5449ff2d968cb50a0b105c9712e0bd29497d1f95683698f394860a11d4dee2a2a41163504e395ef068c3974901fca11894d671684fe438fc51
doc/dolmen.std/Dolmen_std/ParseLocation/index.html
Module Dolmen_std.ParseLocation
Source
Standard implementation of file locations.
Interface definition
An anstract module type for providing locations. Used as argumentby much of the functors provided in Dolmen. This module (ParseLocation
) implements this specification.
Concrete positions
Construction functions
Printing functions
Location that spans the two given positions. The file is assumed to be the same in both case, and is chosen from one of the two positions.
smaller p1 p2
is true if p1
is included in p2
, ie p1
is a sub-location of p2
(interval inclusion)
Lexbuf
Change the file name used for positions in this lexbuf
Returns the lexbuf associetd with the given file or stdin, with the correct filename, together with a function to close the associated file descriptor.
Recover a position from a lexbuf
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page