[][src]Trait sxd_xpath_visitor::axis::AxisLike

pub trait AxisLike: Debug {
    pub fn select_nodes<'c, 'd>(
        &self,
        context: &Evaluation<'c, 'd>,
        node_test: &dyn NodeTest
    ) -> OrderedNodes<'d>; pub fn principal_node_type(&self) -> PrincipalNodeType { ... } }

A directed traversal of Nodes.

Required methods

pub fn select_nodes<'c, 'd>(
    &self,
    context: &Evaluation<'c, 'd>,
    node_test: &dyn NodeTest
) -> OrderedNodes<'d>
[src]

Applies the given node test to the nodes selected by this axis, adding matching nodes to the nodeset.

Loading content...

Provided methods

pub fn principal_node_type(&self) -> PrincipalNodeType[src]

Describes what node type is naturally selected by this axis.

Loading content...

Implementors

impl AxisLike for Axis[src]

Loading content...