MCPcopy Index your code
hub / github.com/nodejs/node / constructor

Method constructor

deps/v8/tools/profview/profile-utils.js:326–338  ·  view source on GitHub ↗
(filter, withCategories)

Source from the content-addressed store, hash-verified

324
325class FunctionListTree {
326 constructor(filter, withCategories) {
327 if (withCategories) {
328 let { categories, root } = buildCategoryTreeAndLookup();
329 this.tree = root;
330 this.categories = categories;
331 } else {
332 this.tree = createEmptyNode("root");
333 this.categories = null;
334 }
335
336 this.codeVisited = [];
337 this.filter = filter;
338 }
339
340 addStack(file, tickIndex) {
341 let stack = file.ticks[tickIndex].s;

Callers

nothing calls this directly

Calls 2

createEmptyNodeFunction · 0.85

Tested by

no test coverage detected