NAME

CSS::SAC::Condition::Positional - SAC PositionalConditions

SYNOPSIS

see CSS::SAC::Condition

DESCRIPTION

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'):

METHODS

  • 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

AUTHOR

Robin Berjon <robin@knowscape.com>

This module is licensed under the same terms as Perl itself.