invoke
open operator fun Char.invoke(block: ClosureFunction<LexerContext<T>, Char, Unit> = {})
Content copied to clipboard
Configures the lexer to execute a specific block of code when this character matches.
open operator fun String.invoke(block: ClosureFunction<LexerContext<T>, Char, Unit> = {})
Content copied to clipboard
Configures the lexer to execute a specific block of code when this sequence of characters matches.