The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

TPath::Test::Node - role for tests determining whether a node has some property

VERSION

version 0.011

DESCRIPTION

TPath::Test::Node is the interface for objects testing whether a node has some property. It is not to be confused with TPath::Test. TPath::Test::Node implements the foo portion of //foo[@a or @b]. TPath::Test implements the @a or @b portion. Their tests have different signatures.

REQUIRED METHODS

passes

Expects a node and an index and returns whether the node passes its test.

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.