You are here

function lessc::end in Less CSS Preprocessor 6.3

Same name and namespace in other branches
  1. 6 lessc.inc.php \lessc::end()
1 call to lessc::end()
lessc::chunk in lessphp/lessc.inc.php

File

lessphp/lessc.inc.php, line 693

Class

lessc

Code

function end() {
  if ($this
    ->literal(';')) {
    return true;
  }
  elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') {

    // if there is end of file or a closing block next then we don't need a ;
    return true;
  }
  return false;
}