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

NAME

TPath::Test - interface of conditional expressions in predicates

VERSION

version 0.011

DESCRIPTION

Interface of objects expressing tests in predicate expressions. E.g., the @a or @b in //foo[@a or @b]. Not to be confused with TPath::Test::Node, which is used to implement the foo portion of this expression.

REQUIRED METHODS

test

Takes a node, an index, and a collection of nodes and returns whether the node passes the predicate.

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.