%PDF- %PDF-
Direktori : /home/q/g/b/qgbqkvz/www/wp-content/plugins/wp-scss/scssphp/src/Visitor/ |
Current File : /home/q/g/b/qgbqkvz/www/wp-content/plugins/wp-scss/scssphp/src/Visitor/SelectorVisitor.php |
<?php /** * SCSSPHP * * @copyright 2012-2020 Leaf Corcoran * * @license http://opensource.org/licenses/MIT MIT * * @link http://scssphp.github.io/scssphp */ namespace ScssPhp\ScssPhp\Visitor; use ScssPhp\ScssPhp\Ast\Selector\AttributeSelector; use ScssPhp\ScssPhp\Ast\Selector\ClassSelector; use ScssPhp\ScssPhp\Ast\Selector\ComplexSelector; use ScssPhp\ScssPhp\Ast\Selector\CompoundSelector; use ScssPhp\ScssPhp\Ast\Selector\IDSelector; use ScssPhp\ScssPhp\Ast\Selector\ParentSelector; use ScssPhp\ScssPhp\Ast\Selector\PlaceholderSelector; use ScssPhp\ScssPhp\Ast\Selector\PseudoSelector; use ScssPhp\ScssPhp\Ast\Selector\SelectorList; use ScssPhp\ScssPhp\Ast\Selector\TypeSelector; use ScssPhp\ScssPhp\Ast\Selector\UniversalSelector; /** * An interface for visitors that traverse selectors. * * @internal * * @template T */ interface SelectorVisitor { /** * @return T */ public function visitAttributeSelector(AttributeSelector $attribute); /** * @return T */ public function visitClassSelector(ClassSelector $klass); /** * @return T */ public function visitComplexSelector(ComplexSelector $complex); /** * @return T */ public function visitCompoundSelector(CompoundSelector $compound); /** * @return T */ public function visitIDSelector(IDSelector $id); /** * @return T */ public function visitParentSelector(ParentSelector $parent); /** * @return T */ public function visitPlaceholderSelector(PlaceholderSelector $placeholder); /** * @return T */ public function visitPseudoSelector(PseudoSelector $pseudo); /** * @return T */ public function visitSelectorList(SelectorList $list); /** * @return T */ public function visitTypeSelector(TypeSelector $type); /** * @return T */ public function visitUniversalSelector(UniversalSelector $universal); }