A member's own `static` keyword: the isStatic hook TS and JS share (hasStaticModifier, #2761).
(&self, node: Node)
| 1084 | /// A member's own `static` keyword: the isStatic hook TS and JS share |
| 1085 | /// (hasStaticModifier, #2761). |
| 1086 | fn is_static(&self, node: Node) -> Option<bool> { |
| 1087 | Some(self.has_keyword_child(node, "static")) |
| 1088 | } |
| 1089 | |
| 1090 | fn is_const_decl(&self, node: Node) -> bool { |
| 1091 | node.kind() == "lexical_declaration" && self.has_keyword_child(node, "const") |
no test coverage detected