qrcode.chapril.org/vendor/wikimedia/less.php/lib/Less/Tree/Javascript.php

27 lines
506 B
PHP
Raw Normal View History

2021-02-15 21:29:38 +01:00
<?php
/**
2023-07-07 22:33:10 +02:00
* @private
2021-02-15 21:29:38 +01:00
*/
class Less_Tree_Javascript extends Less_Tree {
public $type = 'Javascript';
public $escaped;
public $expression;
public $index;
/**
2023-07-07 22:33:10 +02:00
* @param bool $index
* @param bool $escaped
2021-02-15 21:29:38 +01:00
*/
public function __construct( $string, $index, $escaped ) {
$this->escaped = $escaped;
$this->expression = $string;
$this->index = $index;
}
2023-07-07 22:33:10 +02:00
public function compile( $env ) {
2021-02-15 21:29:38 +01:00
return new Less_Tree_Anonymous( '/* Sorry, can not do JavaScript evaluation in PHP... :( */' );
}
}