Lines Matching refs:out
105 protected function tryImport($importPath, $parentBlock, $out) { argument
158 $this->compileImportedProps($top, $parentBlock, $out, $parser, $dir);
163 protected function compileImportedProps($props, $block, $out, $sourceParser, $importDir) { argument
173 $this->compileProp($prop, $block, $out);
230 $out = $this->makeOutputBlock(null, $env->selectors);
232 $this->scope->children[] = $out;
233 $this->compileProps($block, $out);
293 protected function compileProps($block, $out) { argument
295 $this->compileProp($prop, $block, $out);
297 $out->lines = $this->deduplicate($out->lines);
395 $out = "@media";
397 $out .= " " .
400 return $out;
415 $out = array();
418 $out = $queries;
422 $out[] = array_merge($parent, $child);
427 return $this->multiplyMedia($env->parent, $out);
470 $out = array();
477 $out[] = trim($child);
479 $out[] = trim($parent . ' ' . $child);
484 return $out;
489 $out = array();
494 $out[] = trim($this->compileValue($this->reduce($value)));
496 $out[] = $s;
500 return $out;
687 protected function compileProp($prop, $block, $out) { argument
697 $out->lines[] = $this->formatter->property($name,
775 $this->compileProp($subProp, $mixin, $out);
786 $out->lines[] = $prop[1];
790 $out->lines[] = "@$name " . $this->compileValue($this->reduce($value)).';';
793 $out->lines[] = $prop[1];
803 $result = $this->tryImport($importPath, $block, $out);
815 $out->lines[] = $import[1];
819 $this->compileImportedProps($bottom, $block, $out, $parser, $importDir);
1432 $out = array('hsl',
1438 if (count($color) > 4) $out[] = $color[4]; // copy alpha
1439 return $out;
1479 $out = array('color', $r*255, $g*255, $b*255);
1480 if (count($color) > 4) $out[] = $color[4]; // copy alpha
1481 return $out;
1572 $out = $this->reduce($this->get($key));
1574 return $out;
1748 $out = $this->$fname($op, $left, $right);
1749 if (!is_null($out)) return $out;
1872 $out = array('color');
1879 $out[] = $lval + $rval;
1882 $out[] = $lval - $rval;
1885 $out[] = $lval * $rval;
1888 $out[] = $lval % $rval;
1892 $out[] = $lval / $rval;
1898 return $this->fixColor($out);
2105 $out = ob_get_clean();
2107 return $out;
2124 $out = $this->compile(file_get_contents($fname), $fname);
2129 return file_put_contents($outFname, $out);
2132 return $out;
2139 * @param string $out
2144 public function checkedCachedCompile($in, $out, $force = false) { argument
2148 if (is_dir($out) || !is_writable(file_exists($out) ? $out : dirname($out))) {
2152 $outMeta = $out . '.meta';
2163 file_put_contents($out, $css);
2166 $css = file_get_contents($out);
2173 public function checkedCompile($in, $out) { argument
2174 if (!is_file($out) || filemtime($in) > filemtime($out)) {
2175 $this->compileFile($in, $out);
2231 $out = array();
2232 $out['root'] = $root;
2233 $out['compiled'] = $this->compileFile($root);
2234 $out['files'] = $this->allParsedFiles();
2235 $out['updated'] = time();
2236 return $out;
2263 $out = $this->compileFile($this->_parseFile);
2265 $out = $this->compile($str);
2269 return $out;
2343 public static function ccompile($in, $out, $less = null) { argument
2347 return $less->checkedCompile($in, $out);
2858 protected function expression(&$out) { argument
2860 $out = $this->expHelper($lhs, 0);
2867 $out = array("list", "",
2868 array($out, array("keyword", "/"), $rhs));
2952 protected function parenValue(&$out) { argument
2965 $out = $exp;
3032 protected function import(&$out) { argument
3040 $out = array("import", $value);
3045 protected function mediaQueryList(&$out) { argument
3047 $out = $list[2];
3053 protected function mediaQuery(&$out) { argument
3082 $out = $parts;
3086 protected function mediaExpression(&$out) { argument
3094 $out = array("mediaExp", $feature);
3095 if ($value) $out[] = $value;
3098 $out = array('variable', $variable);
3107 protected function openString($end, &$out, $nestingOpen=null, $rejectStrs = null) { argument
3170 $out = array("string", "", $content);
3174 protected function stringValue(&$out) { argument
3217 $out = array("string", $delim, $content);
3225 protected function interpolation(&$out) { argument
3234 $out = array("interpolate", $interp);
3260 protected function color(&$out) { argument
3263 $out = array("string", "", array($m[1]));
3265 $out = array("raw_color", $m[1]);
3712 protected function genericList(&$out, $parseItem, $delim="", $flatten=true) { argument
3728 $out = $items[0];
3730 $out = array("list", $delim, $items);
3740 protected function to($what, &$out, $until = false, $allowNewline = false) { argument
3748 $out = $m[1];
3753 protected function match($regex, &$out, $eatWhitespace = null) { argument
3757 if (preg_match($r, $this->buffer, $out, 0, $this->count)) {
3758 $this->count += strlen($out[0]);
3785 protected function peek($regex, &$out = null, $from=null) { argument
3788 $result = preg_match($r, $this->buffer, $out, 0, $from);
3872 $out = '';
3913 $out .= substr($text, 0, $count).str_repeat("\n", $newlines);
3919 return $out.$text;