pythonExtractor.isAsync: the PREVIOUS SIBLING token is `async`.
(&self, node: Node)
| 397 | |
| 398 | /// pythonExtractor.isAsync: the PREVIOUS SIBLING token is `async`. |
| 399 | fn is_async(&self, node: Node) -> bool { |
| 400 | node.prev_sibling().map(|p| p.kind() == "async").unwrap_or(false) |
| 401 | } |
| 402 | |
| 403 | /// pythonExtractor.isStatic: preceding decorator mentioning `staticmethod`. |
| 404 | fn is_static(&self, node: Node) -> bool { |
no test coverage detected