Lines Matching refs:throwError
221 $block->parser->throwError("unknown block type: $block->type\n", $block->count);
662 $this->throwError("Failed to assign arg " . $a[1]);
726 $this->throwError("Unknown arg type: " . $arg[0]);
733 $block->parser->throwError("{$prop[1][0]} is undefined", $block->count);
824 $block->parser->throwError("unknown op: {$prop[0]}\n", $block->count);
900 $this->throwError("unknown value type: $value[0]");
1051 $this->throwError("color expected for rgbahex");
1103 $this->throwError("unrecognised input");
1283 $this->throwError("mix expects (color1, color2, weight)");
1364 if (is_null($color)) $this->throwError($error);
1370 $this->throwError($error);
1377 if ($value[0] !== "list" || $value[1] != ",") $this->throwError("expecting list");
1385 $this->throwError("{$name}expecting $expectedArgs arguments, got $numValues");
1393 if ($value[0] !== "list" || $value[1] != ",") $this->throwError("expecting list");
1401 … $this->throwError("{$name}expecting at least $expectedMinArgs arguments, got $numValues");
1568 $this->throwError("infinite loop detected: $key");
1845 $this->throwError( "Cannot convert {$from} to {$to}" );
1891 if ($rval == 0) $this->throwError("evaluate error: can't divide by zero");
1895 $this->throwError('evaluate error: color op number failed on op '.$op);
1904 $this->throwError('color expected for red()');
1913 $this->throwError('color expected for green()');
1922 $this->throwError('color expected for blue()');
1948 if ($right[1] == 0) $this->throwError('parse error: divide by zero');
1960 $this->throwError('parse error: unknown number operator: '.$op);
2053 $this->throwError("variable $name is undefined");
2334 public function throwError($msg = null) { function in lessc
2336 $this->sourceParser->throwError($msg, $this->sourceLoc);
2615 $this->throwError();
2772 $this->throwError($e->getMessage());
3330 $this->throwError("Cannot mix ; and , as delimiter types");
3338 $this->throwError("Unexpected rest before semicolon");
3802 public function throwError($msg = "parse error", $count = null) { function in lessc_parser