You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
542 B
30 lines
542 B
<?php
|
|
|
|
/**
|
|
* Javascript
|
|
*
|
|
* @package Less
|
|
* @subpackage tree
|
|
*/
|
|
class Less_Tree_Javascript extends Less_Tree{
|
|
|
|
public $type = 'Javascript';
|
|
public $escaped;
|
|
public $expression;
|
|
public $index;
|
|
|
|
/**
|
|
* @param boolean $index
|
|
* @param boolean $escaped
|
|
*/
|
|
public function __construct($string, $index, $escaped){
|
|
$this->escaped = $escaped;
|
|
$this->expression = $string;
|
|
$this->index = $index;
|
|
}
|
|
|
|
public function compile(){
|
|
return new Less_Tree_Anonymous('/* Sorry, can not do JavaScript evaluation in PHP... :( */');
|
|
}
|
|
|
|
}
|
|
|