Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class ArgParseResult(val variable: Variable, val end: Int)
Link copied to clipboard
class Brackets(val open: Char, val close: Char)
Link copied to clipboard
abstract class ChainedLibraryResolver(parent: LibraryResolver? = null) : LibraryResolver
Link copied to clipboard
class DefaultInfoLibraryResolver(parent: LibraryResolver, infoProvider: ResolutionInfoProvider, libraryDescriptorsManager: LibraryDescriptorsManager, paths: List<File> = emptyList()) : LibraryResolver
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class LibrariesProcessorImpl(libraryResolver: LibraryResolver?, libraryReferenceParser: LibraryReferenceParser, kernelVersion: KotlinKernelVersion?) : LibrariesProcessor
Link copied to clipboard
Link copied to clipboard
@Serializable
data class LibraryDescriptor(val dependencies: List<String> = emptyList(), val variables: DescriptorVariables = DescriptorVariables(), val initCell: List<CodeExecution> = emptyList(), val imports: List<String> = emptyList(), val repositories: List<KernelRepository> = emptyList(), val init: List<CodeExecution> = emptyList(), val shutdown: List<CodeExecution> = emptyList(), val renderers: List<ExactRendererTypeHandler> = emptyList(), val resources: List<LibraryResource> = emptyList(), val link: String? = null, val description: String? = null, val minKernelVersion: KotlinKernelVersion? = null, val formatVersion: LibraryDescriptorFormatVersion? = null, val integrationTypeNameRules: List<PatternNameAcceptanceRule> = emptyList())
Link copied to clipboard
Link copied to clipboard
@Serializable
class LibraryDescriptorGlobalOptionsImpl(ignoredPropertyPatterns: List<String>?) : LibraryDescriptorGlobalOptions
Link copied to clipboard
Link copied to clipboard
class LibraryHttpUtil(val httpClient: HttpClient, val libraryDescriptorsManager: LibraryDescriptorsManager, val libraryInfoCache: LibraryInfoCache, val libraryReferenceParser: LibraryReferenceParser)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class LibraryResolutionInfoParser(val name: String, parameters: List<Parameter>)
Link copied to clipboard
interface LibraryResolver

Interface for resolving libraries based on a given reference and arguments.

Link copied to clipboard
Link copied to clipboard
class LocalLibraryResolver(parent: LibraryResolver?, loggerFactory: KernelLoggerFactory, libraryDescriptorsManager: LibraryDescriptorsManager, mainLibrariesDir: File?) : ChainedLibraryResolver
Link copied to clipboard
sealed class Parameter
Link copied to clipboard

If the type of resolution info is specified, i.e. lib@url[https://xyz.com/lib.json] then the corresponding LibraryResolutionInfo is created. ResolutionInfoProvider isn't used in this case.

Link copied to clipboard
class ResolutionInfoSwitcher<T>(infoProvider: ResolutionInfoProvider, initialSwitchVal: T, switcher: (T) -> LibraryResolutionInfo)
Link copied to clipboard
open class ResourcesLibraryResolver(parent: LibraryResolver?, libraryDescriptorsManager: LibraryDescriptorsManager, classLoader: ClassLoader) : ChainedLibraryResolver

Properties

Link copied to clipboard

3.1: Initial version 3.2: Changed to in libraries properties. Technically it's a breaking change, but impact is close to zero, so only minor version was increased.

Functions

Link copied to clipboard
fun createLibraryHttpUtil(loggerFactory: KernelLoggerFactory, httpClient: HttpClient = SimpleHttpClient): LibraryHttpUtil
Link copied to clipboard
fun diagFailure(message: String): ResultWithDiagnostics.Failure
Link copied to clipboard
Link copied to clipboard
fun getStandardResolver(loggerFactory: KernelLoggerFactory, homeDir: String? = null, infoProvider: ResolutionInfoProvider, httpClient: HttpClient, libraryDescriptorsManager: LibraryDescriptorsManager): LibraryResolver
Link copied to clipboard
Link copied to clipboard
fun parseCall(str: String, brackets: Brackets): Pair<String, List<Variable>>
Link copied to clipboard
fun parseLibraryArguments(argumentsString: String, brackets: Brackets, start: Int = 0): Sequence<ArgParseResult>
Link copied to clipboard
Link copied to clipboard