NAME

TPath::Test - interface of conditional expressions in predicates

VERSION

version 1.007

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.

ROLES

TPath::Stringifiable

REQUIRED METHODS

test

Takes a TPath::Context 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.