commonMain.piacenti.dslmaker.Expectations.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dsl-maker-js Show documentation
Show all versions of dsl-maker-js Show documentation
Kotlin multiplatform library to facilitate creation of DSLs with ANTLR or a simple built in parser
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