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>)
| 607 | /// isAsync (dart.ts:223-233) — the `async` anon child of the SIBLING |
| 608 | /// function_body; `async*`/`sync*` are different token types → false. |
| 609 | fn is_async_of(&self, node: Node<'t>) -> bool { |
| 610 | if let Some(next) = node.next_named_sibling() { |
| 611 | if next.kind() == "function_body" { |
| 612 | for i in 0..next.child_count() { |
| 613 | if let Some(c) = next.child(i) { |
| 614 | if c.kind() == "async" { |
| 615 | return true; |
| 616 | } |
| 617 | } |
| 618 | } |
| 619 | } |
| 620 | } |
| 621 | false |
| 622 | } |
| 623 | |
| 624 | /// isStatic (dart.ts:234-243). |
| 625 | fn is_static_of(&self, node: Node<'t>) -> bool { |
no outgoing calls
no test coverage detected