MCPcopy Create free account
hub / github.com/cheeaun/phanpy / parseMultiLine

Function parseMultiLine

scripts/diff-po.js:61–69  ·  view source on GitHub ↗
(lines, startIndex)

Source from the content-addressed store, hash-verified

59}
60
61function parseMultiLine(lines, startIndex) {
62 let value = parseQuoted(lines[startIndex]);
63 let i = startIndex + 1;
64 while (i < lines.length && /^\s*"/.test(lines[i])) {
65 value += parseQuoted(lines[i]);
66 i++;
67 }
68 return { value, nextIndex: i };
69}
70
71function unescapePO(s) {
72 return s

Callers 1

parsePOFunction · 0.85

Calls 1

parseQuotedFunction · 0.85

Tested by

no test coverage detected