package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-5.0.0-414.tbz
sha256=d3bfad131e9be5d518f78f551762b6d87a914a82a6bc1c27c68ec1fc6a9bfaba
sha512=d496721aba46a93df32858ecb35f4a3ec9d8511d6db0525cfaba0ebd5fd3911ec93e00a1cd2ecf5063fa38df61af544e22adc0a5170db43e76d995bfaf62a0fc
doc/melange.js_parser/Js_parser/Loc/index.html
Module Js_parser.Loc
Source
intersects loc1 loc2
returns true if loc1
intersects loc2
at all
lines_intersect loc1 loc2
returns true if loc1
and loc2
cover any part of the same line, even if they don't actually intersect.
For example, if loc1
ends and then loc2
begins later on the same line, intersects loc1 loc2
is false, but lines_intersect loc1 loc2
is true.
Produces a zero-width Loc.t, where start = end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>