NAME
TPath::Selector::Test - role of selectors that apply some test to a node to select it
VERSION
version 1.002
DESCRIPTION
A TPath::Selector that holds a list of TPath::Predicates.
ATTRIBUTES
f
Reference to the associated forester for this test. This is used in obtaining the test axis.
axis
The axis on which nodes are sought; child
by default.
first_sensitive
Whether this this test may use a different axis depending on whether it is the first step in a path.
is_inverted
Whether the test corresponds to a complement selector.
node_test
The test that is applied to select candidates on an axis.
METHODS
candidates
Expects an TPath::Context and whether this is the first selector in its path and returns nodes selected before filtering by predicates.
ROLES
AUTHOR
David F. Houghton <dfhoughton@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by David F. Houghton.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.