MCPcopy
hub / github.com/SFTtech/openage / get_functionnames

Method get_functionnames

openage/codegen/cpp_testlist.py:51–61  ·  view source on GitHub ↗

Yields all function names in this namespace, as well as all subnamespaces.

(self)

Source from the content-addressed store, hash-verified

49 yield f"}} // {namespacename}\n\n"
50
51 def get_functionnames(self):
52 """
53 Yields all function names in this namespace,
54 as well as all subnamespaces.
55 """
56 for name in self.functions:
57 yield name
58
59 for namespacename, namespace in sorted(self.namespaces.items()):
60 for name in namespace.get_functionnames():
61 yield namespacename + "::" + name
62
63
64def generate_testlist(projectdir):

Callers 1

generate_testlistFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected