The results from a parser.

Hierarchy

  • IResults

Properties

Properties

ncols: number

The number of columns parsed, or 0 if only row offsets are returned.

nrows: number

The number of rows parsed.

offsets: number[]

The index offsets into the data string for the rows or data items.

Notes

If the columnOffsets argument to the parser is false, the offsets array will be an array of length nrows, where offsets[r] is the index of the first character of row r.

If the columnOffsets argument to the parser is true, the offsets array will be an array of length nrows*ncols, where offsets[r*ncols + c] is the index of the first character of the item in row r, column c.

Generated using TypeDoc