CSS::SAC::Condition::Positional - SAC PositionalConditions
see CSS::SAC::Condition
This is a subclass of CSS::SAC::Condition, look there for more documentation. This class adds the following methods (the spec equivalents are available as well, just prepend 'get'):
CSS::SAC::Condition::Positional->new($type,$pos,$node_type,$same_type)
$cond->new($type,$pos,$node_type,$same_type)
Creates a new positional condition.
$pcond->Position([$pos])
get/set the condition's position
$pcond->Type([$bool])
get/set the condition's type constraint
$pcond->TypeNode([$bool])
get/set the condition's node type constraint
Robin Berjon <robin@knowscape.com>
This module is licensed under the same terms as Perl itself.
To install CSS::SAC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CSS::SAC
CPAN shell
perl -MCPAN -e shell install CSS::SAC
For more information on module installation, please visit the detailed CPAN module installation guide.