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

Method ref

deps/v8/third_party/jinja2/idtracking.py:77–84  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

75 return None
76
77 def ref(self, name: str) -> str:
78 rv = self.find_ref(name)
79 if rv is None:
80 raise AssertionError(
81 "Tried to resolve a name to a reference that was"
82 f" unknown to the frame ({name!r})"
83 )
84 return rv
85
86 def copy(self) -> "Symbols":
87 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