(func: FuncBase | Decorator)
| 9543 | |
| 9544 | |
| 9545 | def is_static(func: FuncBase | Decorator) -> bool: |
| 9546 | if isinstance(func, Decorator): |
| 9547 | return is_static(func.func) |
| 9548 | elif isinstance(func, FuncBase): |
| 9549 | return func.is_static |
| 9550 | assert False, f"Unexpected func type: {type(func)}" |
| 9551 | |
| 9552 | |
| 9553 | def is_property(defn: SymbolNode) -> bool: |
nothing calls this directly
no test coverage detected
searching dependent graphs…