(node: Node)
| 281 | |
| 282 | #[cfg(feature = "tree-sitter-ast")] |
| 283 | fn decorated_target(node: Node) -> Option<Node> { |
| 284 | let mut cursor = node.walk(); |
| 285 | let mut iter = node.named_children(&mut cursor); |
| 286 | iter.find(|child| child.kind() == "function_definition" || child.kind() == "class_definition") |
| 287 | } |
| 288 | |
| 289 | #[cfg(feature = "tree-sitter-ast")] |
| 290 | fn normalize_kind(language: TsLanguageKind, key: &str, node: Node) -> String { |
no outgoing calls
no test coverage detected