Lines Matching refs:out

99 	protected function tryImport($importPath, $parentBlock, $out) {  argument
152 $this->compileImportedProps($top, $parentBlock, $out, $parser, $dir);
157 protected function compileImportedProps($props, $block, $out, $sourceParser, $importDir) { argument
167 $this->compileProp($prop, $block, $out);
224 $out = $this->makeOutputBlock(null, $env->selectors);
226 $this->scope->children[] = $out;
227 $this->compileProps($block, $out);
287 protected function compileProps($block, $out) { argument
289 $this->compileProp($prop, $block, $out);
291 $out->lines = $this->deduplicate($out->lines);
389 $out = "@media";
391 $out .= " " .
394 return $out;
409 $out = array();
412 $out = $queries;
416 $out[] = array_merge($parent, $child);
421 return $this->multiplyMedia($env->parent, $out);
464 $out = array();
471 $out[] = trim($child);
473 $out[] = trim($parent . ' ' . $child);
478 return $out;
483 $out = array();
488 $out[] = trim($this->compileValue($this->reduce($value)));
490 $out[] = $s;
494 return $out;
681 protected function compileProp($prop, $block, $out) { argument
691 $out->lines[] = $this->formatter->property($name,
769 $this->compileProp($subProp, $mixin, $out);
780 $out->lines[] = $prop[1];
784 $out->lines[] = "@$name " . $this->compileValue($this->reduce($value)).';';
787 $out->lines[] = $prop[1];
797 $result = $this->tryImport($importPath, $block, $out);
809 $out->lines[] = $import[1];
813 $this->compileImportedProps($bottom, $block, $out, $parser, $importDir);
1426 $out = array('hsl',
1432 if (count($color) > 4) $out[] = $color[4]; // copy alpha
1433 return $out;
1473 $out = array('color', $r*255, $g*255, $b*255);
1474 if (count($color) > 4) $out[] = $color[4]; // copy alpha
1475 return $out;
1566 $out = $this->reduce($this->get($key));
1568 return $out;
1742 $out = $this->$fname($op, $left, $right);
1743 if (!is_null($out)) return $out;
1866 $out = array('color');
1873 $out[] = $lval + $rval;
1876 $out[] = $lval - $rval;
1879 $out[] = $lval * $rval;
1882 $out[] = $lval % $rval;
1886 $out[] = $lval / $rval;
1892 return $this->fixColor($out);
2099 $out = ob_get_clean();
2101 return $out;
2118 $out = $this->compile(file_get_contents($fname), $fname);
2123 return file_put_contents($outFname, $out);
2126 return $out;
2133 * @param string $out
2138 public function checkedCachedCompile($in, $out, $force = false) { argument
2142 if (is_dir($out) || !is_writable(file_exists($out) ? $out : dirname($out))) {
2146 $outMeta = $out . '.meta';
2157 file_put_contents($out, $css);
2160 $css = file_get_contents($out);
2167 public function checkedCompile($in, $out) { argument
2168 if (!is_file($out) || filemtime($in) > filemtime($out)) {
2169 $this->compileFile($in, $out);
2225 $out = array();
2226 $out['root'] = $root;
2227 $out['compiled'] = $this->compileFile($root);
2228 $out['files'] = $this->allParsedFiles();
2229 $out['updated'] = time();
2230 return $out;
2257 $out = $this->compileFile($this->_parseFile);
2259 $out = $this->compile($str);
2263 return $out;
2337 public static function ccompile($in, $out, $less = null) { argument
2341 return $less->checkedCompile($in, $out);
2840 protected function expression(&$out) { argument
2842 $out = $this->expHelper($lhs, 0);
2849 $out = array("list", "",
2850 array($out, array("keyword", "/"), $rhs));
2934 protected function parenValue(&$out) { argument
2947 $out = $exp;
3014 protected function import(&$out) { argument
3022 $out = array("import", $value);
3027 protected function mediaQueryList(&$out) { argument
3029 $out = $list[2];
3035 protected function mediaQuery(&$out) { argument
3064 $out = $parts;
3068 protected function mediaExpression(&$out) { argument
3076 $out = array("mediaExp", $feature);
3077 if ($value) $out[] = $value;
3080 $out = array('variable', $variable);
3089 protected function openString($end, &$out, $nestingOpen=null, $rejectStrs = null) { argument
3152 $out = array("string", "", $content);
3156 protected function stringValue(&$out) { argument
3199 $out = array("string", $delim, $content);
3207 protected function interpolation(&$out) { argument
3216 $out = array("interpolate", $interp);
3242 protected function color(&$out) { argument
3245 $out = array("string", "", array($m[1]));
3247 $out = array("raw_color", $m[1]);
3692 protected function genericList(&$out, $parseItem, $delim="", $flatten=true) { argument
3708 $out = $items[0];
3710 $out = array("list", $delim, $items);
3720 protected function to($what, &$out, $until = false, $allowNewline = false) { argument
3728 $out = $m[1];
3733 protected function match($regex, &$out, $eatWhitespace = null) { argument
3737 if (preg_match($r, $this->buffer, $out, null, $this->count)) {
3738 $this->count += strlen($out[0]);
3765 protected function peek($regex, &$out = null, $from=null) { argument
3768 $result = preg_match($r, $this->buffer, $out, null, $from);
3852 $out = '';
3893 $out .= substr($text, 0, $count).str_repeat("\n", $newlines);
3899 return $out.$text;