Lexer constructor
Lexer({
- required String source,
- ErrorHandler? errorHandler,
Creates a Pinto lexer for source
.
Implementation
Lexer({
required String source,
ErrorHandler? errorHandler,
}) : _errorHandler = errorHandler,
_source = source;