You are here

private function lessc::keyword in Less CSS Preprocessor 6

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

File

./lessc.inc.php, line 726

Class

lessc

Code

private function keyword(&$word) {
  if (!$this
    ->match('([\\w_\\-!"][\\w\\-_"]*)', $m)) {
    throw new Exception('parse error: failed to find keyword');
  }
  $word = $m[1];
  return $this;
}