aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/templating/ImmediateHtmlCommandConsumer.kt
blob: 2b721e8ce6babc186b666bdce0bd70a4133c6630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.jetbrains.dokka.base.templating

import org.jetbrains.dokka.base.renderers.html.TemplateBlock
import org.jetbrains.dokka.base.renderers.html.command.consumers.ImmediateResolutionTagConsumer

interface ImmediateHtmlCommandConsumer {
    fun canProcess(command: Command): Boolean

    fun <R> processCommand(command: Command, block: TemplateBlock, tagConsumer: ImmediateResolutionTagConsumer<R>)

    fun <R> processCommandAndFinalize(command: Command, block: TemplateBlock, tagConsumer: ImmediateResolutionTagConsumer<R>): R
}