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

27 lines
534 B
PHP

<?php
/**
* @private
*/
class Less_Tree_RulesetCall extends Less_Tree {
public $variable;
public $type = "RulesetCall";
/**
* @param string $variable
*/
public function __construct( $variable ) {
$this->variable = $variable;
}
public function accept( $visitor ) {
}
public function compile( $env ) {
$variable = new Less_Tree_Variable( $this->variable );
$detachedRuleset = $variable->compile( $env );
'@phan-var Less_Tree_DetachedRuleset $detachedRuleset';
return $detachedRuleset->callEval( $env );
}
}