candidateOf
private fn
CsvCandidate candidateOf(ddn.data.csv.FieldView cell,
const CsvReadPolicy read, bool tryParseTemporal) @safeOne 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
cell | the parsed field |
read | the reading policy (null tokens) |
tryParseTemporal | whether temporal candidates are tested |
Returns
the cell's candidate.