| 304 | |
| 305 | |
| 306 | class 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 | |
| 319 | class FunctionCallCollector(cst.CSTVisitor): |
no outgoing calls
no test coverage detected
searching dependent graphs…