commonMain.piacenti.dslmaker.interfaces.TokenDefinition.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.interfaces
/**
* @author Piacenti
*/
interface TokenDefinition {
/**
* @return
*/
val regexDefinition: String
val matchFilter: Int
val addContext: String?
val removeContext: String?
val context: String?
val validateToken:((String) -> Boolean)?
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy