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

Method ref

tools/inspector_protocol/jinja2/idtracking.py:62–67  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

60 return self.parent.find_ref(name)
61
62 def ref(self, name):
63 rv = self.find_ref(name)
64 if rv is None:
65 raise AssertionError('Tried to resolve a name to a reference that '
66 'was unknown to the frame (%r)' % name)
67 return rv
68
69 def copy(self):
70 rv = object.__new__(self.__class__)

Callers

nothing calls this directly

Calls 2

find_refMethod · 0.95
AssertionErrorFunction · 0.50

Tested by

no test coverage detected