isAsync (dart.ts:223-233) — the `async` anon child of the SIBLING function_body; `async*`/`sync*` are different token types → false.
(&self, node: Node<'t>)
| 684 | /// isAsync (dart.ts:223-233) — the `async` anon child of the SIBLING |
| 685 | /// function_body; `async*`/`sync*` are different token types → false. |
| 686 | fn is_async_of(&self, node: Node<'t>) -> bool { |
| 687 | if let Some(next) = node.next_named_sibling() { |
| 688 | if next.kind() == "function_body" { |
| 689 | for c in next.children(&mut next.walk()) { |
| 690 | if c.kind() == "async" { |
| 691 | return true; |
| 692 | } |
| 693 | } |
| 694 | } |
| 695 | } |
| 696 | false |
| 697 | } |
| 698 | |
| 699 | /// isStatic (dart.ts:234-243). |
| 700 | fn is_static_of(&self, node: Node<'t>) -> bool { |
no test coverage detected