Lexer DSL
Parameters
T
The type of tokens the lexer generates.
Functions
configure
Link copied to clipboard
Configures the lexer to execute a specific block of code when match.
invoke
Link copied to clipboard
Configures the lexer to execute a specific block of code when this character matches.
Configures the lexer to execute a specific block of code when this sequence of characters matches.
matching
Link copied to clipboard
Returns a matcher for a predicate.
Returns a matcher for a character.
Returns a matcher for a sequence of characters.
Returns a matcher for a characters and configures it.
Returns a matcher for a sequence of characters and configures it.