Analysis Environment
class AnalysisEnvironment(val messageCollector: MessageCollector, val analysisPlatform: Platform) : Disposable
Content copied to clipboard
Kotlin as a service entry point
Configures environment, analyses files and provides facilities to perform code processing without emitting bytecode
$messageCollector: required by compiler infrastructure and will receive all compiler messages $body: optional and can be used to configure environment without creating local variable
Constructors
Link copied to clipboard
fun AnalysisEnvironment(messageCollector: MessageCollector, analysisPlatform: Platform)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Adds path to classpath. $path: path to add
Adds list of paths to classpath. $paths: collection of files to add
Link copied to clipboard
Adds list of paths to source roots. $list: collection of files to add
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun createResolutionFacade(environment: KotlinCoreEnvironment): Pair<DokkaResolutionFacade, DokkaResolutionFacade>
Content copied to clipboard
Link copied to clipboard
fun loadLanguageVersionSettings(languageVersionString: String?, apiVersionString: String?)
Content copied to clipboard
Link copied to clipboard
fun Collection<KotlinLibrary>.registerLibraries(): List<DokkaKlibLibraryInfo>
Content copied to clipboard