fn pop_nodeset_or_context_node<'c>(
        &mut self,
        context: &context::Evaluation<'c, 'd>,
    ) -> Result<Nodeset<'d>, Error> {
        match self.0.pop() {
            Some(Value::Nodeset(ns)) => Ok(ns),
            Some(arg) => Err(Error::not_a_nodeset(&arg)),
            None => Ok(nodeset![context.node]),
        }
    }
/// Removes the **last** argument if it is a nodeset. If no
/// argument is present, the context node is added to a nodeset
/// and returned. If there is an argument but it is not a nodeset,
/// a type mismatch error is returned.
Removes the **last** argument if it is a nodeset. If no
argument is present, the context node is added to a nodeset
and returned. If there is an argument but it is not a nodeset,
a type mismatch error is returned.
Removes the ** last ** argument if it is a nodeset . If no argument is present the context node is added to a nodeset and returned . If there is an argument but it is not a nodeset a type mismatch error is returned .
fn pop_nodeset_or_context_node<'c>(
        &mut self,
        context: &context::Evaluation<'c, 'd>,
    ) -> Result<Nodeset<'d>, Error> {
        match self.0.pop() {
            Some(Value::Nodeset(ns)) => Ok(ns),
            Some(arg) => Err(Error::not_a_nodeset(&arg)),
            None => Ok(nodeset![context.node]),
        }
    }
fn pop_nodeset_or_context_node < ' c > ( & mut self , context : & context :: Evaluation < ' c , ' d > , ) -> Result < Nodeset < ' d > , Error > { match self . 0 . pop ( ) { Some ( Value :: Nodeset ( ns ) ) => Ok ( ns ) , Some ( arg ) => Err ( Error :: not_a_nodeset ( & arg ) ) , None => Ok ( nodeset ! [ context node ] ) , } }
Removes the **last** argument if it is a nodeset.
Removes the ** last ** argument if it is a nodeset .
&mut self
context
&context::Evaluation<'c, 'd>