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

Method __str__

deps/v8/tools/grokdump.py:1657–1662  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1655 p.Print("}")
1656
1657 def __str__(self):
1658 inferred_name = ""
1659 if self.shared is not None and self.shared.Is(SharedFunctionInfo):
1660 inferred_name = self.shared.inferred_name
1661 return "JSFunction(%s, %s) " % \
1662 (self.heap.reader.FormatIntPtr(self.address), inferred_name)
1663
1664 def _GetSource(self):
1665 source = "?source?"

Callers

nothing calls this directly

Calls 2

IsMethod · 0.80
FormatIntPtrMethod · 0.45

Tested by

no test coverage detected