candidateOf

private fnCsvCandidate candidateOf(ddn.data.csv.FieldView cell, const CsvReadPolicy read, bool tryParseTemporal) @safe

One cell's candidate: null, word-form boolean, long, ulong, double (or a special spelling), an opt-in strict temporal, else STRING. The grammars are pairwise disjoint given word-form booleans, so the order is a presentation detail, not a tie-break - and a cell that infers kind K is by construction a member of K in pass 2.

Parameters

cellthe parsed field
readthe reading policy (null tokens)
tryParseTemporalwhether temporal candidates are tested

Returns

the cell's candidate.