web-csv-toolbox - v0.14.0
    Preparing search index...

    Interface StringCSVLexer

    String CSV Lexer interface

    StringCSVLexer tokenizes string CSV data into fields and records.

    interface StringCSVLexer {
        lex(
            chunk?: string,
            options?: CSVLexerLexOptions,
        ): IterableIterator<Token>;
    }

    Implemented by

    Index

    Methods

    Methods

    • Lexes the given chunk of CSV string data.

      Parameters

      • Optionalchunk: string

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

      • Optionaloptions: CSVLexerLexOptions

        Lexer options.

      Returns IterableIterator<Token>

      An iterable iterator of tokens.