(
self, name: str, load: t.Optional[t.Tuple[str, t.Optional[str]]] = None
)
| 51 | visitor.visit(node, **kwargs) |
| 52 | |
| 53 | def _define_ref( |
| 54 | self, name: str, load: t.Optional[t.Tuple[str, t.Optional[str]]] = None |
| 55 | ) -> str: |
| 56 | ident = f"l_{self.level}_{name}" |
| 57 | self.refs[name] = ident |
| 58 | if load is not None: |
| 59 | self.loads[ident] = load |
| 60 | return ident |
| 61 | |
| 62 | def find_load(self, target: str) -> t.Optional[t.Any]: |
| 63 | if target in self.loads: |
no outgoing calls
no test coverage detected