Get text content of a node
(&self, node: &Node, source: &str)
| 954 | |
| 955 | /// Get text content of a node |
| 956 | fn node_text(&self, node: &Node, source: &str) -> Option<String> { |
| 957 | node.utf8_text(source.as_bytes()) |
| 958 | .ok() |
| 959 | .map(|s| s.to_string()) |
| 960 | } |
| 961 | |
| 962 | /// Build function signature from declaration |
| 963 | fn build_function_signature(&self, node: &Node, source: &str) -> String { |
no test coverage detected