27 lines
506 B
PHP
27 lines
506 B
PHP
<?php
|
|
/**
|
|
* @private
|
|
*/
|
|
class Less_Tree_Javascript extends Less_Tree {
|
|
|
|
public $type = 'Javascript';
|
|
public $escaped;
|
|
public $expression;
|
|
public $index;
|
|
|
|
/**
|
|
* @param bool $index
|
|
* @param bool $escaped
|
|
*/
|
|
public function __construct( $string, $index, $escaped ) {
|
|
$this->escaped = $escaped;
|
|
$this->expression = $string;
|
|
$this->index = $index;
|
|
}
|
|
|
|
public function compile( $env ) {
|
|
return new Less_Tree_Anonymous( '/* Sorry, can not do JavaScript evaluation in PHP... :( */' );
|
|
}
|
|
|
|
}
|