package alba
Alba compiler
Install
Dune Dependency
Authors
Maintainers
Sources
0.4.4.tar.gz
sha256=4817038301d3e45bac9edf7e6f2fc8bf0a6d78e76e02ad7ea33ef69bcc17df3b
md5=25234357587126685d64f16236167937
doc/alba.fmlib/Fmlib/Position/index.html
Module Fmlib.Position
Represents a position in a text file.
module Print (PP : Pretty_printer.SIG) : sig ... end
Print in memory source files with error markers.
val start : t
Make a position with points to the start of a textfile.
val line : t -> int
Get the line number. First line is line 0.
val column : t -> int
Get the column number. First column is column 0.
Advance the position by using the next character. If the next character is a newline, then the line number is increment and the column number is reset to 0.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>