aboutsummaryrefslogtreecommitdiff
path: root/plugins/templating/src/main/kotlin/templates/Substitutor.kt
blob: 4dc4d35331b01c9782c271dbf2ac278f0d8c99e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*
 * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */

package org.jetbrains.dokka.templates

import org.jetbrains.dokka.base.templating.SubstitutionCommand

public fun interface Substitutor {
    public fun trySubstitute(context: TemplatingContext<SubstitutionCommand>, match: MatchResult): String?
}