logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Tree::XPathEngine::Step - implements a step in an XPath location path

Methods

       These methods should probably not be called from outside of Tree::XPathEngine.

   new
       create the step

   evaluate$nodeset
       evaluate the step against a nodeset

   evaluate_node$node
       evaluate the step against a single node

   axismethods
       All these methods return the nodes along the chosen axis

       axis_ancestor =item axis_ancestor_or_self =item axis_attribute =item axis_child =item axis_descendant
       =item axis_descendant_or_self =item axis_following =item axis_following_sibling =item axis_parent =item
       axis_preceding =item axis_preceding_sibling =item axis_self

   node_test
       apply the node test to the nodes gathered by the axis method

   test_attribute
       test on attribute existence

   filter_by_predicate
       filter the results on a predicate

   as_string
       dump the step as a string

   as_xml
       dump the step as xml

Name

       Tree::XPathEngine::Step - implements a step in an XPath location path

Test Type Constants

       These constants are used in this package and in Tree::XPathEngine to describe the type of test in a step:

       test_name =item test_any =item test_attr_name =item test_attr_any =item test_nt_text =item test_nt_node

perl v5.36.0                                       2022-11-20                       Tree::XPathEngine::Step(3pm)

See Also