1<?php 2namespace PhpCss\Ast\Selector { 3 4 use PhpCss\Ast; 5 6 abstract class Combinator extends Ast\Selector { 7 8 public $sequence; 9 10 public function __construct(Sequence $sequence = NULL) { 11 $this->sequence = $sequence; 12 } 13 14 public function accept(Ast\Visitor $visitor): void { 15 $visitor->visitEnter($this); 16 $visitor->visit($this); 17 $this->sequence->accept($visitor); 18 $visitor->visitLeave($this); 19 } 20 } 21} 22