Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumerate serialized CSV data character by character. Instances of this class are returned by the {@link Writer.lazy} method.

Hierarchy

  • WriterCharacterIterator

Index

Constructors

Properties

Methods

Constructors

constructor

  • Construct a new WriterRowIterator instance.

    Parameters

    • rows: RowsIterable

      An iterable enumerating rows to be serialized, where the rows are themselves iterables enumerating columns.

    • Optional writer: Writer

      The Writer instance to use when serializing rows. If the argument isn't provided, then a Writer using the default configuration will be instantiated.

    Returns WriterCharacterIterator

Properties

buffer

buffer: string = ""

index

index: number = 0

rows

writer

writer: Writer

Methods

__@iterator

  • __@iterator(): this
  • Implement ES6 iterable interface.

    Returns this

    This instance, which is both an iterable and an iterator.

next

  • next(): IteratorResult<string>
  • Implement ES6 iterator interface.

    Returns IteratorResult<string>

    An ES6 iterator result object having "done" and "value" properties.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc