Get text content of a node
(&self, node: &Node, source: &str)
| 937 | |
| 938 | /// Get text content of a node |
| 939 | fn node_text(&self, node: &Node, source: &str) -> Option<String> { |
| 940 | node.utf8_text(source.as_bytes()) |
| 941 | .ok() |
| 942 | .map(|s| s.to_string()) |
| 943 | } |
| 944 | |
| 945 | /// Build function signature from declaration |
| 946 | fn build_function_signature(&self, node: &Node, source: &str) -> String { |
no test coverage detected