MCPcopy Create free account
hub / github.com/nodejs/node / addRow

Method addRow

deps/v8/tools/system-analyzer/view/script-panel.mjs:502–513  ·  view source on GitHub ↗
(name, subtypeName, entries)

Source from the content-addressed store, hash-verified

500 }
501
502 addRow(name, subtypeName, entries) {
503 const tr = DOM.tr();
504 tr.appendChild(DOM.td(name));
505 tr.appendChild(DOM.td(subtypeName));
506 tr.appendChild(DOM.td(entries.length));
507 const button =
508 DOM.button('🔎', this._scriptPanel.showToolTipEntriesHandler);
509 button.title = `Show all ${entries.length} ${name || subtypeName} entries.`
510 button.data = entries;
511 tr.appendChild(DOM.td(button));
512 this.tableNode.appendChild(tr);
513 }
514}
515
516class SourcePositionIterator {

Callers 1

constructorMethod · 0.95

Calls 3

trMethod · 0.80
tdMethod · 0.80
buttonMethod · 0.80

Tested by

no test coverage detected