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

commonMain.piacenti.dslmaker.Expectations.kt Maven / Gradle / Ivy

Go to download

Kotlin multiplatform library to facilitate creation of DSLs with ANTLR or a simple built in parser

There is a newer version: 1.1.55
Show newest version
package piacenti.dslmaker

internal expect fun getCurrentTimeInMilliSeconds(): Long
expect fun  String.genericRegex(): Regex
data class Group(val text:String?, val startIndex: Int, val endIndex:Int)
data class RegexMatch(val groups:List)
expect fun regexMatchFromOffset(text:String, patternString:String, startIndex:Int):RegexMatch?
interface Logger{
    fun info(message:String)
    fun debug(message:String)
    fun error(message:String)
}
internal expect val Any.LOG:Logger




© 2015 - 2025 Weber Informatics LLC | Privacy Policy