(&self, node: Node)
| 439 | } |
| 440 | |
| 441 | fn is_async(&self, node: Node) -> bool { |
| 442 | (0..node.child_count()) |
| 443 | .filter_map(|i| node.child(i)) |
| 444 | .any(|c| c.kind() == "modifier" && self.text(c) == "async") |
| 445 | } |
| 446 | |
| 447 | /// isConst: `const` → true; else `static` AND `readonly` both present. |
| 448 | fn is_const(&self, node: Node) -> bool { |
no test coverage detected