LexerMatcher

data class LexerMatcher<T>(trie: Map<Char, LexerImpl.LexerMatcher<T>>, predicates: List<Pair<CharPredicate, LexerImpl.LexerMatcher<T>>>, onMatch: ClosureFunction<LexerContext<T>, Char, Unit>?)

Constructors

LexerMatcher
Link copied to clipboard
common
fun <T> LexerMatcher(m: MatcherImpl<T>)

Functions

tryMatchChild
Link copied to clipboard
common
fun tryMatchChild(char: Char): LexerImpl.LexerMatcher<T>?

Properties

onMatch
Link copied to clipboard
common
val onMatch: ClosureFunction<LexerContext<T>, Char, Unit>?
predicates
Link copied to clipboard
common
val predicates: List<Pair<CharPredicate, LexerImpl.LexerMatcher<T>>>
trie
Link copied to clipboard
common
val trie: Map<Char, LexerImpl.LexerMatcher<T>>