package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-5.5-503.tbz
sha256=67da3b34f2fea07678267309f61da4a2c6f08298de0dc59655b8d30fd8269af1
sha512=1fb3b5180d36aa82b82a319e15b743b802b6888f0dc67645baafdb4e18dfc23a7b90064ec9bc42f7424061cf8cde7f8839178d8a8537bf4596759f3ff4891873
doc/merlin-lib.ocaml_utils/Ocaml_utils/Linkdeps/index.html
Module Ocaml_utils.Linkdeps
Source
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 ->
unit
add t ~filename ~compunit ~provides ~requires
registers the compilation unit compunit
found in filename
to t
.
provides
are units and sub-units provided bycompunit
requires
are 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
complete
istrue
- Some implementation appear before their dependencies
Source
val report_error :
print_filename:string Merlin_utils.Format_doc.printer ->
error Merlin_utils.Format_doc.format_printer
Source
val report_error_doc :
print_filename:string Merlin_utils.Format_doc.printer ->
error Merlin_utils.Format_doc.printer
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>