/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { $this->combinator = $visitor->visit($this->combinator); if (is_object($this->value)) { $this->value = $visitor->visit($this->value); } }
/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { if ($this->features) { $this->features = $visitor->visit($this->features); } $this->rules = $visitor->visitArray($this->rules); }
/** * {@inheritdoc} */ public function accept(VisitorInterface $visitor) { if ($this->selector) { $this->selector = $visitor->visit($this->selector); } if ($this->arguments) { $this->arguments = $visitor->visitArray($this->arguments); } }
/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { $this->elements = $visitor->visitArray($this->elements); $this->extendList = $visitor->visitArray($this->extendList); if ($this->condition) { $this->condition = $visitor->visit($this->condition); } }
/** * {@inheritdoc} */ public function accept(VisitorInterface $visitor) { if ($this->paths) { $visitor->visitArray($this->paths, true); } elseif ($this->selectors) { $this->selectors = $visitor->visitArray($this->selectors); } if ($this->rules) { $this->rules = $visitor->visitArray($this->rules); } }
/** * {@inheritdoc} */ public function accept(VisitorInterface $visitor) { if ($this->params) { $this->params = $visitor->visitArray($this->params); } $this->rules = $visitor->visitArray($this->rules); if ($this->condition) { $this->condition = $visitor->visit($this->condition); } }
/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { $this->value = $visitor->visit($this->value); }
/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { if ($this->args) { $this->args = $visitor->visitArray($this->args); } }
/** * {@inheritdoc} */ public function accept(VisitorInterface $visitor) { $this->ruleset = $visitor->visit($this->ruleset); }
/** * {@inheritdoc} */ public function accept(VisitorInterface $visitor) { if ($this->rules) { $this->rules = $visitor->visitArray($this->rules); } if ($this->value) { $this->value = $visitor->visit($this->value); } }
/** * {@inheritdoc} */ public function accept(VisitorInterface $visitor) { $this->operands = $visitor->visit($this->operands); }
/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { $this->selector = $visitor->visit($this->selector); }
/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { if ($this->features) { $this->features = $visitor->visit($this->features); } $this->path = $visitor->visit($this->path); if (!$this->getOption('plugin') && !$this->getOption('inline') && $this->root) { $this->root = $visitor->visit($this->root); } }
/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { $this->unit = $visitor->visit($this->unit); }