Package-level declarations

Types

Link copied to clipboard

Syntax marker of package references accepted by include-like functions, in the form of @scope/package:version.

Link copied to clipboard
class PackageResolutionException(reference: String, detail: String, val cause: Throwable? = null) : PipelineException

Raised when a package reference cannot be turned into files.

Link copied to clipboard
interface PackageResolver

Host-provided strategy that turns a package reference, in the form of @scope/package:version, into files on the context's file system.

Link copied to clipboard
class ResolvedPackage(val root: FsEntry, val entrypoint: FsEntry)

A package made available on the context's file system by a PackageResolver.

Link copied to clipboard

Raised when a document uses a package reference but the host provides no PackageResolver.