MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / SimpleStringCollector

Class SimpleStringCollector

scripts/openapi.py:306–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304
305
306class SimpleStringCollector(cst.CSTVisitor):
307 def __init__(self):
308 super().__init__()
309 self._strings = []
310
311 @property
312 def strings(self):
313 return self._strings
314
315 def visit_SimpleString(self, node: cst.SimpleString) -> bool | None:
316 self._strings.append(node.evaluated_value)
317
318
319class FunctionCallCollector(cst.CSTVisitor):

Callers 1

visit_FunctionDefMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…