Constructs a new CSVLexer instance.
The common options for the lexer.
Lexes the given chunk of CSV data.
Optionalchunk: stringThe chunk of CSV data to be lexed. Omit to flush remaining data.
Optionaloptions: CSVLexerLexOptionsLexer options.
An iterable iterator of tokens.
Flexible String CSV Lexer implementation.
A balanced implementation that tokenizes CSV data into fields and records, optimizing for both performance and memory efficiency.
Remarks
This implementation is designed to handle various CSV formats flexibly while maintaining good performance characteristics. For specialized use cases, future implementations may provide optimizations for specific scenarios (e.g., speed-optimized, memory-optimized).