MCPcopy Index your code
hub / github.com/python/cpython / anon_name

Function anon_name

Tools/c-analyzer/c_parser/parser/__init__.py:140–144  ·  view source on GitHub ↗
(prefix='anon-')

Source from the content-addressed store, hash-verified

138def anonymous_names():
139 counter = 1
140 def anon_name(prefix='anon-'):
141 nonlocal counter
142 name = f'{prefix}{counter}'
143 counter += 1
144 return name
145 return anon_name
146
147

Callers 4

parse_function_bodyFunction · 0.85
_parse_next_local_staticFunction · 0.85
_parse_struct_nextFunction · 0.85
_parse_nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…