Get text content of a node
(&self, node: &Node, source: &str)
| 982 | |
| 983 | /// Get text content of a node |
| 984 | fn node_text(&self, node: &Node, source: &str) -> Option<String> { |
| 985 | node.utf8_text(source.as_bytes()) |
| 986 | .ok() |
| 987 | .map(|s| s.to_string()) |
| 988 | } |
| 989 | |
| 990 | /// Build function signature from declaration |
| 991 | fn build_function_signature(&self, node: &Node, source: &str) -> String { |
no test coverage detected