isAsync: modifiers text includes 'suspend' (text-includes false positive on `@suspendMarker` annotations — preserve).
(&self, node: Node)
| 622 | /// isAsync: modifiers text includes 'suspend' (text-includes false |
| 623 | /// positive on `@suspendMarker` annotations — preserve). |
| 624 | fn is_async(&self, node: Node) -> bool { |
| 625 | (0..node.child_count()) |
| 626 | .filter_map(|i| node.child(i)) |
| 627 | .any(|c| c.kind() == "modifiers" && self.text(c).contains("suspend")) |
| 628 | } |
| 629 | |
| 630 | /// `(params): ReturnType` — the positional read TreeSitterExtractor's |
| 631 | /// kotlin getSignature does (#1495): the `function_value_parameters` child, |
no test coverage detected