invoke

open operator fun Char.invoke(block: MatchFunction<T> = {})

Configures the lexer to execute a specific block of code when this character matches.

open operator fun String.invoke(block: MatchFunction<T> = {})

Configures the lexer to execute a specific block of code when this sequence of characters matches.