isStatic (dart.ts:234-243).
(&self, node: Node<'t>)
| 623 | |
| 624 | /// isStatic (dart.ts:234-243). |
| 625 | fn is_static_of(&self, node: Node<'t>) -> bool { |
| 626 | if node.kind() == "method_signature" { |
| 627 | for i in 0..node.child_count() { |
| 628 | if let Some(c) = node.child(i) { |
| 629 | if c.kind() == "static" { |
| 630 | return true; |
| 631 | } |
| 632 | } |
| 633 | } |
| 634 | } |
| 635 | false |
| 636 | } |
| 637 | |
| 638 | /// getDeclarationWrapper (dart.ts) — a member with no body (`Foo._();`, |
| 639 | /// `const Foo.c();`, an abstract `void m();`) is a `declaration` wrapping |
no outgoing calls
no test coverage detected