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.0.tbz
sha256=388149857c0fbaf2489b1e396af25aadd6185998847b75570f9198a077ad1ace
sha512=9ffa701f7729f90976594c4ec77b968f15450d8d7a1f0c65fe60d092c136b18f1c8bbd5f5772a651c925dabcdc82ac7023c30a4caa1b94e3e158ef2efa34b85e
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)"
>