Lines Matching refs:scope
77 protected $scope; variable in lessc
232 $this->scope->children[] = $out;
235 $block->scope = $env; // mixins carry scope with them!
241 $parentScope = $this->mediaParent($this->scope);
245 $this->scope = $this->makeOutputBlock($media->type, array($query));
246 $parentScope->children[] = $this->scope;
248 $this->compileProps($media, $this->scope);
250 if (count($this->scope->lines) > 0) {
254 $orphan->lines = $this->scope->lines;
255 array_unshift($this->scope->children, $orphan);
256 $this->scope->lines = array();
260 $this->scope = $this->scope->parent;
264 protected function mediaParent($scope) { argument
265 while (!empty($scope->parent)) {
266 if (!empty($scope->type) && $scope->type != "media") {
269 $scope = $scope->parent;
272 return $scope;
277 $this->scope = $this->makeOutputBlock($block->type, $selectors);
278 $this->scope->parent->children[] = $this->scope;
280 $this->compileProps($block, $this->scope);
282 $this->scope = $this->scope->parent;
288 $this->scope = $this->makeOutputBlock($root->type);
289 $this->compileProps($root, $this->scope);
747 if (isset($mixin->parent->scope)) {
750 $mixinParentEnv->storeParent = $mixin->parent->scope;
1975 $b->parent = $this->scope;
2091 $this->scope = null;
2104 $this->formatter->block($this->scope);