You are here

private function lessc::propertyValue in Less CSS Preprocessor 6

Same name and namespace in other branches
  1. 6.3 lessphp/lessc.inc.php \lessc::propertyValue()

File

./lessc.inc.php, line 468

Class

lessc

Code

private function propertyValue(&$value) {
  $out = array();
  while (1) {
    try {
      $this
        ->expressionList($out[]);
      $this
        ->literal(',');
    } catch (exception $ex) {
      break;
    }
  }
  if (!empty($out)) {
    $out = array_map(array(
      $this,
      'compressValues',
    ), $out);
    $value = $this
      ->compressValues($out, ', ');
  }
  return $this;
}