Method
visit_overloaded_func_def
(self, o: mypy.nodes.OverloadedFuncDef)
Source from the content-addressed store, hash-verified
| 160 | return self.dump(a, o) |
| 161 | |
| 162 | def visit_overloaded_func_def(self, o: mypy.nodes.OverloadedFuncDef) -> str: |
| 163 | a: Any = o.items.copy() |
| 164 | if o.type: |
| 165 | a.insert(0, o.type) |
| 166 | if o.impl: |
| 167 | a.insert(0, o.impl) |
| 168 | if o.is_static: |
| 169 | a.insert(-1, "Static") |
| 170 | if o.is_class: |
| 171 | a.insert(-1, "Class") |
| 172 | return self.dump(a, o) |
| 173 | |
| 174 | def visit_class_def(self, o: mypy.nodes.ClassDef) -> str: |
| 175 | a = [o.name, o.defs.body] |
Callers
nothing calls this directly
Tested by
no test coverage detected