Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/knit/src/
DKnit.kt103 if (directive != null && markdownPart == MarkdownPart.TOC) { in knit()
104 markdownPart = MarkdownPart.POST_TOC in knit()
111 … require(markdownPart == MarkdownPart.PRE_TOC) { "Only one TOC directive is supported" } in knit()
112 markdownPart = MarkdownPart.TOC in knit()
216 if (inLine.startsWith(SECTION_START) && markdownPart == MarkdownPart.POST_TOC) { in knit()
412 enum class MarkdownPart { PRE_TOC, TOC, POST_TOC } class
418 var markdownPart: MarkdownPart = MarkdownPart.PRE_TOC
423 MarkdownPart.PRE_TOC -> preTocText
424 MarkdownPart.POST_TOC -> postTocText
435 if (!skip && markdownPart != MarkdownPart.TOC) in readLine()