MCPcopy Index your code
hub / github.com/microsoft/SandDance / parse

Function parse

docs/tests/v2/es6/js/sanddance.js:77784–77793  ·  view source on GitHub ↗
(text, f)

Source from the content-addressed store, hash-verified

77782 DELIMITER = delimiter.charCodeAt(0);
77783
77784 function parse(text, f) {
77785 var convert,
77786 columns,
77787 rows = parseRows(text, function (row, i) {
77788 if (convert) return convert(row, i - 1);
77789 columns = row, convert = f ? customConverter(row, f) : objectConverter(row);
77790 });
77791 rows.columns = columns || [];
77792 return rows;
77793 }
77794
77795 function parseRows(text, f) {
77796 var rows = [],

Callers 5

parseSpecifierFunction · 0.70
_defaultFunction · 0.70
ingestFunction · 0.70
requestFunction · 0.70
interpolateTransformFunction · 0.70

Calls 5

parseRowsFunction · 0.70
customConverterFunction · 0.70
objectConverterFunction · 0.70
dsvFunction · 0.70
dataFunction · 0.70

Tested by

no test coverage detected