qrcode.chapril.org-libreqr/vendor/wikimedia/less.php/lib/Less/Tree/Javascript.php
2023-07-07 22:33:10 +02:00

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... :( */' );
}
}