package merlin-lib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Merlin's libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
merlin-5.8.1-505.tbz
sha256=b8fb32bc0fc092af2fd6bdc831cb966057f2e3fd7b99a172b705e96ba8082583
sha512=01ca96f8167d062ba24036e43f650ff958fb157d44867bd52eb7999b7d19bf9fc97cdcd46c04b6979f0e1149d5041047723eed5913b03c4404d7acb116183bee
doc/merlin-lib.ocaml_utils/Ocaml_utils/Linkdeps/index.html
Module Ocaml_utils.LinkdepsSource
The state of the linking check. It keeps track of compilation units provided and required so far.
create ~complete returns an empty state. If complete is true, missing compilation units will be treated as errors.
Source
val add :
t ->
filename:filename ->
compunit:compunit ->
provides:compunit list ->
requires:compunit list ->
unitadd t ~filename ~compunit ~provides ~requires registers the compilation unit compunit found in filename to t.
providesare units and sub-units provided bycompunitrequiresare units required bycompunit
add should be called in reverse topological order.
required t compunit returns true if compunit is a dependency of previously added compilation units.
Source
type error = | Missing_implementations of (compunit * compunit_and_source list) list| Wrong_link_order of (compunit_and_source * compunit_and_source list) list| Multiple_definitions of (compunit * filename list) list
check t should be called once all the compilation units to be linked have been added. It returns some error if:
- There are some missing implementations and
completeistrue - Some implementation appear before their dependencies
Source
val report_error :
print_filename:string Format_doc.printer ->
error Format_doc.format_printer sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>