(node: Node)
| 402 | } |
| 403 | |
| 404 | fn named_children(node: Node) -> Vec<Node> { |
| 405 | let mut cursor = node.walk(); |
| 406 | let mut children = Vec::new(); |
| 407 | if cursor.goto_first_child() { |
| 408 | loop { |
| 409 | let child = cursor.node(); |
| 410 | if child.is_named() { |
| 411 | children.push(child); |
| 412 | } |
| 413 | if !cursor.goto_next_sibling() { |
| 414 | break; |
| 415 | } |
| 416 | } |
| 417 | } |
| 418 | children |
| 419 | } |
| 420 | |
| 421 | fn string_literal_value(node: Node, source: &str) -> String { |
| 422 | clean_identifier(node_text(node, source)) |
no outgoing calls
no test coverage detected