コード例 #1
0
ファイル: MediaNode.php プロジェクト: jxav/iless
 /**
  * @inheritdoc
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->features) {
         $this->features = $visitor->visit($this->features);
     }
     $this->rules = $visitor->visitArray($this->rules);
 }
コード例 #2
0
ファイル: MixinCallNode.php プロジェクト: mishal/iless
 /**
  * {@inheritdoc}
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->selector) {
         $this->selector = $visitor->visit($this->selector);
     }
     if ($this->arguments) {
         $this->arguments = $visitor->visitArray($this->arguments);
     }
 }
コード例 #3
0
ファイル: SelectorNode.php プロジェクト: jxav/iless
 /**
  * @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);
     }
 }
コード例 #4
0
ファイル: RulesetNode.php プロジェクト: mishal/iless
 /**
  * {@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);
     }
 }
コード例 #5
0
ファイル: MixinDefinitionNode.php プロジェクト: mishal/iless
 /**
  * {@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);
     }
 }
コード例 #6
0
ファイル: CallNode.php プロジェクト: jxav/iless
 /**
  * @inheritdoc
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->args) {
         $this->args = $visitor->visitArray($this->args);
     }
 }
コード例 #7
0
ファイル: DirectiveNode.php プロジェクト: mishal/iless
 /**
  * {@inheritdoc}
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->rules) {
         $this->rules = $visitor->visitArray($this->rules);
     }
     if ($this->value) {
         $this->value = $visitor->visit($this->value);
     }
 }
コード例 #8
0
ファイル: ExpressionNode.php プロジェクト: jxav/iless
 /**
  * @inheritdoc
  */
 public function accept(VisitorInterface $visitor)
 {
     $this->value = $visitor->visitArray($this->value);
 }