Home
last modified time | relevance | path

Searched refs:ContentText (Results 1 – 15 of 15) sorted by relevance

/external/dokka/core/src/main/kotlin/javadoc/
Dtags.kt20 class TextTag(val holder: Doc, val content: ContentText) : Tag { in text()
64 val contentText = children.singleOrNull() as? ContentText in ContentBlock()
109 override fun firstSentenceTags(): Array<out Tag> = arrayOf(TextTag(holder, ContentText(text()))) in name()
158 val open = TextTag(holder, ContentText(prefix)) in buildInlineTags()
159 val close = TextTag(holder, ContentText(postfix)) in buildInlineTags()
174 val open = TextTag(holder, ContentText(prefix)) in buildInlineTags()
175 val close = TextTag(holder, ContentText(postfix)) in buildInlineTags()
188 is ContentText -> result.add(TextTag(holder, node)) in buildInlineTags()
206 is ContentEntity -> result.add(TextTag(holder, ContentText(node.text))) // TODO ?? in buildInlineTags()
207 is ContentIdentifier -> result.add(TextTag(holder, ContentText(node.text))) // TODO in buildInlineTags()
[all …]
/external/dokka/core/src/main/kotlin/Kotlin/
DContentBuilder.kt54 val codeSpan = ContentCode().apply { append(ContentText(text)) } in buildContentTo()
91 link.append(ContentText(labelText)) in buildContentTo()
101 parent.append(ContentText(node.text)) in buildContentTo()
108 parent.append(ContentText(node.text)) in buildContentTo()
113 val content = ContentText(node.text) in buildContentTo()
133 return ContentText(text) in buildContentTo()
142 parent.append(ContentText(node.text)) in buildContentTo()
158 parent.append(ContentText(node.text)) in buildContentTo()
DDescriptorDocumentationParser.kt256 link.append(ContentText(subjectName)) in <lambda>()
/external/dokka/core/src/main/kotlin/Samples/
DDefaultSampleProcessingService.kt31 …return ContentBlockSampleCode().apply { append(ContentText("//Missing function name in @sample")) } in resolveSample()
37 … return ContentBlockSampleCode().apply { append(ContentText("//Unresolved: $functionName")) } in resolveSample()
42 … return ContentBlockSampleCode().apply { append(ContentText("//Source not found: $functionName")) } in resolveSample()
50 …BlockSampleCode(importsBlock = processImports(psiElement)).apply { append(ContentText(finalText)) } in resolveSample()
68 append(ContentText(psiFile.importList?.text ?: "")) in processImports()
DDevsiteSampleProcessingService.kt44 append(ContentText("\n")) in <lambda>()
46 append(ContentText(import.text)) in <lambda>()
DKotlinWebsiteSampleProcessingService.kt114 append(ContentText("\n")) in processImports()
118 }.forEach { append(ContentText(it.text)) } in processImports()
/external/dokka/core/src/main/kotlin/Java/
DJavadocParser.kt263 if (content is ContentText) { in parseDocumentation()
270 content = ContentText(description) in parseDocumentation()
295 ContentText(codeNode.text().removePrefix("#")) in parseDocumentation()
297 ContentText(node.toString()) in parseDocumentation()
301 return ContentText(node.text().removePrefix("#")) in parseDocumentation()
412 val text = ContentText(linkElement.text) in parseDocumentation()
DJavaPsiDocumentationBuilder.kt137 …val deprecationNode = DocumentationNode("", Content.of(ContentText("Deprecated")), NodeKind.Modifi… in appendFile()
/external/dokka/core/src/main/kotlin/Formats/
DDacHtmlFormat.kt110 firstChild.children[2] is ContentText) { in fullMemberDocs()
854 fun ContentNode.firstSentence(): ContentText? = when(this) { in firstSentenceOfSummary()
855 is ContentText -> ContentText(text.firstSentence()) in firstSentenceOfSummary()
860 fun containsDot(it: ContentNode) = (it as? ContentText)?.text?.contains(".") == true in firstSentenceOfSummary()
886 is ContentText -> sb.appendWith(content.text) in addContentNodeToStringBuilder()
DStructuredFormatService.kt132 is ContentText -> appendText(content.text) in <lambda>()
178 .dropWhile { it is ContentText && it.text.isBlank() } in <lambda>()
/external/dokka/core/src/main/kotlin/Model/
DContent.kt66 data class ContentText(val text: String) : ContentNode { class
196 fun ContentBlock.text(value: String) = append(ContentText(value)) in ContentBlock()
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/
DJavaLayoutHtmlFormatOutputBuilder.kt56 is ContentText -> +content.text in <lambda>()
234 acc + ContentText(", ") + node in <lambda>()
237 metaMarkup(listOf(ContentText("(")) + params + listOf(ContentText(")"))) in <lambda>()
847 em.append(ContentText(node.deprecatedLevelMessage())) in <lambda>()
848 em.append(ContentText(" ")) in <lambda>()
/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/Languages/
DJavaLanguageService.kt11 return ContentText(when (node.kind) { in <lambda>()
/external/dokka/core/src/test/kotlin/
DTestAPI.kt253 is ContentText -> { in StringBuilder()