MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / row

Function row

api/mode.ts:425–437  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

423 return hout.join("");
424 }()),
425 row = function mode_parseRow():string {
426 const hout:string[] = ["<tr>"];
427 let b = 0;
428 hout.push(`<td>${a}</td>`);
429 do {
430 if (keys[b] !== "token") {
431 hout.push(`<td>${options.parsed[keys[b]][a].toString().replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;")}</td>`);
432 }
433 b = b + 1;
434 } while (b < keylen);
435 hout.push(`<td>${options.parsed.token[a].replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;")}</td></tr>`);
436 return hout.join("");
437 },
438 parsOut:string[] = [];
439 parsOut.push(`<p><strong>${parsLen}</strong> total parsed tokens</p>`);
440 parsOut.push("<table><thead>");

Callers 1

modeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected