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

Function _parse

Tools/c-analyzer/c_parser/parser/__init__.py:157–163  ·  view source on GitHub ↗
(srclines, anon_name, **srckwargs)

Source from the content-addressed store, hash-verified

155
156
157def _parse(srclines, anon_name, **srckwargs):
158 from ._global import parse_globals
159
160 source = _iter_source(srclines, **srckwargs)
161 for result in parse_globals(source, anon_name):
162 # XXX Handle blocks here instead of in parse_globals().
163 yield result
164
165
166# We use defaults that cover most files. Files with bigger declarations

Callers 2

_parse_fileFunction · 0.90
parseFunction · 0.70

Calls 2

_iter_sourceFunction · 0.85
parse_globalsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…