isAsync: modifiers text includes 'suspend' (text-includes false positive on `@suspendMarker` annotations — preserve).
(&self, node: Node)
| 569 | /// isAsync: modifiers text includes 'suspend' (text-includes false |
| 570 | /// positive on `@suspendMarker` annotations — preserve). |
| 571 | fn is_async(&self, node: Node) -> bool { |
| 572 | (0..node.child_count()) |
| 573 | .filter_map(|i| node.child(i)) |
| 574 | .any(|c| c.kind() == "modifiers" && self.text(c).contains("suspend")) |
| 575 | } |
| 576 | |
| 577 | /// `(params): ReturnType` — the positional read TreeSitterExtractor's |
| 578 | /// kotlin getSignature does (#1495): the `function_value_parameters` child, |
no test coverage detected