/** * @see Less_Tree::genCSS */ function genCSS($output) { $output->add($this->name, $this->currentFileInfo, $this->index); if ($this->rules) { Less_Tree::outputRuleset($output, $this->rules); } else { $output->add(' '); $this->value->genCSS($output); $output->add(';'); } }
/** * @see Less_Tree::genCSS */ public function genCSS($output) { $value = $this->value; $rules = $this->rules; $output->add($this->name, $this->currentFileInfo, $this->index); if ($this->value) { $output->add(' '); $this->value->genCSS($output); } if ($this->rules) { Less_Tree::outputRuleset($output, array($this->rules)); } else { $output->add(';'); } }
/** * @see Less_Tree::genCSS */ function genCSS($output) { $output->add('@media ', $this->currentFileInfo, $this->index); $this->features->genCSS($output); Less_Tree::outputRuleset($output, $this->rules); }