/external/dokka/core/src/main/kotlin/Model/ |
D | DocumentationNode.kt | 81 open class DocumentationNode(val name: String, class 92 val owner: DocumentationNode? 94 val details: List<DocumentationNode> 96 val members: List<DocumentationNode> 98 val inheritedMembers: List<DocumentationNode> 100 val allInheritedMembers: List<DocumentationNode> 102 val inheritedCompanionObjectMembers: List<DocumentationNode> 104 val extensions: List<DocumentationNode> 106 val inheritors: List<DocumentationNode> 108 val overrides: List<DocumentationNode> [all …]
|
D | DocumentationReference.kt | 27 data class DocumentationReference(val from: DocumentationNode, val to: DocumentationNode, val kind:… 30 class PendingDocumentationReference(val lazyNodeFrom: () -> DocumentationNode?, 31 val lazyNodeTo: () -> DocumentationNode?, 43 private val nodeMap = hashMapOf<String, DocumentationNode>() 46 fun register(signature: String, node: DocumentationNode) { in register() 50 fun link(fromNode: DocumentationNode, toSignature: String, kind: RefKind) { in link() 54 fun link(fromSignature: String, toNode: DocumentationNode, kind: RefKind) { in link() 64 fun lookupOrWarn(signature: String, logger: DokkaLogger): DocumentationNode? { in lookup() 79 private val platformNodes = hashMapOf<String, DocumentationNode>() 81 operator fun get(platform: String): DocumentationNode { in get() [all …]
|
/external/dokka/core/src/main/kotlin/Formats/ |
D | DacOutlineService.kt | 11 fun computeOutlineURI(node: DocumentationNode): URI in <lambda>() 12 fun format(to: Appendable, node: DocumentationNode) in <lambda>() 25 …ide fun generateOutlines(outputProvider: (URI) -> Appendable, nodes: Iterable<DocumentationNode>) { in generateOutlines() 47 …override fun computeOutlineURI(node: DocumentationNode): URI = uriProvider.outlineRootUri(node).re… in computeOutlineURI() 49 override fun format(to: Appendable, node: DocumentationNode) { in computeOutlineURI() 56 fun appendOutline(to: Appendable, nodes: Iterable<DocumentationNode>) { in appendOutline() 73 fun appendOutlineHeader(node: DocumentationNode, to: Appendable) { in appendOutlineHeader() 103 …override fun computeOutlineURI(node: DocumentationNode): URI = uriProvider.outlineRootUri(node).re… in computeOutlineURI() 105 override fun format(to: Appendable, node: DocumentationNode) { in computeOutlineURI() 112 fun appendOutline(to: Appendable, nodes: Iterable<DocumentationNode>) { in appendOutline() [all …]
|
D | StructuredFormatService.kt | 15 protected fun DocumentationNode.location() = generator.location(this) in <lambda>() method 201 open fun link(from: DocumentationNode, in <lambda>() 202 to: DocumentationNode, in <lambda>() 203 …name: (DocumentationNode) -> String = DocumentationNode::name): FormatLink = link(from, to, extens… in <lambda>() 205 open fun link(from: DocumentationNode, in <lambda>() 206 to: DocumentationNode, in <lambda>() 208 name: (DocumentationNode) -> String = DocumentationNode::name): FormatLink { in <lambda>() 218 fun locationHref(from: Location, to: DocumentationNode): String { in <lambda>() 227 private fun DocumentationNode.isModuleOrPackage(): Boolean = in <lambda>() method 271 …open inner class PageBuilder(val nodes: Iterable<DocumentationNode>, val noHeader: Boolean = false… in <lambda>() [all …]
|
D | DacHtmlFormat.kt | 49 …override fun createOutputBuilder(output: Appendable, node: DocumentationNode): JavaLayoutHtmlForma… in createOutputBuilder() 66 override fun FlowContent.fullMemberDocs(node: DocumentationNode) { in fullMemberDocs() 70 override fun FlowContent.fullMemberDocs(node: DocumentationNode, uriNode: DocumentationNode) { in fullMemberDocs() 231 override fun summary(node: DocumentationNode) = node.firstSentenceOfSummary() in summary() 233 fun TBODY.xmlAttributeRow(attr: DocumentationNode) = tr { in summary() 247 attributes: List<DocumentationNode>, in FlowContent() 559 private fun TBODY.inheritedXmlAttributeRow(inheritedMember: DocumentationNode) { in TBODY() 576 private fun TBODY.inheritedMemberRow(inheritedMember: DocumentationNode) { in inheritedMemberRow() 606 superClasses: Set<Map.Entry<DocumentationNode, List<DocumentationNode>>>, in expandableSummaryNodeGroupForInheritedMembers() 607 row: TBODY.(inheritedMember: DocumentationNode) -> Unit in expandableSummaryNodeGroupForInheritedMembers() [all …]
|
D | HtmlFormatService.kt | 81 override fun appendNodes(nodes: Iterable<DocumentationNode>) { in <lambda>() 109 …ride fun appendOutline(location: Location, to: StringBuilder, nodes: Iterable<DocumentationNode>) { in createOutputBuilder() 119 … override fun appendOutlineHeader(location: Location, node: DocumentationNode, to: StringBuilder) { in appendOutlineHeader() 134 fun getPageTitle(nodes: Iterable<DocumentationNode>): String? { in getPageTitle() 139 fun formatPageTitle(node: DocumentationNode): String { in formatPageTitle() 150 private fun qualifiedNameForPageTitle(node: DocumentationNode): String { in qualifiedNameForPageTitle()
|
D | OutlineService.kt | 11 fun appendOutlineHeader(location: Location, node: DocumentationNode, to: StringBuilder) in getOutlineFileName() 15 fun appendOutline(location: Location, to: StringBuilder, nodes: Iterable<DocumentationNode>) { in getOutlineFileName() 27 fun formatOutline(location: Location, nodes: Iterable<DocumentationNode>): String = in formatOutline()
|
/external/dokka/core/src/main/kotlin/Languages/ |
D | JavaLanguageService.kt | 10 override fun render(node: DocumentationNode, renderMode: RenderMode): ContentNode { in <lambda>() 26 override fun renderName(node: DocumentationNode): String { in <lambda>() 33 override fun renderNameWithOuterClass(node: DocumentationNode): String { in <lambda>() 40 override fun summarizeSignatures(nodes: List<DocumentationNode>): ContentNode? = null in <lambda>() 42 private fun renderPackage(node: DocumentationNode): String { in <lambda>() 46 private fun renderModifier(node: DocumentationNode): String { in <lambda>() 54 …fun getArrayElementType(node: DocumentationNode): DocumentationNode? = when (node.qualifiedName())… in <lambda>() 57 DocumentationNode("Object", node.content, NodeKind.ExternalClass) in <lambda>() 61 … DocumentationNode(node.name.removeSuffix("Array").toLowerCase(), node.content, NodeKind.Type) in <lambda>() 66 fun getArrayDimension(node: DocumentationNode): Int = when (node.qualifiedName()) { in <lambda>() [all …]
|
D | NewJavaLanguageService.kt | 10 override fun showModifierInSummary(node: DocumentationNode): Boolean { in <lambda>() 16 override fun render(node: DocumentationNode, renderMode: RenderMode): ContentNode { in <lambda>() 37 override fun summarizeSignatures(nodes: List<DocumentationNode>): ContentNode? = null in <lambda>() 40 …override fun renderModifier(block: ContentBlock, node: DocumentationNode, renderMode: RenderMode, … in <lambda>() 52 …fun getArrayElementType(node: DocumentationNode): DocumentationNode? = when (node.qualifiedName())… in <lambda>() 55 ?: DocumentationNode("Object", node.content, NodeKind.ExternalClass) in <lambda>() 59 … DocumentationNode(node.name.removeSuffix("Array").toLowerCase(), node.content, NodeKind.Type) in <lambda>() 64 fun getArrayDimension(node: DocumentationNode): Int = when (node.qualifiedName()) { in <lambda>() 74 fun ContentBlock.renderType(node: DocumentationNode) { in <lambda>() 96 private fun ContentBlock.renderTypeParameter(node: DocumentationNode) { in <lambda>() [all …]
|
D | CommonLanguageService.kt | 8 protected fun ContentBlock.renderPackage(node: DocumentationNode) { in ContentBlock() 14 override fun renderName(node: DocumentationNode): String { in renderName() 21 override fun renderNameWithOuterClass(node: DocumentationNode): String { in renderNameWithOuterClass() 30 node: DocumentationNode, in renderModifier() 44 node: DocumentationNode, in renderLinked() 45 body: ContentBlock.(DocumentationNode) -> Unit in renderLinked() 99 abstract fun showModifierInSummary(node: DocumentationNode): Boolean in showModifierInSummary() 102 node: DocumentationNode, in showModifierInSummary()
|
D | LanguageService.kt | 19 fun render(node: DocumentationNode, renderMode: RenderMode = RenderMode.FULL): ContentNode in render() 25 fun summarizeSignatures(nodes: List<DocumentationNode>): ContentNode? in render() 36 fun renderName(node: DocumentationNode): String in render() 38 fun renderNameWithOuterClass(node: DocumentationNode): String in render() 41 fun example(service: LanguageService, node: DocumentationNode) { in render()
|
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/ |
D | JavaLayoutHtmlFormatOutputBuilder.kt | 45 protected fun FlowContent.nodeContent(node: DocumentationNode, uriNode: DocumentationNode) = in <lambda>() 48 protected fun FlowContent.nodeContent(node: DocumentationNode) = in <lambda>() 216 protected open fun summary(node: DocumentationNode) = node.summary in <lambda>() 218 protected open fun TBODY.classLikeRow(node: DocumentationNode) = tr { in <lambda>() 223 protected fun FlowContent.modifiers(node: DocumentationNode) { in <lambda>() 229 protected fun FlowContent.shortFunctionParametersList(func: DocumentationNode) { in <lambda>() 241 protected open fun TBODY.functionLikeSummaryRow(node: DocumentationNode) = tr { in <lambda>() 265 …protected open fun TBODY.propertyLikeSummaryRow(node: DocumentationNode, showSignature: Boolean = … in <lambda>() 283 protected open fun TBODY.nestedClassSummaryRow(node: DocumentationNode) = tr { in <lambda>() 298 protected fun HtmlBlockTag.nodeSummary(node: DocumentationNode, uriNode: DocumentationNode) { in <lambda>() [all …]
|
D | JavaLayoutHtmlFormat.kt | 51 fun generateOutlines(outputProvider: (URI) -> Appendable, nodes: Iterable<DocumentationNode>) in generateOutlines() 56 fun tryGetContainerUri(node: DocumentationNode): URI? in generateOutlines() 57 fun tryGetMainUri(node: DocumentationNode): URI? in generateOutlines() 58 fun tryGetOutlineRootUri(node: DocumentationNode): URI? in generateOutlines() 59 …fun containerUri(node: DocumentationNode): URI = tryGetContainerUri(node) ?: error("Unsupported ${… in generateOutlines() 60 …fun mainUri(node: DocumentationNode): URI = tryGetMainUri(node) ?: error("Unsupported ${node.kind}… in generateOutlines() 61 …fun outlineRootUri(node: DocumentationNode): URI = tryGetOutlineRootUri(node) ?: error("Unsupporte… in generateOutlines() 64 fun linkTo(to: DocumentationNode, from: URI): String { in generateOutlines() 68 fun linkToFromOutline(to: DocumentationNode, from: URI): String { in generateOutlines() 72 fun mainUriOrWarn(node: DocumentationNode): URI? = tryGetMainUri(node) ?: (null).also { in generateOutlines() [all …]
|
D | JavaLayoutHtmlGenerator.kt | 25 …fun createOutputBuilderForNode(node: DocumentationNode, output: Appendable) = outputBuilderFactory… in <lambda>() 27 fun DocumentationNode.getOwnerOrReport() = owner ?: run { in <lambda>() method 31 override fun tryGetContainerUri(node: DocumentationNode): URI? { in <lambda>() 41 override fun tryGetMainUri(node: DocumentationNode): URI? { in <lambda>() 64 override fun tryGetOutlineRootUri(node: DocumentationNode): URI? { in <lambda>() 71 …fun URI.resolveInPage(node: DocumentationNode): URI = resolve("#${node.signatureForAnchor(logger).… in <lambda>() 73 fun buildClass(node: DocumentationNode, parentDir: File) { in <lambda>() 83 fun buildPackage(node: DocumentationNode, parentDir: File) { in <lambda>() 101 fun buildClassIndex(node: DocumentationNode, parentDir: File) { in <lambda>() 108 …fun buildPackageIndex(module: DocumentationNode, nodes: List<DocumentationNode>, parentDir: File) { in <lambda>() [all …]
|
/external/dokka/core/src/main/kotlin/Kotlin/ |
D | KotlinLanguageService.kt | 10 override fun showModifierInSummary(node: DocumentationNode): Boolean { in <lambda>() 17 override fun render(node: DocumentationNode, renderMode: RenderMode): ContentNode { in <lambda>() 43 override fun summarizeSignatures(nodes: List<DocumentationNode>): ContentNode? { in <lambda>() 65 private fun List<DocumentationNode>.getReceiverKind(): ReceiverKind? { in <lambda>() 73 private fun DocumentationNode.getReceiverQName(): String? { in <lambda>() method 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>() 131 private fun ContentBlock.renderFunctionalType(node: DocumentationNode, renderMode: RenderMode) { in <lambda>() 158 private fun DocumentationNode.isFunctionalType(): Boolean { in <lambda>() method [all …]
|
D | DocumentationBuilder.kt | 112 packageNode: DocumentationNode, in buildPackageDocumentation() 142 fun link(node: DocumentationNode, descriptor: DeclarationDescriptor, kind: RefKind) { in link() 152 fun register(descriptor: DeclarationDescriptor, node: DocumentationNode) { in register() 160 ): DocumentationNode where T : DeclarationDescriptor, T : Named { in nodeForDescriptor() 170 … val node = DocumentationNode(descriptor.name.asString(), doc, kind).withModifiers(descriptor) in nodeForDescriptor() 176 …private fun DocumentationNode.withModifiers(descriptor: DeclarationDescriptor): DocumentationNode { in withModifiers() method 186 fun DocumentationNode.appendModality(descriptor: MemberDescriptor) { in appendModality() method 198 fun DocumentationNode.appendVisibility(descriptor: DeclarationDescriptorWithVisibility) { in appendVisibility() method 203 …fun DocumentationNode.appendSupertype(descriptor: ClassDescriptor, superType: KotlinType, backref:… in appendSupertype() method 217 …fun DocumentationNode.appendProjection(projection: TypeProjection, kind: NodeKind = NodeKind.Type)… in appendProjection() method [all …]
|
D | DescriptorDocumentationParser.kt | 54 …ptor: DeclarationDescriptor, inline: Boolean = false): Pair<Content, (DocumentationNode) -> Unit> { in <lambda>() 137 …private fun DocumentationNode.addExtraTags(tags: Array<KDocTag>, descriptor: DeclarationDescriptor… in <lambda>() method 143 val apiLevel = DocumentationNode(it.getContent(), Content.Empty, NodeKind.ApiLevel) in <lambda>() 146 … val sdkExtSince = DocumentationNode(it.getContent(), Content.Empty, NodeKind.SdkExtSince) in <lambda>() 149 … val deprecatedLevel = DocumentationNode(it.getContent(), Content.Empty, NodeKind.DeprecatedLevel) in <lambda>() 152 … val artifactId = DocumentationNode(it.getContent(), Content.Empty, NodeKind.ArtifactId) in <lambda>() 197 … fun parseJavadoc(descriptor: DeclarationDescriptor): Pair<Content, (DocumentationNode) -> Unit> { in <lambda>() 208 val deprecationNode = DocumentationNode("", it, NodeKind.Modifier) in <lambda>() 216 …refGraph.register(classAttrSignature, DocumentationNode(node.name, Content.Empty, NodeKind.Attribu… in <lambda>() 269 private fun KDocTag.getAttr(descriptor: DeclarationDescriptor): DocumentationNode? { in <lambda>() [all …]
|
/external/dokka/core/src/main/kotlin/Java/ |
D | JavaPsiDocumentationBuilder.kt | 87 fun appendClasses(packageNode: DocumentationNode, classes: Array<PsiClass>) { in appendFile() 91 fun register(element: PsiElement, node: DocumentationNode) { in appendFile() 98 fun link(node: DocumentationNode, element: PsiElement?) { in appendFile() 105 fun link(element: PsiElement?, node: DocumentationNode, kind: RefKind) { in appendFile() 114 name: String = element.name ?: "<anonymous>"): DocumentationNode { in appendFile() 116 val node = DocumentationNode(name, docComment, kind) in appendFile() 133 val deprecationNode = DocumentationNode("", deprecatedContent, NodeKind.Modifier) in appendFile() 137 …val deprecationNode = DocumentationNode("", Content.of(ContentText("Deprecated")), NodeKind.Modifi… in appendFile() 168 fun <T : Any> DocumentationNode.appendChildren(elements: Array<T>, in appendFile() 170 buildFn: T.() -> DocumentationNode) { in appendFile() [all …]
|
D | JavadocParser.kt | 27 val apiLevel: DocumentationNode? = null, in <lambda>() 28 val sdkExtSince: DocumentationNode? = null, in <lambda>() 29 val deprecatedLevel: DocumentationNode? = null, in <lambda>() 30 val artifactId: DocumentationNode? = null, in <lambda>() 31 val attribute: DocumentationNode? = null in <lambda>() 58 selector: (DocumentationNode) -> DocumentationNode? in parseDocumentation() 113 var since: DocumentationNode? = null in parseDocumentation() 114 var sdkextsince: DocumentationNode? = null in parseDocumentation() 115 var deprecated: DocumentationNode? = null in parseDocumentation() 116 var artifactId: DocumentationNode? = null in parseDocumentation() [all …]
|
/external/dokka/core/src/main/kotlin/Generation/ |
D | Generator.kt | 6 fun buildPages(nodes: Iterable<DocumentationNode>) in buildPages() 7 fun buildOutlines(nodes: Iterable<DocumentationNode>) in buildPages() 9 fun buildPackageList(nodes: Iterable<DocumentationNode>) in buildPages() 12 fun Generator.buildAll(nodes: Iterable<DocumentationNode>) { in buildPages() 19 fun Generator.buildPage(node: DocumentationNode): Unit = buildPages(listOf(node)) in buildPage() 21 fun Generator.buildOutline(node: DocumentationNode): Unit = buildOutlines(listOf(node)) in buildPage() 23 fun Generator.buildAll(node: DocumentationNode): Unit = buildAll(listOf(node)) in buildPage() 27 fun location(node: DocumentationNode): Location in buildPage()
|
D | FileGenerator.kt | 18 override fun location(node: DocumentationNode): FileLocation { in <lambda>() 22 private fun fileForNode(node: DocumentationNode, extension: String = ""): File { in <lambda>() 26 fun locationWithoutExtension(node: DocumentationNode): FileLocation { in <lambda>() 30 override fun buildPages(nodes: Iterable<DocumentationNode>) { in <lambda>() 48 override fun buildOutlines(nodes: Iterable<DocumentationNode>) { in <lambda>() 69 override fun buildPackageList(nodes: Iterable<DocumentationNode>) { in <lambda>()
|
/external/dokka/core/src/main/kotlin/javadoc/ |
D | docbase.kt | 14 val node: DocumentationNode 17 open class DocumentationNodeBareAdapter(override val node: DocumentationNode) : Doc, HasDocumentati… 63 open class DocumentationNodeAdapter(override val module: ModuleNodeAdapter, node: DocumentationNode… in equals() 89 private fun DocumentationNode.hasAnnotation(klass: KClass<*>) = klass.qualifiedName in annotations.… in <lambda>() method 90 private fun DocumentationNode.hasModifier(name: String) = details(NodeKind.Modifier).any { it.name … in <lambda>() method 93 class PackageAdapter(module: ModuleNodeAdapter, node: DocumentationNode) : DocumentationNodeAdapter… 112 class AnnotationTypeDocAdapter(module: ModuleNodeAdapter, node: DocumentationNode) : ClassDocumenta… in allClasses() 116 class AnnotationDescAdapter(val module: ModuleNodeAdapter, val node: DocumentationNode) : Annotatio… 122 open class ProgramElementAdapter(module: ModuleNodeAdapter, node: DocumentationNode) : Documentatio… in annotationType() 139 var owner: DocumentationNode? = node in annotationType() [all …]
|
D | dokka-adapters.kt | 13 override fun buildPages(nodes: Iterable<DocumentationNode>) { in buildPages() 19 override fun buildOutlines(nodes: Iterable<DocumentationNode>) { in buildOutlines() 26 override fun buildPackageList(nodes: Iterable<DocumentationNode>) { in buildPackageList()
|
/external/dokka/core/src/test/kotlin/format/ |
D | JavaLayoutHtmlFormatTestCase.kt | 7 import org.jetbrains.dokka.DocumentationNode in <lambda>() 64 …protected fun buildPagesAndReadInto(model: DocumentationNode, nodes: List<DocumentationNode>, sb: … in <lambda>() 80 select: (model: DocumentationNode) -> List<DocumentationNode> in <lambda>()
|
/external/dokka/core/src/main/kotlin/Locations/ |
D | Location.kt | 44 fun relativePathToNode(node: DocumentationNode) = relativePathToNode(node.path.map { it.name }, nod… in <lambda>() 52 …deLocationAwareGenerator.relativePathToLocation(owner: DocumentationNode, node: DocumentationNode)… in relativePathToLocation()
|