MCPcopy Create free account
hub / github.com/python/cpython / iter_decls

Function iter_decls

Tools/c-analyzer/cpython/_analyzer.py:156–168  ·  view source on GitHub ↗
(filenames, **kwargs)

Source from the content-addressed store, hash-verified

154
155
156def iter_decls(filenames, **kwargs):
157 decls = _c_analyzer.iter_decls(
158 filenames,
159 # We ignore functions (and statements).
160 kinds=KINDS,
161 parse_files=_parser.parse_files,
162 **kwargs
163 )
164 for decl in decls:
165 if not decl.data:
166 # Ignore forward declarations.
167 continue
168 yield decl
169
170
171def analyze_resolved(resolved, decl, types, knowntypes, extra=None):

Callers 1

analyzeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…