pokemon-showdown-client/lib/css-sanitizer/Wikimedia/CSS/Grammar/NothingMatcher.php
2023-06-16 11:33:53 -07:00

21 lines
414 B
PHP

<?php
/**
* @file
* @license https://opensource.org/licenses/Apache-2.0 Apache-2.0
*/
namespace Wikimedia\CSS\Grammar;
use EmptyIterator;
use Wikimedia\CSS\Objects\ComponentValueList;
/**
* Matcher that matches nothing
*/
class NothingMatcher extends Matcher {
/** @inheritDoc */
protected function generateMatches( ComponentValueList $values, $start, array $options ) {
return new EmptyIterator;
}
}