MatchedMatcherBuilder
class MatchedMatcherBuilder(val baseRecognizer: TokenRecognizer, matchesToTokenType: TokenType) : TokenMatcherBuilder
A simple builder for matchers, whose main purpose is to provide a way to select a "next state" for a matcher through the thenState function.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Specifies that, once a match is found, the lexer should go to the default state.
Specifies that, once a match is found, the lexer should use the given state next. Valid values are: