Module Unit_info.Artifact
Build artifacts
Metadata for a single compilation artifact:
- the module name associated to the artifact
- the filesystem path
- the input source file if it exists
val source_file :
Ocaml_parsing.Unit_info.Artifact.t ->
Ocaml_parsing.Unit_info.filename optionsource_file a is the source file of a if it exists.
prefix a is the filename prefix of the compilation artifact.
val filename :
Ocaml_parsing.Unit_info.Artifact.t ->
Ocaml_parsing.Unit_info.filenamefilename u is the filesystem path for a compilation artifact.
val modname :
Ocaml_parsing.Unit_info.Artifact.t ->
Ocaml_parsing.Unit_info.modnamemodname a is the module name of the compilation artifact.
val from_filename :
Ocaml_parsing.Unit_info.filename ->
Ocaml_parsing.Unit_info.Artifact.tfrom_filename filename reconstructs the module name lax_modname_from_source filename associated to the artifact filename.