Lines Matching refs:env
76 protected $env; variable in lessc
226 $env = $this->pushEnv();
229 $env->selectors = $this->multiplySelectors($selectors);
230 $out = $this->makeOutputBlock(null, $env->selectors);
235 $block->scope = $env; // mixins carry scope with them!
240 $env = $this->pushEnv($media);
243 $query = $this->compileMediaQuery($this->multiplyMedia($env));
403 protected function multiplyMedia($env, $childQueries = null) { argument
404 if (is_null($env) ||
405 !empty($env->block->type) && $env->block->type != "media")
411 if (empty($env->block->type)) {
412 return $this->multiplyMedia($env->parent, $childQueries);
416 $queries = $env->block->queries;
427 return $this->multiplyMedia($env->parent, $out);
442 $env = $this->env;
444 while ($env !== null) {
445 if (isset($env->selectors)) {
446 $selectors = $env->selectors;
449 $env = $env->parent;
683 $this->env->arguments = $assignedValues + $orderedValues;
799 if (!isset($this->env->imports)) {
800 $this->env->imports = array();
805 $this->env->imports[$importId] = $result === false ?
812 $import = $this->env->imports[$importId];
1565 $seen =& $this->env->seenNames;
1982 $e->parent = $this->env;
1986 $this->env = $e;
1992 $old = $this->env;
1993 $this->env = $this->env->parent;
1999 $this->env->store[$name] = $value;
2005 $current = $this->env;
2090 $this->env = null;
2565 protected $env; variable in lessc_parser
2598 $this->env = null; // block stack
2618 if ( !property_exists($this->env, 'parent') || !is_null($this->env->parent) )
2621 return $this->env;
2789 $this->env->children[$tag][] = $block;
2863 if (!empty($this->env->supressedDivision)) {
2864 unset($this->env->supressedDivision);
2895 …if (!$this->inParens && isset($this->env->currentProperty) && $m[1] == "/" && empty($this->env->su…
2897 if (preg_match($pattern, $this->env->currentProperty)) {
2898 $this->env->supressedDivision = true;
2933 if ($keyName !== null) $this->env->currentProperty = $keyName;
2944 if ($keyName !== null) unset($this->env->currentProperty);
3824 $b->parent = $this->env;
3843 $this->env = $b;
3855 $this->env->props[] = $prop;
3860 $old = $this->env;
3861 $this->env = $this->env->parent;