9 class Less_Tree_Assignment
extends Less_Tree
{
13 public $type = 'Assignment';
15 public function __construct($key, $val) {
20 public function accept( $visitor ){
21 $this->value
= $visitor->visitObj( $this->value
);
24 public function compile($env) {
25 return new Less_Tree_Assignment( $this->key
, $this->value
->compile($env));
29 * @see Less_Tree::genCSS
31 public function genCSS( $output ){
32 $output->add( $this->key
. '=' );
33 $this->value
->genCSS( $output );
36 public function toCss(){
37 return $this->key
. '=' . $this->value
->toCSS();