(&self, node: Node)
| 452 | } |
| 453 | |
| 454 | fn is_async(&self, node: Node) -> bool { |
| 455 | (0..node.child_count()) |
| 456 | .filter_map(|i| node.child(i)) |
| 457 | .any(|c| c.kind() == "modifier" && self.text(c) == "async") |
| 458 | } |
| 459 | |
| 460 | /// isConst: `const` → true; else `static` AND `readonly` both present. |
| 461 | fn is_const(&self, node: Node) -> bool { |
no test coverage detected