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.7.0-504.tbz
sha256=74ccc86a0942219d260c38452b7a4e24162543086d5dc52f8da2e2c529f7eb94
sha512=9c36ed948b7d3502bb390917483004585ae5e715152f685d92caca9eed1b33663079743fe8319ec4133bc8c096fbe374ef6a006a6cb5531fccdbe2677eabf37b

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.