create

fun <T> create(block: LexerConfig<T>): Lexer<T>

Creates and configures a Lexer.

Return

A configured Lexer.

Author

AdrianTodt

Parameters

T

The type of tokens the lexer generates.

block

The lexer configurator.