package merlin-lib

  1. Overview
  2. Docs
On This Page
  1. Build artifacts
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.8-505.tbz
sha256=5642cde8486a84aad98fa5c590b70e8dcc6074d7fbdb3b9b8c46b2c5b42f653b
sha512=1d7a7751157e393d3ae248ef5ae24a6b4e81430666c61cc51a3d0ec35804523317036f3d7a3c7f18a7554337f4e5f5989fb677865b261ece3fd2b317903570ba

doc/merlin-lib.ocaml_parsing/Ocaml_parsing/Unit_info/Artifact/index.html

Module Unit_info.ArtifactSource

Build artifacts

Sourcetype t

Metadata for a single compilation artifact:

  • the module name associated to the artifact
  • the filesystem path
  • the input source file if it exists
Sourceval source_file : t -> filename option

source_file a is the source file of a if it exists.

Sourceval prefix : t -> file_prefix

prefix a is the filename prefix of the compilation artifact.

Sourceval filename : t -> filename

filename u is the filesystem path for a compilation artifact.

Sourceval modname : t -> modname

modname a is the module name of the compilation artifact.

Sourceval from_filename : filename -> t

from_filename filename reconstructs the module name lax_modname_from_source filename associated to the artifact filename.