| 
<?php/**
 * This file contains the CssParserFilter class.
 *
 * PHP Version 5.3
 *
 * @category Css
 * @package  CssParser
 * @author   Gonzalo Chumillas <[email protected]>
 * @license  https://raw2.github.com/soloproyectos/php.common-libs/master/LICENSE BSD 2-Clause License
 * @link     https://github.com/soloproyectos/php.common-libs
 */
 namespace com\soloproyectos\common\css\parser\filter;
 use \DOMElement;
 
 /**
 * Class CssParserFilter.
 *
 * This class represents a filter in a CSS expression.
 *
 * @category Css
 * @package  CssParser
 * @author   Gonzalo Chumillas <[email protected]>
 * @license  https://raw2.github.com/soloproyectos/php.common-libs/master/LICENSE BSD 2-Clause License
 * @link     https://github.com/soloproyectos/php.common-libs
 */
 abstract class CssParserFilter
 {
 /**
 * Does the node match?
 *
 * @param DOMElement $node     DOMElement object
 * @param integer    $position Node position
 * @param array      $items    List of nodes
 *
 * @return boolean
 */
 abstract public function match($node, $position, $items);
 }
 
 |