fn validate_insert_inner( it: &Interp, parent: Par, node: &Value, child: Option<usize>, replacing: bool, replace_all: bool, ) -> Result<(), Value>