matching

abstract fun matching(string: String): LexerDSL<T>

Returns a matcher for a sequence of characters.

open fun matching(string: String, block: LexerConfig<T>)

Returns a matcher for a sequence of characters and configures it.

abstract fun matching(char: Char): LexerDSL<T>

Returns a matcher for a character.

open fun matching(char: Char, block: LexerConfig<T>)

Returns a matcher for a characters and configures it.

abstract fun matching(block: CharPredicate): LexerDSL<T>

Returns a matcher for a predicate.