Home
last modified time | relevance | path

Searched refs:MarkdownNode (Results 1 – 2 of 2) sorted by relevance

/external/dokka/core/src/main/kotlin/Markdown/
DMarkdownProcessor.kt11 class MarkdownNode(val node: ASTNode, val parent: MarkdownNode?, val markdown: String) { in <lambda>() class
12 val children: List<MarkdownNode> = node.children.map { MarkdownNode(it, this, markdown) } in <lambda>()
15 fun child(type: IElementType): MarkdownNode? = children.firstOrNull { it.type == type } in <lambda>()
22 fun MarkdownNode.visit(action: (MarkdownNode, () -> Unit) -> Unit) { in MarkdownNode() method
30 fun MarkdownNode.toTestString(): String { in MarkdownNode() method
44 private fun MarkdownNode.presentTo(sb: StringBuilder) { in MarkdownNode() method
49 fun parseMarkdown(markdown: String): MarkdownNode { in parseMarkdown()
51 return MarkdownNode(LeafASTNode(MarkdownElementTypes.MARKDOWN_FILE, 0, 0), null, markdown) in parseMarkdown()
52 …return MarkdownNode(MarkdownParser(CommonMarkFlavourDescriptor()).buildMarkdownTreeFromString(mark… in parseMarkdown()
/external/dokka/core/src/main/kotlin/Kotlin/
DContentBuilder.kt14 fun buildContent(tree: MarkdownNode, linkResolver: LinkResolver, inline: Boolean = false): MutableC… in buildContent()
24 fun buildContentTo(tree: MarkdownNode, target: ContentBlock, linkResolver: LinkResolver) { in buildContentTo()
171 private fun MarkdownNode.getLabelText() = children.filter { it.type == MarkdownTokenTypes.TEXT || i… in <lambda>() method
176 fun buildInlineContentTo(tree: MarkdownNode, target: ContentBlock, linkResolver: LinkResolver) { in keepEol()
183 fun renderLinkTextTo(tree: MarkdownNode, target: ContentBlock, linkResolver: LinkResolver) { in renderLinkTextTo()