All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ybo.trackingplugin.tasks.utils.impl.patterns.KotlinParamHigherOrderFunctionPattern.kt Maven / Gradle / Ivy

Go to download

gradle plugin allowing to add automatic logs (or other process) at the start of each traced method

There is a newer version: 0.6.2
Show newest version
package com.ybo.trackingplugin.tasks.utils.impl.patterns

import com.ybo.trackingplugin.tasks.data.PatternToSearch

class KotlinParamHigherOrderFunctionPattern : PatternToSearch {
    override val name: KotlinParamPatternName = KotlinParamPatternName.KotlinHigherOrderParam

    override fun regex(): Regex {
        return Regex("\\b(\\w+)\\s*(?::\\s*[^,=]\\s*)?,?\\s*")
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy