From 64e600b126ae8edcfbb3c2716febb01d221520b5 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Tue, 14 Apr 2020 14:14:31 +0200 Subject: Fix path clash with top-level declarations, catch link resolving exception, remove default values while merging, merge expect by targets --- .../documentables/DefaultDocumentableMerger.kt | 3 +- .../ModuleAndPackageDocumentationTransformer.kt | 17 +++-- .../DefaultDescriptorToDocumentableTranslator.kt | 4 +- plugins/base/src/test/kotlin/model/PackagesTest.kt | 4 +- .../annotatedFunction/out/html/navigation.html | 6 +- .../out/html/root//f.html | 29 ++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../expect/annotatedFunction/out/html/root/f.html | 29 -------- .../annotatedFunction/out/html/root/index.html | 23 +++---- .../annotatedFunction/out/html/scripts/main.js | 59 +++++++++++++++++ .../annotatedFunction/out/html/scripts/main.js.map | 1 + .../annotatedFunction/out/html/scripts/pages.js | 4 +- .../out/html/navigation.html | 10 +-- .../out/html/root/-fancy/-init-.html | 29 -------- .../out/html/root/-fancy/equals.html | 29 -------- .../out/html/root/-fancy/hash-code.html | 29 -------- .../out/html/root/-fancy/index.html | 77 ---------------------- .../out/html/root/-fancy/to-string.html | 29 -------- .../out/html/root//-fancy/-init-.html | 29 ++++++++ .../out/html/root//-fancy/equals.html | 29 ++++++++ .../out/html/root//-fancy/hash-code.html | 29 ++++++++ .../out/html/root//-fancy/index.html | 77 ++++++++++++++++++++++ .../out/html/root//-fancy/to-string.html | 29 ++++++++ .../out/html/root//f.html | 29 ++++++++ .../out/html/root//index.html | 59 +++++++++++++++++ .../out/html/root/f.html | 29 -------- .../out/html/root/index.html | 38 +++-------- .../out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../out/html/scripts/pages.js | 14 ++-- .../expect/function/out/html/navigation.html | 6 +- .../function/out/html/root//fn.html | 30 +++++++++ .../function/out/html/root//index.html | 44 +++++++++++++ .../expect/function/out/html/root/fn.html | 30 --------- .../expect/function/out/html/root/index.html | 23 +++---- .../expect/function/out/html/scripts/main.js | 59 +++++++++++++++++ .../expect/function/out/html/scripts/main.js.map | 1 + .../expect/function/out/html/scripts/pages.js | 4 +- .../out/html/navigation.html | 10 +-- .../out/html/root/-fancy/-init-.html | 29 -------- .../out/html/root/-fancy/equals.html | 29 -------- .../out/html/root/-fancy/hash-code.html | 29 -------- .../out/html/root/-fancy/index.html | 62 ----------------- .../out/html/root/-fancy/to-string.html | 29 -------- .../out/html/root//-fancy/-init-.html | 29 ++++++++ .../out/html/root//-fancy/equals.html | 29 ++++++++ .../out/html/root//-fancy/hash-code.html | 29 ++++++++ .../out/html/root//-fancy/index.html | 62 +++++++++++++++++ .../out/html/root//-fancy/to-string.html | 29 ++++++++ .../out/html/root//function.html | 29 ++++++++ .../out/html/root//index.html | 59 +++++++++++++++++ .../out/html/root/function.html | 29 -------- .../out/html/root/index.html | 38 +++-------- .../out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../out/html/scripts/pages.js | 14 ++-- .../out/html/navigation.html | 6 +- .../out/html/root//f.html | 29 ++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../out/html/root/f.html | 29 -------- .../out/html/root/index.html | 23 +++---- .../out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../out/html/scripts/pages.js | 4 +- .../out/html/navigation.html | 6 +- .../out/html/root//function.html | 29 ++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../out/html/root/function.html | 29 -------- .../out/html/root/index.html | 23 +++---- .../out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../out/html/scripts/pages.js | 4 +- .../out/html/navigation.html | 6 +- .../out/html/root//f.html | 29 ++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../out/html/root/f.html | 29 -------- .../out/html/root/index.html | 23 +++---- .../out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../out/html/scripts/pages.js | 4 +- .../functionWithParams/out/html/navigation.html | 6 +- .../out/html/root//function.html | 30 +++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../functionWithParams/out/html/root/function.html | 30 --------- .../functionWithParams/out/html/root/index.html | 23 +++---- .../functionWithParams/out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../functionWithParams/out/html/scripts/pages.js | 4 +- .../functionWithReceiver/out/html/navigation.html | 6 +- .../out/html/root//fn.html | 34 ++++++++++ .../out/html/root//index.html | 53 +++++++++++++++ .../functionWithReceiver/out/html/root/fn.html | 34 ---------- .../functionWithReceiver/out/html/root/index.html | 32 +++------ .../functionWithReceiver/out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../functionWithReceiver/out/html/scripts/pages.js | 4 +- .../genericFunction/out/html/navigation.html | 6 +- .../out/html/root//generic.html | 30 +++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../genericFunction/out/html/root/generic.html | 30 --------- .../genericFunction/out/html/root/index.html | 23 +++---- .../genericFunction/out/html/scripts/main.js | 59 +++++++++++++++++ .../genericFunction/out/html/scripts/main.js.map | 1 + .../genericFunction/out/html/scripts/pages.js | 4 +- .../out/html/navigation.html | 6 +- .../out/html/root//generic.html | 30 +++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../out/html/root/generic.html | 30 --------- .../out/html/root/index.html | 23 +++---- .../out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../out/html/scripts/pages.js | 4 +- .../expect/inlineFunction/out/html/navigation.html | 6 +- .../inlineFunction/out/html/root//f.html | 29 ++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../expect/inlineFunction/out/html/root/f.html | 29 -------- .../expect/inlineFunction/out/html/root/index.html | 23 +++---- .../expect/inlineFunction/out/html/scripts/main.js | 59 +++++++++++++++++ .../inlineFunction/out/html/scripts/main.js.map | 1 + .../inlineFunction/out/html/scripts/pages.js | 4 +- .../inlineSuspendFunction/out/html/navigation.html | 6 +- .../out/html/root//f.html | 29 ++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../inlineSuspendFunction/out/html/root/f.html | 29 -------- .../inlineSuspendFunction/out/html/root/index.html | 23 +++---- .../inlineSuspendFunction/out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../out/html/scripts/pages.js | 4 +- .../expect/signatureTest/out/html/scripts/main.js | 59 +++++++++++++++++ .../signatureTest/out/html/scripts/main.js.map | 1 + .../expect/sinceKotlin/out/html/navigation.html | 6 +- .../html/root//available-since1.1.html | 30 +++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../out/html/root/available-since1.1.html | 30 --------- .../expect/sinceKotlin/out/html/root/index.html | 23 +++---- .../expect/sinceKotlin/out/html/scripts/main.js | 59 +++++++++++++++++ .../sinceKotlin/out/html/scripts/main.js.map | 1 + .../expect/sinceKotlin/out/html/scripts/pages.js | 4 +- .../suspendFunction/out/html/navigation.html | 6 +- .../out/html/root//f.html | 29 ++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../expect/suspendFunction/out/html/root/f.html | 29 -------- .../suspendFunction/out/html/root/index.html | 23 +++---- .../suspendFunction/out/html/scripts/main.js | 59 +++++++++++++++++ .../suspendFunction/out/html/scripts/main.js.map | 1 + .../suspendFunction/out/html/scripts/pages.js | 4 +- .../suspendInlineFunction/out/html/navigation.html | 6 +- .../out/html/root//f.html | 29 ++++++++ .../out/html/root//index.html | 44 +++++++++++++ .../suspendInlineFunction/out/html/root/f.html | 29 -------- .../suspendInlineFunction/out/html/root/index.html | 23 +++---- .../suspendInlineFunction/out/html/scripts/main.js | 59 +++++++++++++++++ .../out/html/scripts/main.js.map | 1 + .../out/html/scripts/pages.js | 4 +- 154 files changed, 2880 insertions(+), 1196 deletions(-) create mode 100644 plugins/base/src/test/resources/expect/annotatedFunction/out/html/root//f.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunction/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/f.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunction/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/annotatedFunction/out/html/scripts/main.js.map delete mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html delete mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html delete mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html delete mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html delete mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/-init-.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/equals.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/hash-code.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/index.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/to-string.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//f.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html create mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/function/out/html/root//fn.html create mode 100644 plugins/base/src/test/resources/expect/function/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/function/out/html/root/fn.html create mode 100644 plugins/base/src/test/resources/expect/function/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/function/out/html/scripts/main.js.map delete mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html create mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/-init-.html create mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/equals.html create mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/hash-code.html create mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/index.html create mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/to-string.html create mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//function.html create mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html create mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root//f.html create mode 100644 plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/f.html create mode 100644 plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root//function.html create mode 100644 plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/function.html create mode 100644 plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root//f.html create mode 100644 plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/f.html create mode 100644 plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/functionWithParams/out/html/root//function.html create mode 100644 plugins/base/src/test/resources/expect/functionWithParams/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithParams/out/html/root/function.html create mode 100644 plugins/base/src/test/resources/expect/functionWithParams/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/functionWithParams/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root//fn.html create mode 100644 plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/fn.html create mode 100644 plugins/base/src/test/resources/expect/functionWithReceiver/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/functionWithReceiver/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/genericFunction/out/html/root//generic.html create mode 100644 plugins/base/src/test/resources/expect/genericFunction/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/genericFunction/out/html/root/generic.html create mode 100644 plugins/base/src/test/resources/expect/genericFunction/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/genericFunction/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root//generic.html create mode 100644 plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/generic.html create mode 100644 plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/inlineFunction/out/html/root//f.html create mode 100644 plugins/base/src/test/resources/expect/inlineFunction/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/inlineFunction/out/html/root/f.html create mode 100644 plugins/base/src/test/resources/expect/inlineFunction/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/inlineFunction/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root//f.html create mode 100644 plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/f.html create mode 100644 plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/signatureTest/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/signatureTest/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/sinceKotlin/out/html/root//available-since1.1.html create mode 100644 plugins/base/src/test/resources/expect/sinceKotlin/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/available-since1.1.html create mode 100644 plugins/base/src/test/resources/expect/sinceKotlin/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/sinceKotlin/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/suspendFunction/out/html/root//f.html create mode 100644 plugins/base/src/test/resources/expect/suspendFunction/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/suspendFunction/out/html/root/f.html create mode 100644 plugins/base/src/test/resources/expect/suspendFunction/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/suspendFunction/out/html/scripts/main.js.map create mode 100644 plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root//f.html create mode 100644 plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root//index.html delete mode 100644 plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/f.html create mode 100644 plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/scripts/main.js.map (limited to 'plugins') diff --git a/plugins/base/src/main/kotlin/transformers/documentables/DefaultDocumentableMerger.kt b/plugins/base/src/main/kotlin/transformers/documentables/DefaultDocumentableMerger.kt index 23a67804..4daa4a50 100644 --- a/plugins/base/src/main/kotlin/transformers/documentables/DefaultDocumentableMerger.kt +++ b/plugins/base/src/main/kotlin/transformers/documentables/DefaultDocumentableMerger.kt @@ -60,7 +60,8 @@ private fun mergeExpectActual( ): List where T : Documentable, T : WithExpectActual { fun findExpect(actual: T, expects: List): Expect = - expects.find { it.platformData.containsAll(actual.platformData) }.let { Expect.from(it) } + expects.find { it.platformData.flatMap { it.targets }.containsAll(actual.platformData.flatMap { it.targets }) } + .let { Expect.from(it) } fun reduceExpectActual(entry: Map.Entry, List>): List = when (val expect = entry.key) { Expect.NotFound -> entry.value diff --git a/plugins/base/src/main/kotlin/transformers/documentables/ModuleAndPackageDocumentationTransformer.kt b/plugins/base/src/main/kotlin/transformers/documentables/ModuleAndPackageDocumentationTransformer.kt index 50246e5a..a5d6540e 100644 --- a/plugins/base/src/main/kotlin/transformers/documentables/ModuleAndPackageDocumentationTransformer.kt +++ b/plugins/base/src/main/kotlin/transformers/documentables/ModuleAndPackageDocumentationTransformer.kt @@ -52,12 +52,17 @@ internal object ModuleAndPackageDocumentationTransformer : PreMergeDocumentableT val doc = modulesAndPackagesDocumentation[Pair(module.name, pd)] val facade = context.platforms[pd]?.facade ?: return@mapNotNull null.also { context.logger.warn("Could not find platform data for ${pd.name}") } - doc?.get("Module")?.get(module.name)?.run { - pd to MarkdownParser( - facade, - facade.moduleDescriptor, - context.logger - ).parse(this) + try { + doc?.get("Module")?.get(module.name)?.run { + pd to MarkdownParser( + facade, + facade.moduleDescriptor, + context.logger + ).parse(this) + } + } catch (e: IllegalArgumentException) { + context.logger.error(e.message.orEmpty()) + null } }.toMap() diff --git a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt index 0e24fc08..c2f190c2 100644 --- a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt +++ b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt @@ -72,7 +72,9 @@ private class DokkaDescriptorVisitor( descriptor: PackageFragmentDescriptor, parent: DRIWithPlatformInfo ): DPackage { - val driWithPlatform = DRI(packageName = descriptor.fqName.asString()).withEmptyInfo() + val name = descriptor.fqName.asString().takeUnless { it.isBlank() } ?: + "<" + platformData.targets.joinToString(",") + " root>"// TODO: error-prone, find a better way to do it + val driWithPlatform = DRI(packageName = name).withEmptyInfo() val scope = descriptor.getMemberScope() return DPackage( diff --git a/plugins/base/src/test/kotlin/model/PackagesTest.kt b/plugins/base/src/test/kotlin/model/PackagesTest.kt index 8885dae0..ec8921d6 100644 --- a/plugins/base/src/test/kotlin/model/PackagesTest.kt +++ b/plugins/base/src/test/kotlin/model/PackagesTest.kt @@ -14,8 +14,8 @@ class PackagesTest : AbstractModelTest("/src/main/kotlin/packages/Test.kt", "pac """.trimIndent(), prependPackage = false ) { - with((this / "").cast()) { - name equals "" + with((this / "").cast()) { + name equals "" children counts 0 } } diff --git a/plugins/base/src/test/resources/expect/annotatedFunction/out/html/navigation.html b/plugins/base/src/test/resources/expect/annotatedFunction/out/html/navigation.html index a6a421f1..463b028f 100644 --- a/plugins/base/src/test/resources/expect/annotatedFunction/out/html/navigation.html +++ b/plugins/base/src/test/resources/expect/annotatedFunction/out/html/navigation.html @@ -1,9 +1,9 @@ - - - diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html deleted file mode 100644 index 0a116d39..00000000 --- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - toString - - - - - -
-
- -
-
-
- - - -
- -
-

toString

-
open fun toString(): String
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/-init-.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/-init-.html new file mode 100644 index 00000000..0ad7d7df --- /dev/null +++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/-init-.html @@ -0,0 +1,29 @@ + + + + <init> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

<init>

+
final fun <init>(size: Int)
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/equals.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/equals.html new file mode 100644 index 00000000..d1a73c8d --- /dev/null +++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/equals.html @@ -0,0 +1,29 @@ + + + + equals + + + + + +
+
+ +
+
+
+ + + +
+ +
+

equals

+
open fun equals(other: Any): Boolean
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/hash-code.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/hash-code.html new file mode 100644 index 00000000..68e223af --- /dev/null +++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/hash-code.html @@ -0,0 +1,29 @@ + + + + hashCode + + + + + +
+
+ +
+
+
+ + + +
+ +
+

hashCode

+
open fun hashCode(): Int
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/index.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/index.html new file mode 100644 index 00000000..77b20479 --- /dev/null +++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/index.html @@ -0,0 +1,77 @@ + + + + Fancy + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Fancy

+
annotation class Fancy
+

Functions

+ + + + + + + + + + + + + + + + + + + +
equals
open fun equals(other: Any): Boolean
+
+
+
JVM
+
hashCode
open fun hashCode(): Int
+
+
+
JVM
+
toString
open fun toString(): String
+
+
+
JVM
+
+

Properties

+ + + + + + + + + +
size +
+
+
JVM
+
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/to-string.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/to-string.html new file mode 100644 index 00000000..905cddc2 --- /dev/null +++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//-fancy/to-string.html @@ -0,0 +1,29 @@ + + + + toString + + + + + +
+
+ +
+
+
+ + + +
+ +
+

toString

+
open fun toString(): String
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//f.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//f.html new file mode 100644 index 00000000..dafca58f --- /dev/null +++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//f.html @@ -0,0 +1,29 @@ + + + + f + + + + + +
+
+ +
+
+
+ + + +
+ +
+

f

+
final fun f()
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//index.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//index.html new file mode 100644 index 00000000..cbe266c3 --- /dev/null +++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root//index.html @@ -0,0 +1,59 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Types

+ + + + + + + + + +
Fancy
annotation class Fancy
+
+
+
JVM
+
+

Functions

+ + + + + + + + + +
f
final fun f()
+
+
+
JVM
+
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html deleted file mode 100644 index c30acdd1..00000000 --- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - f - - - - - -
-
- -
-
-
- - - -
- -
-

f

-
final fun f()
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html index 8384882c..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,37 +14,19 @@
- - + +
- +
-

Package

+

root

-

Types

+

Packages

- - - - - -
Fancy
annotation class Fancy
-
-
-
JVM
-
-

Functions

- - - - - - + diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

fn

+
final fun fn()
+

Description

+Function fn
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/function/out/html/root//index.html b/plugins/base/src/test/resources/expect/function/out/html/root//index.html new file mode 100644 index 00000000..1f7ac4a3 --- /dev/null +++ b/plugins/base/src/test/resources/expect/function/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
f
final fun f()
-
-
<jvm root>
JVM
+ + + + + + + + +
fn
final fun fn()
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/function/out/html/root/fn.html b/plugins/base/src/test/resources/expect/function/out/html/root/fn.html deleted file mode 100644 index a88a7f95..00000000 --- a/plugins/base/src/test/resources/expect/function/out/html/root/fn.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - fn - - - - - -
-
- -
-
-
- - - -
- -
-

fn

-
final fun fn()
-

Description

-Function fn
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/function/out/html/root/index.html b/plugins/base/src/test/resources/expect/function/out/html/root/index.html index 950074b0..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/function/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/function/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/function/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/function/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/function/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" - - - -
-
- -
-
-
- - - -
- -
-

<init>

-
final fun <init>()
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html deleted file mode 100644 index 67e41f5c..00000000 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - equals - - - - - -
-
- -
-
-
- - - -
- -
-

equals

-
open fun equals(other: Any): Boolean
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html deleted file mode 100644 index 1ff34399..00000000 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - hashCode - - - - - -
-
- -
-
-
- - - -
- -
-

hashCode

-
open fun hashCode(): Int
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html deleted file mode 100644 index a80db607..00000000 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - Fancy - - - - - -
-
- -
-
-
- - - -
- -
-

Fancy

-
annotation class Fancy
-

Functions

-
fn
final fun fn()
-
-
<jvm root>
JVM
- - - - - - - - - - - - - - - - - - -
equals
open fun equals(other: Any): Boolean
-
-
-
JVM
-
hashCode
open fun hashCode(): Int
-
-
-
JVM
-
toString
open fun toString(): String
-
-
-
JVM
-
-
-
- - - - diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html deleted file mode 100644 index 0a116d39..00000000 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - toString - - - - - -
-
- -
-
-
- - - -
- -
-

toString

-
open fun toString(): String
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/-init-.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/-init-.html new file mode 100644 index 00000000..755863db --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/-init-.html @@ -0,0 +1,29 @@ + + + + <init> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

<init>

+
final fun <init>()
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/equals.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/equals.html new file mode 100644 index 00000000..d1a73c8d --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/equals.html @@ -0,0 +1,29 @@ + + + + equals + + + + + +
+
+ +
+
+
+ + + +
+ +
+

equals

+
open fun equals(other: Any): Boolean
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/hash-code.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/hash-code.html new file mode 100644 index 00000000..68e223af --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/hash-code.html @@ -0,0 +1,29 @@ + + + + hashCode + + + + + +
+
+ +
+
+
+ + + +
+ +
+

hashCode

+
open fun hashCode(): Int
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/index.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/index.html new file mode 100644 index 00000000..28585a2a --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/index.html @@ -0,0 +1,62 @@ + + + + Fancy + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Fancy

+
annotation class Fancy
+

Functions

+ + + + + + + + + + + + + + + + + + + +
equals
open fun equals(other: Any): Boolean
+
+
+
JVM
+
hashCode
open fun hashCode(): Int
+
+
+
JVM
+
toString
open fun toString(): String
+
+
+
JVM
+
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/to-string.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/to-string.html new file mode 100644 index 00000000..905cddc2 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//-fancy/to-string.html @@ -0,0 +1,29 @@ + + + + toString + + + + + +
+
+ +
+
+
+ + + +
+ +
+

toString

+
open fun toString(): String
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//function.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//function.html new file mode 100644 index 00000000..a6a78b74 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//function.html @@ -0,0 +1,29 @@ + + + + function + + + + + +
+
+ +
+
+
+ + + +
+ +
+

function

+
final fun function(notInlined:
() -> Unit
)
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//index.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//index.html new file mode 100644 index 00000000..61723ee4 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root//index.html @@ -0,0 +1,59 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Types

+ + + + + + + + + +
Fancy
annotation class Fancy
+
+
+
JVM
+
+

Functions

+ + + + + + + + + +
function
final fun function(notInlined:
() -> Unit
)
+
+
+
JVM
+
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html deleted file mode 100644 index c5ee6554..00000000 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - function - - - - - -
-
- -
-
-
- - - -
- -
-

function

-
final fun function(notInlined:
() -> Unit
)
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html index f24afac6..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,37 +14,19 @@
- - + +
- +
-

Package

+

root

-

Types

+

Packages

- - - - - -
Fancy
annotation class Fancy
-
-
-
JVM
-
-

Functions

- - - - - - + diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

f

+
final fun f(x: String)
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root//index.html b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root//index.html new file mode 100644 index 00000000..2d08f84f --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
function
final fun function(notInlined:
() -> Unit
)
-
-
<jvm root>
JVM
+ + + + + + + + +
f
final fun f(x: String)
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/f.html b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/f.html deleted file mode 100644 index 7772e1ab..00000000 --- a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/f.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - f - - - - - -
-
- -
-
-
- - - -
- -
-

f

-
final fun f(x: String)
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/index.html index e879365f..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

function

+
final fun function(notInlined:
() -> Unit
)
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root//index.html b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root//index.html new file mode 100644 index 00000000..a14357c0 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
f
final fun f(x: String)
-
-
<jvm root>
JVM
+ + + + + + + + +
function
final fun function(notInlined:
() -> Unit
)
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/function.html b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/function.html deleted file mode 100644 index c5ee6554..00000000 --- a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/function.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - function - - - - - -
-
- -
-
-
- - - -
- -
-

function

-
final fun function(notInlined:
() -> Unit
)
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/index.html index 991ee87c..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

f

+
final fun f()
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root//index.html b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root//index.html new file mode 100644 index 00000000..59b7070b --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
function
final fun function(notInlined:
() -> Unit
)
-
-
<jvm root>
JVM
+ + + + + + + + +
f
final fun f()
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/f.html b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/f.html deleted file mode 100644 index c30acdd1..00000000 --- a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/f.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - f - - - - - -
-
- -
-
-
- - - -
- -
-

f

-
final fun f()
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/index.html index e30d95d5..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

function

+
final fun function(x: Int)
+

Description

+MultilineFunction Documentation
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithParams/out/html/root//index.html b/plugins/base/src/test/resources/expect/functionWithParams/out/html/root//index.html new file mode 100644 index 00000000..c05dafcb --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithParams/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
f
final fun f()
-
-
<jvm root>
JVM
+ + + + + + + + +
function
final fun function(x: Int)
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/function.html b/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/function.html deleted file mode 100644 index 5ac6c23e..00000000 --- a/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/function.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - function - - - - - -
-
- -
-
-
- - - -
- -
-

function

-
final fun function(x: Int)
-

Description

-MultilineFunction Documentation
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/index.html index bfc1de0c..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/functionWithParams/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/functionWithParams/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithParams/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

fn

+
final fun String.fn()
+

Description

+Function with receiver
+

fn

+
final fun String.fn(x: Int)
+

Description

+Function with receiver
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root//index.html b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root//index.html new file mode 100644 index 00000000..fbe99965 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root//index.html @@ -0,0 +1,53 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
function
final fun function(x: Int)
-
-
<jvm root>
JVM
+ + + + + + + + + + + + + +
fn
final fun String.fn()
+
+
+
JVM
+
fn
final fun String.fn(x: Int)
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/fn.html b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/fn.html deleted file mode 100644 index 8de5b6b8..00000000 --- a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/fn.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - fn - - - - - -
-
- -
-
-
- - - -
- -
-

fn

-
final fun String.fn()
-

Description

-Function with receiver
-

fn

-
final fun String.fn(x: Int)
-

Description

-Function with receiver
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/index.html index 0f91a1dd..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,31 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - - - - - - + diff --git a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

generic

+
private final fun <T : Any> generic()
+

Description

+generic function
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/genericFunction/out/html/root//index.html b/plugins/base/src/test/resources/expect/genericFunction/out/html/root//index.html new file mode 100644 index 00000000..02e9c431 --- /dev/null +++ b/plugins/base/src/test/resources/expect/genericFunction/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
fn
final fun String.fn()
-
-
-
JVM
-
fn
final fun String.fn(x: Int)
-
-
<jvm root>
JVM
+ + + + + + + + +
generic
private final fun <T : Any> generic()
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/genericFunction/out/html/root/generic.html b/plugins/base/src/test/resources/expect/genericFunction/out/html/root/generic.html deleted file mode 100644 index a81357ca..00000000 --- a/plugins/base/src/test/resources/expect/genericFunction/out/html/root/generic.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - generic - - - - - -
-
- -
-
-
- - - -
- -
-

generic

-
private final fun <T : Any> generic()
-

Description

-generic function
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/genericFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/genericFunction/out/html/root/index.html index 5fc2d59a..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/genericFunction/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/genericFunction/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/genericFunction/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/genericFunction/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/genericFunction/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

generic

+
final fun <T : R, R : Any> generic()
+

Description

+generic function
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root//index.html b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root//index.html new file mode 100644 index 00000000..3161a78f --- /dev/null +++ b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
generic
private final fun <T : Any> generic()
-
-
<jvm root>
JVM
+ + + + + + + + +
generic
final fun <T : R, R : Any> generic()
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/generic.html b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/generic.html deleted file mode 100644 index 9eeb8831..00000000 --- a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/generic.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - generic - - - - - -
-
- -
-
-
- - - -
- -
-

generic

-
final fun <T : R, R : Any> generic()
-

Description

-generic function
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/index.html b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/index.html index 13852519..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

f

+
final fun f(a:
() -> String
)
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/inlineFunction/out/html/root//index.html b/plugins/base/src/test/resources/expect/inlineFunction/out/html/root//index.html new file mode 100644 index 00000000..8666b724 --- /dev/null +++ b/plugins/base/src/test/resources/expect/inlineFunction/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
generic
final fun <T : R, R : Any> generic()
-
-
<jvm root>
JVM
+ + + + + + + + +
f
final fun f(a:
() -> String
)
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/f.html b/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/f.html deleted file mode 100644 index 2344d54b..00000000 --- a/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/f.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - f - - - - - -
-
- -
-
-
- - - -
- -
-

f

-
final fun f(a:
() -> String
)
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/index.html index 275bac43..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/inlineFunction/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/inlineFunction/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/inlineFunction/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

f

+
final fun f(a:
() -> String
)
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root//index.html b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root//index.html new file mode 100644 index 00000000..8666b724 --- /dev/null +++ b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
f
final fun f(a:
() -> String
)
-
-
<jvm root>
JVM
+ + + + + + + + +
f
final fun f(a:
() -> String
)
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/f.html b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/f.html deleted file mode 100644 index 2344d54b..00000000 --- a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/f.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - f - - - - - -
-
- -
-
-
- - - -
- -
-

f

-
final fun f(a:
() -> String
)
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/index.html index 275bac43..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

availableSince1.1

+
+

Description

+Quite useful String
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root//index.html b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root//index.html new file mode 100644 index 00000000..069b17ac --- /dev/null +++ b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
f
final fun f(a:
() -> String
)
-
-
<jvm root>
JVM
+ + + + + + + + +
availableSince1.1 +
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/available-since1.1.html b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/available-since1.1.html deleted file mode 100644 index e3301e8c..00000000 --- a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/available-since1.1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - availableSince1.1 - - - - - -
-
- -
-
-
- - - -
- -
-

availableSince1.1

-
-

Description

-Quite useful String
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/index.html b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/index.html index 9577d32b..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

f

+
final fun f()
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/suspendFunction/out/html/root//index.html b/plugins/base/src/test/resources/expect/suspendFunction/out/html/root//index.html new file mode 100644 index 00000000..59b7070b --- /dev/null +++ b/plugins/base/src/test/resources/expect/suspendFunction/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
availableSince1.1 -
-
<jvm root>
JVM
+ + + + + + + + +
f
final fun f()
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/f.html b/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/f.html deleted file mode 100644 index c30acdd1..00000000 --- a/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/f.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - f - - - - - -
-
- -
-
-
- - - -
- -
-

f

-
final fun f()
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/index.html index e30d95d5..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/suspendFunction/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/suspendFunction/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/suspendFunction/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" + + + +
+
+ +
+
+
+ + + +
+ +
+

f

+
final fun f(a:
() -> String
)
+
+
+
+ + + diff --git a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root//index.html b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root//index.html new file mode 100644 index 00000000..8666b724 --- /dev/null +++ b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root//index.html @@ -0,0 +1,44 @@ + + + + <jvm root> + + + + + +
+
+ +
+
+
+ + + +
+ +
+

Package <jvm root>

+
+

Functions

+
f
final fun f()
-
-
<jvm root>
JVM
+ + + + + + + + +
f
final fun f(a:
() -> String
)
+
+
+
JVM
+
+
+
+ + + + diff --git a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/f.html b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/f.html deleted file mode 100644 index 2344d54b..00000000 --- a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/f.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - f - - - - - -
-
- -
-
-
- - - -
- -
-

f

-
final fun f(a:
() -> String
)
-
-
-
- - - diff --git a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/index.html index 275bac43..f8c89bbf 100644 --- a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/index.html +++ b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/index.html @@ -1,10 +1,10 @@ - - - - + root + + +
@@ -14,22 +14,19 @@
- - + +
- +
-

Package

+

root

-

Functions

+

Packages

- - + diff --git a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("
f
final fun f(a:
() -> String
)
-
-
<jvm root>
JVM