You are here

private function lessc::to in Less CSS Preprocessor 6

Same name and namespace in other branches
  1. 6.3 lessphp/lessc.inc.php \lessc::to()
2 calls to lessc::to()
lessc::import in ./lessc.inc.php
lessc::string in ./lessc.inc.php

File

./lessc.inc.php, line 737

Class

lessc

Code

private function to($what, &$out) {
  if (!$this
    ->match('(.*?)' . $this
    ->preg_quote($what), $m)) {
    throw new exception('parse error: failed to consume to ' . $what);
  }
  $out = $m[1];
  return $this;
}