A member's own `static` keyword: the isStatic hook TS and JS share (hasStaticModifier, #2761).
(&self, node: Node)
| 1110 | /// A member's own `static` keyword: the isStatic hook TS and JS share |
| 1111 | /// (hasStaticModifier, #2761). |
| 1112 | fn is_static(&self, node: Node) -> Option<bool> { |
| 1113 | Some(self.has_keyword_child(node, "static")) |
| 1114 | } |
| 1115 | |
| 1116 | fn is_const_decl(&self, node: Node) -> bool { |
| 1117 | node.kind() == "lexical_declaration" && self.has_keyword_child(node, "const") |
no test coverage detected