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>)
| 507 | /// isAsync (dart.ts:223-233) — the `async` anon child of the SIBLING |
| 508 | /// function_body; `async*`/`sync*` are different token types → false. |
| 509 | fn is_async_of(&self, node: Node<'t>) -> bool { |
| 510 | if let Some(next) = node.next_named_sibling() { |
| 511 | if next.kind() == "function_body" { |
| 512 | for i in 0..next.child_count() { |
| 513 | if let Some(c) = next.child(i) { |
| 514 | if c.kind() == "async" { |
| 515 | return true; |
| 516 | } |
| 517 | } |
| 518 | } |
| 519 | } |
| 520 | } |
| 521 | false |
| 522 | } |
| 523 | |
| 524 | /// isStatic (dart.ts:234-243). |
| 525 | fn is_static_of(&self, node: Node<'t>) -> bool { |
no outgoing calls
no test coverage detected