Home
last modified time | relevance | path

Searched refs:ContentBlock (Results 1 – 16 of 16) sorted by relevance

/external/dokka/core/src/main/kotlin/Model/
DContent.kt11 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 …]
DPackageDocs.kt123 …ileName: String, href: String, linkResolveContext: List<PackageFragmentDescriptor>): ContentBlock { in <lambda>()
/external/dokka/core/src/main/kotlin/Languages/
DNewJavaLanguageService.kt40 …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 …]
DCommonLanguageService.kt8 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/
DKotlinLanguageService.kt111 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 …]
DContentBuilder.kt9 … 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()
DDeclarationLinkResolver.kt18 fun tryResolveContentLink(fromDescriptor: DeclarationDescriptor, href: String): ContentBlock? { in <lambda>()
DDescriptorDocumentationParser.kt319 class ParameterInfoNode(private val wrappedNode: () -> DocumentationNode?) : ContentBlock() {
/external/dokka/core/src/main/kotlin/Java/
DJavadocParser.kt261 …private fun ContentBlock.convertJavadocElements(elements: Iterable<PsiElement>, element: PsiNamedE… in parseDocumentation() method
271 …private fun ContentBlock.convertJavadocElementsToAttrDesc(elements: Iterable<PsiElement>, element:… in parseDocumentation() method
328 private fun createBlock(element: Element): ContentBlock = when (element.tagName()) { in parseDocumentation()
339 "br" -> ContentBlock().apply { hardLineBreak() } in parseDocumentation()
388 else -> ContentBlock() in parseDocumentation()
391 private fun createLink(element: Element): ContentBlock { in parseDocumentation()
415 else -> ContentBlock() in parseDocumentation()
/external/dokka/core/src/test/kotlin/model/
DLinkTest.kt3 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/javadoc/
Dtags.kt63 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/
DTestAPI.kt243 fun StringBuilder.appendChildren(node: ContentBlock): StringBuilder { in StringBuilder()
273 is ContentBlock -> { in StringBuilder()
/external/dokka/core/src/test/kotlin/format/
DPackageDocsTest.kt46 … val block = (packageContent.children.single() as ContentBlock).children.first() as ContentText in <lambda>()
/external/dokka/core/src/main/kotlin/Formats/
DStructuredFormatService.kt189 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>()
DDacHtmlFormat.kt106 if (firstChild is ContentBlock && in fullMemberDocs()
908 is ContentBlock -> addContentNodesToStringBuilder(content.children, sb) in addContentNodeToStringBuilder()
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/
DJavaLayoutHtmlFormatOutputBuilder.kt161 is ContentBlock -> contentNodesToMarkup(content.children, contextUri) in <lambda>()
907 val em = if (emphasis) ContentEmphasis() else ContentBlock() in <lambda>()