package grace
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A fancy diagnostics library that allows your compilers to exit with grace
Install
dune-project
Dependency
Authors
Maintainers
Sources
grace-0.4.1.tbz
sha256=d49754224206de44855590848b3a5a6cc1d5c46cf99a4e5810ca3041d436a28e
sha512=2984b5a6284bf8bbd05419cf850c15c34bc19c19f0c8928b83cc1be1c0bfc84aafef6d992e7435c2f48ba361a6f3aab679abd02f0e6472361c8cec7d497bc405
doc/grace.source_reader/Grace_source_reader/Line/index.html
Module Grace_source_reader.LineSource
The type of a line.
of_line_index sd idx returns the line at index idx in source sd.
of_byte_index sd idx returns the line containing idx in source sd.
column_offset line ~in_ idx returns the column offset of idx in line in source in_.
start t returns the byte index of the (inclusive) start position of the line.
stop t returns the byte index of the (exclusive) stop position of the line.
split t returns the pair of byte indices of the line t.
last sd returns the last line in the source sd.
slice t ~sd reads the slice of bytes defined by the line's range.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>