MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / _extract_inline_names

Function _extract_inline_names

lean_py/_parse.py:264–267  ·  view source on GitHub ↗
(header_path: Path)

Source from the content-addressed store, hash-verified

262 if ptype == "void" and not pname:
263 continue
264 params.append(FuncParam(name=pname, c_type=ptype))
265 return params, is_variadic
266
267
268def _extract_export_names(header_path: Path) -> set[str]:
269 text = header_path.read_text()
270 pattern = re.compile(r"LEAN_EXPORT\s+(?:LEAN_NORETURN\s+)?[\w\s*]+\s+(\w+)\s*\(")

Callers 1

_classifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected