isAsync: dead hook — `async` never sits inside `modifiers` (it's an anon child after the params) → effectively always false, but PRESENT.
(&self, node: Node)
| 494 | /// isAsync: dead hook — `async` never sits inside `modifiers` (it's an |
| 495 | /// anon child after the params) → effectively always false, but PRESENT. |
| 496 | fn is_async(&self, node: Node) -> bool { |
| 497 | (0..node.child_count()) |
| 498 | .filter_map(|i| node.child(i)) |
| 499 | .any(|c| c.kind() == "modifiers" && self.text(c).contains("async")) |
| 500 | } |
| 501 | |
| 502 | /// extractSwiftReturnType — POSITIONAL: first user_type/optional_type after |
| 503 | /// the name simple_identifier, before function_body; last dotted segment; |
no test coverage detected