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