MCPcopy Create free account
hub / github.com/Inist-CNRS/node-csv-string / Row

Method Row

src/Parser.ts:86–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 Row(): Value[] {
87 const row: Value[] = [];
88 while (true) {
89 row.push(this.Value());
90 if (this.Comma()) {
91 continue;
92 }
93 if (this.LineBreak() || this.EOF()) {
94 return row;
95 } else {
96 row.pop();
97 return row;
98 }
99 }
100 }
101
102 private Value(): Value {
103 const residue = this.Residue();

Callers 2

readFunction · 0.95
FileMethod · 0.95

Calls 4

ValueMethod · 0.95
CommaMethod · 0.95
LineBreakMethod · 0.95
EOFMethod · 0.95

Tested by

no test coverage detected