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.6-504.tbz
sha256=82d648a4180d6d5aa3a083218e28bf197f4e9f147884de9302bb6811ad98b77f
sha512=e21c96db754a289462677e6985181902ddd90bab9e9cebbbb739d92d94b5aee7ef7a134da70ae384291d9bfaccfecd26d37b48f8d75c5d36b9eda18f6e5afd3d

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.