Module aya.cli.impl

Interface LibraryOwner

All Known Subinterfaces:
MutableLibraryOwner
All Known Implementing Classes:
DiskLibraryOwner

public interface LibraryOwner
Common interfaces for library, for supporting both library in file system and library in memory.
See Also:
API Note:
DO NOT USE this class as Map key, use underlyingLibrary() instead.
  • Field Details

  • Method Details

    • modulePath

      @NotNull @NotNull kala.collection.SeqView<Path> modulePath()
      Returns:
      Source dirs of this module, out dirs of all dependencies.
    • librarySources

      @NotNull @NotNull kala.collection.SeqView<LibrarySource> librarySources()
    • libraryDeps

      @NotNull @NotNull kala.collection.SeqView<LibraryOwner> libraryDeps()
    • locator

      @NotNull @NotNull org.aya.util.error.SourceFileLocator locator()
    • underlyingLibrary

      @NotNull @NotNull LibraryConfig underlyingLibrary()
    • addModulePath

      void addModulePath(@NotNull @NotNull Path newPath)
    • outDir

      @NotNull default @NotNull Path outDir()
      Returns:
      Out dir of this module.
    • findModule

      @Nullable default @Nullable LibrarySource findModule(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<String> mod)