/external/dokka/core/src/main/kotlin/Model/ |
D | Content.kt | 11 open class ContentBlock() : ContentNode { class 21 other is ContentBlock && javaClass == other.javaClass && children == other.children in isEmpty() 38 class LazyContentBlock(private val fillChildren: (ContentBlock) -> Unit) : ContentBlock() { 107 class ScriptBlock(val type: String?, val src: String) : ContentBlock() 109 class ContentParagraph(val label: String? = null) : ContentBlock() 110 class ContentEmphasis() : ContentBlock() 111 class ContentStrong() : ContentBlock() 112 class ContentStrikethrough() : ContentBlock() 113 class ContentCode() : ContentBlock() 115 class ContentDescriptionList() : ContentBlock() [all …]
|
D | PackageDocs.kt | 123 …ileName: String, href: String, linkResolveContext: List<PackageFragmentDescriptor>): ContentBlock { in <lambda>()
|
/external/dokka/core/src/main/kotlin/Languages/ |
D | NewJavaLanguageService.kt | 40 …override fun renderModifier(block: ContentBlock, node: DocumentationNode, renderMode: RenderMode, … in <lambda>() 74 fun ContentBlock.renderType(node: DocumentationNode) { in <lambda>() method 96 private fun ContentBlock.renderTypeParameter(node: DocumentationNode) { in <lambda>() method 109 private fun ContentBlock.renderParameter(node: DocumentationNode) { in <lambda>() method 115 private fun ContentBlock.renderTypeParametersForNode(node: DocumentationNode) { in <lambda>() method 127 private fun ContentBlock.renderTypeArgumentsForType(node: DocumentationNode) { in <lambda>() method 145 private fun ContentBlock.renderClassKind(node: DocumentationNode) { in <lambda>() method 164 private fun ContentBlock.renderClass(node: DocumentationNode, renderMode: RenderMode) { in <lambda>() method 188 private fun ContentBlock.renderParameters(nodes: List<DocumentationNode>) { in <lambda>() method 194 private fun ContentBlock.renderFunction( in <lambda>() method [all …]
|
D | CommonLanguageService.kt | 8 protected fun ContentBlock.renderPackage(node: DocumentationNode) { in ContentBlock() method 29 block: ContentBlock, in renderModifier() 43 block: ContentBlock, in renderLinked() 45 body: ContentBlock.(DocumentationNode) -> Unit in renderLinked() 56 protected fun <T> ContentBlock.renderHardWrappingList( in renderHardWrappingList() 81 protected fun <T> ContentBlock.renderList( in renderList() 101 protected fun ContentBlock.renderModifiersForNode( in showModifierInSummary() method
|
/external/dokka/core/src/main/kotlin/Kotlin/ |
D | KotlinLanguageService.kt | 111 fun renderReceiver(receiver: DocumentationNode, to: ContentBlock) in <lambda>() 115 override fun renderReceiver(receiver: DocumentationNode, to: ContentBlock) { in <lambda>() 121 …private fun ContentBlock.renderFunctionalTypeParameterName(node: DocumentationNode, renderMode: Re… in <lambda>() method 131 private fun ContentBlock.renderFunctionalType(node: DocumentationNode, renderMode: RenderMode) { in <lambda>() method 165 private fun ContentBlock.renderType(node: DocumentationNode, renderMode: RenderMode) { in <lambda>() method 196 block: ContentBlock, in <lambda>() 212 private fun ContentBlock.renderTypeParameter(node: DocumentationNode, renderMode: RenderMode) { in <lambda>() method 228 private fun ContentBlock.renderParameter(node: DocumentationNode, renderMode: RenderMode) { in <lambda>() method 247 …private fun ContentBlock.renderTypeParametersForNode(node: DocumentationNode, renderMode: RenderMo… in <lambda>() method 258 …private fun ContentBlock.renderExtraTypeParameterConstraints(node: DocumentationNode, renderMode: … in <lambda>() method [all …]
|
D | ContentBuilder.kt | 9 … LinkResolver(private val linkMap: LinkMap, private val contentFactory: (String) -> ContentBlock) { in <lambda>() 11 fun resolve(href: String): ContentBlock = contentFactory(href) in <lambda>() 24 fun buildContentTo(tree: MarkdownNode, target: ContentBlock, linkResolver: LinkResolver) { in buildContentTo() 26 val nodeStack = ArrayDeque<ContentBlock>() in buildContentTo() 32 fun appendNodeWithChildren(content: ContentBlock) { in buildContentTo() 176 fun buildInlineContentTo(tree: MarkdownNode, target: ContentBlock, linkResolver: LinkResolver) { in keepEol() 183 fun renderLinkTextTo(tree: MarkdownNode, target: ContentBlock, linkResolver: LinkResolver) { in renderLinkTextTo()
|
D | DeclarationLinkResolver.kt | 18 fun tryResolveContentLink(fromDescriptor: DeclarationDescriptor, href: String): ContentBlock? { in <lambda>()
|
D | DescriptorDocumentationParser.kt | 313 class ParameterInfoNode(private val wrappedNode: () -> DocumentationNode?) : ContentBlock() {
|
/external/dokka/core/src/test/kotlin/model/ |
D | LinkTest.kt | 3 import org.jetbrains.dokka.ContentBlock in <lambda>() 70 …assertEquals(packageNode, ((this.content.summary as ContentBlock).children.filterIsInstance<Conten… in <lambda>()
|
/external/dokka/core/src/main/kotlin/Java/ |
D | JavadocParser.kt | 248 …private fun ContentBlock.convertJavadocElements(elements: Iterable<PsiElement>, element: PsiNamedE… in parseDocumentation() method 258 …private fun ContentBlock.convertJavadocElementsToAttrDesc(elements: Iterable<PsiElement>, element:… in parseDocumentation() method 315 private fun createBlock(element: Element): ContentBlock = when (element.tagName()) { in parseDocumentation() 326 "br" -> ContentBlock().apply { hardLineBreak() } in parseDocumentation() 375 else -> ContentBlock() in parseDocumentation() 378 private fun createLink(element: Element): ContentBlock { in parseDocumentation() 402 else -> ContentBlock() in parseDocumentation()
|
/external/dokka/core/src/main/kotlin/javadoc/ |
D | tags.kt | 63 fun ContentBlock.asText(): String? { in ContentBlock() method 156 …oduleNodeAdapter, holder: Doc, prefix: String, postfix: String, node: ContentBlock, result: Mutabl… in buildInlineTags() 233 is ContentBlock -> { in buildInlineTags()
|
/external/dokka/core/src/test/kotlin/ |
D | TestAPI.kt | 243 fun StringBuilder.appendChildren(node: ContentBlock): StringBuilder { in StringBuilder() 273 is ContentBlock -> { in StringBuilder()
|
/external/dokka/core/src/test/kotlin/format/ |
D | PackageDocsTest.kt | 46 … val block = (packageContent.children.single() as ContentBlock).children.first() as ContentText in <lambda>()
|
/external/dokka/core/src/main/kotlin/Formats/ |
D | StructuredFormatService.kt | 189 is ContentBlock -> appendContent(content.children) in <lambda>() 193 private fun appendLinkIfNotThisPage(href: String, content: ContentBlock) { in <lambda>() 262 if (this is ContentBlock && this.isEmpty()) { in <lambda>()
|
D | DacHtmlFormat.kt | 106 if (firstChild is ContentBlock && in fullMemberDocs() 908 is ContentBlock -> addContentNodesToStringBuilder(content.children, sb) in addContentNodeToStringBuilder()
|
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/ |
D | JavaLayoutHtmlFormatOutputBuilder.kt | 161 is ContentBlock -> contentNodesToMarkup(content.children, contextUri) in <lambda>() 895 val em = if (emphasis) ContentEmphasis() else ContentBlock() in <lambda>()
|