isAsync: modifiers text includes 'suspend' (text-includes false positive on `@suspendMarker` annotations — preserve).
(&self, node: Node)
| 484 | /// isAsync: modifiers text includes 'suspend' (text-includes false |
| 485 | /// positive on `@suspendMarker` annotations — preserve). |
| 486 | fn is_async(&self, node: Node) -> bool { |
| 487 | (0..node.child_count()) |
| 488 | .filter_map(|i| node.child(i)) |
| 489 | .any(|c| c.kind() == "modifiers" && self.text(c).contains("suspend")) |
| 490 | } |
| 491 | |
| 492 | /// extractKotlinReturnType — positional: the first user_type/nullable_type |
| 493 | /// AFTER function_value_parameters; function_body/type_constraints first → |
no test coverage detected