You are here

private function lessc::tags in Less CSS Preprocessor 6

Same name and namespace in other branches
  1. 6.3 lessphp/lessc.inc.php \lessc::tags()
1 call to lessc::tags()
lessc::readChunk in ./lessc.inc.php

File

./lessc.inc.php, line 421

Class

lessc

Code

private function tags(&$tags, $simple = false, $delim = ',') {
  $tags = array();
  while (1) {
    $this
      ->tag($tmp, $simple);
    $tags[] = trim($tmp);
    try {
      $this
        ->literal($delim);
    } catch (Exception $ex) {
      break;
    }
  }
  return $this;
}