Lines Matching refs:scope
73 protected ?stdClass $scope = null; variable in LesserPHP\\Lessc
114 $this->scope = null;
134 $this->formatter->block($this->scope);
500 $this->scope->children[] = $out;
503 $block->scope = $env; // mixins carry scope with them!
513 $parentScope = $this->mediaParent($this->scope);
517 $this->scope = $this->makeOutputBlock($media->type, [$query]);
518 $parentScope->children[] = $this->scope;
520 $this->compileProps($media, $this->scope);
522 if (count($this->scope->lines) > 0) {
526 $orphan->lines = $this->scope->lines;
527 array_unshift($this->scope->children, $orphan);
528 $this->scope->lines = [];
532 $this->scope = $this->scope->parent;
536 protected function mediaParent($scope) argument
538 while (!empty($scope->parent)) {
539 if (!empty($scope->type) && $scope->type != 'media') {
542 $scope = $scope->parent;
545 return $scope;
554 $this->scope = $this->makeOutputBlock($block->type, $selectors);
555 $this->scope->parent->children[] = $this->scope;
557 $this->compileProps($block, $this->scope);
559 $this->scope = $this->scope->parent;
569 $this->scope = $this->makeOutputBlock($root->type);
570 $this->compileProps($root, $this->scope);
1073 if (isset($mixin->parent->scope)) {
1076 $mixinParentEnv->storeParent = $mixin->parent->scope;
1625 $b->parent = $this->scope;