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

Method toString

deps/v8/tools/system-analyzer/log/map.mjs:315–328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 }
314
315 toString() {
316 let s = this.symbol();
317 if (this.isTransition()) return s + this.name;
318 if (this.isFastToSlow()) return s + this.reason;
319 if (this.isCopyAsPrototype()) return s + 'Copy as Prototype';
320 if (this.isOptimizeAsPrototype()) {
321 return s + 'Optimize as Prototype';
322 }
323 if (this.isReplaceDescriptors() && this.name) {
324 return this.type + ' ' + this.symbol() + this.name;
325 }
326 return this.type + ' ' + (this.reason ? this.reason : '') + ' ' +
327 (this.name ? this.name : '')
328 }
329}

Callers 10

_entrySummaryMethod · 0.45
_formatAddressPartMethod · 0.45
_updateMethod · 0.45
_renderMethod · 0.45
darkenMethod · 0.45
_addKeyValueMethod · 0.45
_addArrayValueMethod · 0.45
drawEdgeMethod · 0.45
_addRowMethod · 0.45
_addTransitionEdgeMethod · 0.45

Calls 6

symbolMethod · 0.95
isTransitionMethod · 0.95
isFastToSlowMethod · 0.95
isCopyAsPrototypeMethod · 0.95
isOptimizeAsPrototypeMethod · 0.95
isReplaceDescriptorsMethod · 0.95

Tested by

no test coverage detected