MCPcopy Create free account
hub / github.com/FonaTech/Clouds-Coder / _module_stub_names

Method _module_stub_names

split_coder.py:1043–1052  ·  view source on GitHub ↗
(self, module_nodes: List[NodeInfo])

Source from the content-addressed store, hash-verified

1041 return "\n".join(parts) + "\n"
1042
1043 def _module_stub_names(self, module_nodes: List[NodeInfo]) -> List[str]:
1044 names: List[str] = []
1045 seen: Set[str] = set()
1046 for node in module_nodes:
1047 for name in self._node_stub_names(node):
1048 if name in seen:
1049 continue
1050 seen.add(name)
1051 names.append(name)
1052 return names
1053
1054 def _node_stub_names(self, node: NodeInfo) -> List[str]:
1055 if node.kind in {"class", "function"}:

Callers 1

generate_moduleMethod · 0.95

Calls 1

_node_stub_namesMethod · 0.95

Tested by

no test coverage detected