web-csv-toolbox
    Preparing search index...

    Class CSVLexer<Delimiter, Quotation>

    CSV Lexer.

    CSVLexer tokenizes CSV data into fields and records.

    Type Parameters

    • Delimiter extends string = DEFAULT_DELIMITER
    • Quotation extends string = DEFAULT_QUOTATION
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Lexes the given chunk of CSV data.

      Parameters

      • Optionalchunk: string

        The chunk of CSV data to be lexed. Omit to flush remaining data.

      • Optionaloptions: CSVLexerLexOptions

        Lexer options.

      Returns IterableIterator<Token>

      An iterable iterator of tokens.