pub fn remove_node(source: &str, node: &NodeRef) -> Result<RemoveResult, String>
Remove a node from the source text, returning the modified source and the detached node’s text.