MCPcopy Create free account
hub / github.com/OpenIPC/firmware / rec

Function rec

general/scripts/kconfig_graph.py:151–157  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

149 out: list[str] = []
150
151 def rec(e):
152 if isinstance(e, kconfiglib.Symbol):
153 if e.name and e.name != "y" and e.name != "n":
154 out.append(e.name)
155 elif isinstance(e, tuple):
156 for child in e[1:]:
157 rec(child)
158
159 rec(expr)
160 return sorted(set(out))

Callers 1

_walk_exprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected